nrfxlib API 2.8.99
|
int nrf_modem_dect_phy_tx_rx | ( | const struct nrf_modem_dect_phy_tx_rx_params * | params | ) |
#include <nrf_modem/include/nrf_modem_dect_phy.h>
Schedule one TX and one RX operation.
Schedule one TX and one RX operation to be executed one after the other. The scheduling of both operations has to be successful, or no operation will be scheduled.
The RX operation is executed only if the TX operation is successful, including LBT, if used. The RX operation scheduling is relative to the end of the TX operation and must include the guard time.
When the TX operation has completed, either successfully or unsuccessfully, the result is sent to the nrf_modem_dect_phy_callbacks::op_complete callback, with a handle
parameter equal to the handle
specified in params.tx
.
When the RX operation has completed, either successfully or unsuccessfully, the result is sent to the nrf_modem_dect_phy_callbacks::op_complete callback, with a handle
parameter equal to the handle
specified in params.rx
.
[in] | params | Operation parameters. |
0 | Request was sent to the modem. |
-NRF_EPERM | The Modem library is not initialized. |
-NRF_EFAULT | Callback configuration is invalid, or params is NULL . |
-NRF_ENOMEM | Not enough shared memory for this request. |