nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_modem_dect_mac_callback_set()

int nrf_modem_dect_mac_callback_set ( const struct nrf_modem_dect_mac_op_callbacks * op_cb,
const struct nrf_modem_dect_mac_ntf_callbacks * ntf_cb )

#include <nrf_modem/include/nrf_modem_dect.h>

Set application callbacks for MAC notifications.

The application must set the callbacks for MAC operations before attempting other operations.

Parameters
op_cbApplication callbacks for modem operation messages.
ntf_cbApplication callbacks for modem notification messages.
Return values
0On success.
-NRF_EINVALop_cb or ntf_cb is NULL, or one or more of the callbacks are NULL.