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

◆ NRF_SO_SENDCB

#define NRF_SO_SENDCB   63

#include <nrf_modem/include/nrf_socket.h>

Callback to be called when a send request is acknowledged.

Set a callback to be called when a send request is acknowledged by the network and the data has been acknowledged by the peer, if required by the network protocol, or until the timeout, given by the NRF_SO_SNDTIMEO socket option, is reached. Valid timeout values are 1 to 600 seconds. See nrf_modem_sendcb_t for the callback function type.

Note
The callback is executed in an interrupt context. Take care to offload any processing as appropriate.
This is only supported by the following modem firmware:
  • mfw_nrf9151-ntn

This socket option cannot be used along with the NRF_MSG_WAITACK send flag.