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

nRF51 messes with advertising data in connectable mode

I am setting some manufacturer specific data to broadcast using sd_ble_gap_adv_data_set().

The data gets sent out perfectly when the advertising mode is BLE_GAP_ADV_TYPE_ADV_NONCONN_IND.

Whenever I switch the mode to BLE_GAP_ADV_TYPE_ADV_IND because I want my device to be connectable though, the chip starts to mix its own data into the advertisement.

The result is my set data being send out along with the chips data.


This is the data that I want to get send:

04 3E 18 02 01 00 01 FC FF A0 C3 45 F8 0C 0B FF FF FF 01 01 00 00 00 00 00 7D B5

This is the data the chip sends by its own:

04 3E 0C 02 01 04 01 FC FF A0 C3 45 F8 00 B7

Is there any adjustment in the data I need to make?

How to do that?

Can I tell the SD not to interfere with my advertisement?

Related