2 Replies Latest reply on Jan 24, 2017 2:08 AM by madhul_36

    BLE advertise event


      Would there be a BLE event that gets generated right before an advertisement packet is transmitted?


      I have some data that I would like to broadcast in the advertising packet. I know how to dynamically update the advertising packet with manufacturer-specific data. However, change in data is quite fast when compared to the advertising interval and I would like to reduce the delay of the data as much as possible. The best way to achieve this would be to update the advertising packet just before the packet is transmitted and hence my question on whether there is a BLE event that can be used for this purpose.


      Currently, I am updating the advertising packet in a timer interrupt that is executed sufficiently fast for my needs. While it works, this seems very inefficient and I may need the extra timer later.


      Thank you.