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

BLE radio notification clarification

Hi all,

I am currently developing a firmware on an nRF51422 which supports ANT communication with softdevice S210 and that lights up WS2812 LEDs (or Neopixels). To light the Neopixels, I use the code provided by Lava here In order for the LEDs to be lit correctly while communicating via ANT protocol, I need to use the ble_radio_notification_init and specify and callback where the command is sent to the LEDs.

I do not understand how this ble_radio_notification_init works. I looked at the doc in the Nordic Infocenter but I still do not get it. Does it make sure that the command is not interrupted by an ANT event? How does it work?

Thank you for your help

Parents
  • Alex,

    That code is for the S110 Softdevice which can only be used as a Bluetooth LE slave. There is no ANT+ functionality in that Softdevice.

    As such, that function is Bluetooth specific and will not work for your ANT+ implementation.

    Can you clarify if you need both ANT+ AND Bluetooth? Which ANT+ events do you intend to have control your LEDs?

Reply
  • Alex,

    That code is for the S110 Softdevice which can only be used as a Bluetooth LE slave. There is no ANT+ functionality in that Softdevice.

    As such, that function is Bluetooth specific and will not work for your ANT+ implementation.

    Can you clarify if you need both ANT+ AND Bluetooth? Which ANT+ events do you intend to have control your LEDs?

Children
No Data
Related