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

Is it possible to disable adv_flags sending in advertising packets.

I would like to have 31 bytes for my own in advertising and so far I have disabled everything except adv_flags (it still takes 3 bytes cause of length, AD type and value). Is it also possible to disable flag sending ?

Parents
  • Check the Bluetooth spec, Volume 3, Part C (Generic Access Protocol), section 9.2. That describes each of the modes of advertising and for general and limited it requires that the flags are included. So no you can't leave them out.

    Nordic's ble_advdata module kindly checks for this and gives an invalid parameter if you try. You can use the whole of the scan data however.

Reply
  • Check the Bluetooth spec, Volume 3, Part C (Generic Access Protocol), section 9.2. That describes each of the modes of advertising and for general and limited it requires that the flags are included. So no you can't leave them out.

    Nordic's ble_advdata module kindly checks for this and gives an invalid parameter if you try. You can use the whole of the scan data however.

Children
No Data
Related