nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ nrf_modem_dect_phy_callback_set()

int nrf_modem_dect_phy_callback_set ( const struct nrf_modem_dect_phy_callbacks cb)

#include <nrf_modem/include/nrf_modem_dect_phy.h>

Set application callbacks for PHY operations.

The application must set the callbacks for PHY operations before attempting other operations. That includes PHY initialization itself, that is, nrf_modem_dect_phy_init().

Parameters
cbApplication callbacks.
Returns
0 On success.
Return values
-NRF_EFAULTcb is NULL.
-NRF_EINVALOne of the fields in cb is NULL.