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

random target address

I'm interested in advertising with data type 0x18 random target address. I found a post for advertising with 0xFF manufacturer specific data. What changes are necessary for the random target address? I'm using the nRF51822.

  • This is not currently supported by the SDK ble_advdata module, but you should be able to modify it fairly easily to add such support if you need it. Another option is to just not use ble_advdata at all, and instead hand-code your advertisement and scan response packets and pass them directly to sd_ble_gap_adv_data_set().

    However, I'm not sure that a Central device will actually use or even look at this field. It seems that for example iOS will filter this field and not even give it to the application, but I don't know how other platforms behave.

    Edit: Add link to iOS discussion.

Related