nrfxlib API 0.1.0
|
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().
cb | Application callbacks. |
-NRF_EFAULT | cb is NULL . |
-NRF_EINVAL | One of the fields in cb is NULL . |