NordicPlayground / nRF51-multi-role-conn-observer-advertiser

Runs an Observer or Advertiser role (timeslot API) with a Connection. Provides a HCI interface to the Observer and Advertiser. Advertiser provides SCAN REQs back to application.
42 stars 25 forks source link

Advertiser data race condition #1

Open trond-snekvik opened 10 years ago

trond-snekvik commented 10 years ago

When advertisement data is updated during advertisement, the advertiser might get some race condition with the radio packet pointer. The updated data should be stored in a buffer until it is safe to change the data the radio packet pointer accesses (for example at end of advertisement event). This problem also exists with the address.