cancel
Showing results for 
Search instead for 
Did you mean: 

Bluenrg public address and tx power level set commad no response

toppot2009
Associate II
Posted on October 20, 2015 at 09:05

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-power
3 REPLIES 3
Posted on October 22, 2015 at 16:51

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,

GM

toppot2009
Associate II
Posted on October 23, 2015 at 14:01

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?

toppot2009
Associate II
Posted on November 26, 2015 at 23:34

Thank you, colleagues, that allowed me to deal with this problem.

The problem was resolved after the update stack to version 6.4.