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

◆ nrf_modem_dect_phy_test_rf_tx_cw_control()

int nrf_modem_dect_phy_test_rf_tx_cw_control ( enum nrf_modem_dect_phy_test_rf_tx_cw_oper operation,
uint16_t carrier,
int8_t power )

#include <nrf_modem/include/nrf_modem_dect_phy.h>

Control continuous wave transmission.

The default, applied at each initialization, is OFF.

Continuous wave transmission can only be turned on when the DECT PHY interface is not initialized. DECT PHY interface initialization is not allowed when continuous wave transmission is on.

Note
This API is intended for certification purposes only. It should not be used for normal operation.

This operation is performed asynchronously. Completion of this operation is indicated by the NRF_MODEM_DECT_PHY_EVT_TEST_RF_TX_CW_CONTROL_CONFIG event.

Parameters
operationControl operation code.
carrierCarrier on which the wave is transmitted.
powerPower of the transmission in dBm.
Return values
0Request was sent to modem.
-NRF_EPERMThe Modem library is not initialized.
-NRF_EFAULTNo event handler is set.
-NRF_ENOMEMNot enough shared memory for this request.