![]() |
nrfxlib API 3.3.99
|
| 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.
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.
| operation | Control operation code. |
| carrier | Carrier on which the wave is transmitted. |
| power | Power of the transmission in dBm. |
| 0 | Request was sent to modem. |
| -NRF_EPERM | The Modem library is not initialized. |
| -NRF_EFAULT | No event handler is set. |
| -NRF_ENOMEM | Not enough shared memory for this request. |