Set command

The set command controls the RF receiver.

Syntax:

%XRFTEST=<test>,<operation>[,<param0>,<param1>,<param2>,<param3>]

The set command parameters and their defined values are the following:

<test>
0 – RX
<operation>
1 – ON
0 – OFF
Note: Always send OFF <operation> before sending another ON <operation>.
<param0>
3GPP band number. Use 24 for Global Navigation Satellite System (GNSS) reception.
<param1>
Frequency 100 kHz
Valid range 6000–22000 (corresponds to 600.0 MHz–2200.0 MHz)
Note: If Carrier Wave (CW) is used, an offset of about 45 kHz for Narrowband Internet of Things (NB-IoT) and 300 kHz for LTE-M is recommended.
<param2>
RX signal power at the SiP antenna port

Valid range from −127 dBm to −25 dBm

<param3>
System mode

Valid range 0–1. NB-IoT (0) or LTE-M (1).

Response syntax when <operation> is ON:

%XRFTEST: <antenna_power>

The response parameter and its defined value are the following:

<antenna_power>
Measured power at the SiP antenna port in q8 dBm. q8 means that dividing the result by 28 = 256 gives dBm.

The following command example enables the RF receiver for Band 1, 2140.0 MHz, −65 dBm, NB-IoT mode:

AT%XRFTEST=0,1,1,21400,-65,0
%XRFTEST: -17002
OK
Note: −17002/256 = −66.4 dBm

The following command example disables the RF receiver:

AT%XRFTEST=0,0
OK