nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ nrf_modem_dect_phy_tx_rx()

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.

Parameters
[in]paramsOperation parameters.
Return values
0Request was sent to the modem.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EFAULTCallback configuration is invalid, or params is NULL.
-NRF_ENOMEMNot enough shared memory for this request.