I'm working on a simple tag project using the CC2540 keyfob in broadcaster mode. I've figure out how to dynamically change the advertising data whenever I press the left button on the fob, however I'd like to be able to call my update function without touching the device.
For that, I'd like to be able to call the update whenever a scan request is received. But I can't seem to figure out what event/callback is thrown when a scan happens and the scan response data is sent. Can anyone help me out?
Cheers