This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to get a notification of ble event

Hi,

I want to get a notification when the BLE event is started, in order to start a timer just after. How can I get that?

I want to clarify my question : My board is acting like a broadcaster. Every second, it emits by BLE communication a packet by interruption. And there is a sniffer. I want to turn on a led, each time a packet is received by the sniffer.

Thanks

Parents
  • thank you for you answer! I am using "softdevice_ble_evt_handler_set()", but it is not working. What i am trying to do is to turn on a led, every time there is a BLE communication interruption.

    Solution found: [https://devzone.nordicsemi.com/question/21796/is-there-a-way-to-detect-or-be-notified-when-an-advertisment-is-about-to-be-sent/]

Reply
  • thank you for you answer! I am using "softdevice_ble_evt_handler_set()", but it is not working. What i am trying to do is to turn on a led, every time there is a BLE communication interruption.

    Solution found: [https://devzone.nordicsemi.com/question/21796/is-there-a-way-to-detect-or-be-notified-when-an-advertisment-is-about-to-be-sent/]

Children
Related