2015-10-20 12:05 AM
Hello.
I set public address with the following command:Data: Data[0] = 0; Data[1] = 6; Data[2] = OWN_ADDRESS[0]; Data[3] = OWN_ADDRESS[1]; Data[4] = OWN_ADDRESS[2]; Data[5] = OWN_ADDRESS[3]; Data[6] = OWN_ADDRESS[4]; Data[7] = OWN_ADDRESS[5];Header: Header[0] = 0x01; Header[1] = 0x0C; Header[2] = 0xFC; Header[3] = 8;In one batch of bluenrg in response returns 04 0E 04 01 0C FC 00. ie all right.Another batch of bluenrg in response returns 02 00 00 00 00 - Unexpected answer. Similar problems arise with the command aci_hal_set_tx_power_level.All the other commands are working there and there are equally.Sorry for my English. Please help. #bluenrg-public-address-tx-power2015-10-22 07:51 AM
Dear customer,
in the raw packet 02 00 00 00 00 , the first 02 should indicate an ACL Data Type packect. Kindly, Could you try to use a BlueNRG device belong to this batch by the GUI DK? Regards, GM2015-10-23 05:01 AM
Good day!
I am not working with GUI DK because it not supported STM8 by default.I ported sample code of STM32 to STM8 by IAR IDE. After that I made command aci_hal_write_config_data and got 2 different result for bluenrg.Sometimes it returns 04 0E 04 01 0C FC 00 but another one bluenrg returns 02 00 00 00 00.For command aci_hal_set_tx_power_level I receive similar error.All other commands working properly.Can you advice?2015-11-26 02:34 PM
Thank you, colleagues, that allowed me to deal with this problem.
The problem was resolved after the update stack to version 6.4.