Skip to main content

nrf_modem_dect_phy_event_handler_set

Function nrf_modem_dect_phy_event_handler_set 

Source
pub unsafe extern "C" fn nrf_modem_dect_phy_event_handler_set(
    handler: nrf_modem_dect_phy_event_handler_t,
) -> c_int
Expand description

Set the application event handler for PHY events.

The application must set the handler for events coming the DECT PHY before attempting other operations.

  • handler - Event handler.

Returns 0 On success. Returns -NRF_EFAULT * handler - is * NULL - .