Radio Notification Event Handler

nRF5 SDK v16.0.0

Module for propagating Radio Notification events to the application. More...

Typedefs

typedef void(* ble_radio_notification_evt_handler_t )(bool radio_active)
Application radio notification event handler type.

Functions

uint32_t ble_radio_notification_init (uint32_t irq_priority, uint8_t distance, ble_radio_notification_evt_handler_t evt_handler)
Function for initializing the Radio Notification module. More...

Detailed Description

Module for propagating Radio Notification events to the application.

Function Documentation

uint32_t ble_radio_notification_init ( uint32_t irq_priority ,
uint8_t distance ,
ble_radio_notification_evt_handler_t evt_handler
)

Function for initializing the Radio Notification module.

Parameters
[in] irq_priority Interrupt priority for the Radio Notification interrupt handler.
[in] distance The time from an Active event until the radio is activated.
[in] evt_handler Handler to be executed when a radio notification event has been received.
Returns
NRF_SUCCESS on successful initialization, otherwise an error code.