This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF Connect Updated app - Not showing real Advertising data but default as FFFFFFF...

I can see for the same device on Android nRFconnect that the serial number in advertising data can be seen as here -->

The same device at same time on my iphone X with up to date nRF connect app shows FFFFFF...... -->

I am confused as to what is going on. The above two screenshots are from two phones at the same time but I'm using a nRF52DK.

Strangely I have a different custom board with same nRF52840 chip and I can see the data clearly advertised at same time. You can see this device in last pic above with 0xBA9999999995 in advertisement packet. All my devices use standard beacon and not ibeacon.

Please advise.

Parents
  • Hi, 

    It seems like when you did not set a company identifier then it is filled with whatever was in the memory at the time of the initialization of 

    ble_advdata_manuf_data_t manuf_specific_data;

    You will see that you after the initialization of manuf_specific_data type the line:

    memset(&manuf_specific_data, 0, sizeof(your_manuf_specific_data));

    The two first bytes will be 0x00.

    What do you want to do? Do you want to exclude the company identifier completely? What SDK do you use?

    You could take a look at the advertising_init() in the Beacon Transmitter Sample Application example.

    -Amanda H.

Reply
  • Hi, 

    It seems like when you did not set a company identifier then it is filled with whatever was in the memory at the time of the initialization of 

    ble_advdata_manuf_data_t manuf_specific_data;

    You will see that you after the initialization of manuf_specific_data type the line:

    memset(&manuf_specific_data, 0, sizeof(your_manuf_specific_data));

    The two first bytes will be 0x00.

    What do you want to do? Do you want to exclude the company identifier completely? What SDK do you use?

    You could take a look at the advertising_init() in the Beacon Transmitter Sample Application example.

    -Amanda H.

Children
Related