at_client
sampleat_client
which can be found in the folder: samples/nrf9160/
.at_client
sample in VS Codenrf9160dk_nrf9160_ns
AT+CFUN?
is sent automatically to the modem which returns: +CFUN: 0
, indicating that the modem is turned off.+CPIN: READY
:+COPS: 0,2,"<MCCMNC of operator>",7
. The last digit indicates the cellular technology, 7
means LTE Cat-M1 Error: 'AT+COPS=? ' timed out
.7
indicates LTE Cat-M1.+COPS: 0,2,"<MCCMNC>",7
. The last digit indicates the cellular technology LTE Cat-M1.XXXXX
with the MCCMNC code of your operator, for example"20404"
for Vodafone NL.+CESQ: 99,99,255,255,15,53
+CESQ
returns 6 values separated by commas. The last 2 values indicate the RSRQ (Reference Signal Received Quality) and RSRP (Reference Signal Received Power) respectively. RSRQ is indicated with a value between 0
and 34
, RSRP is with a value between 0
and 97
. Higher values represent better signal quality.%XCBAND: 20
%XCBAND: (1,2,3,4,5,8,12,13,18,19,20,25,26,28,66)
AT+CFUN=0
, then run the command:10000100
. The AT Command becomes: AT%XBANDLOCK=1,"10000100"
AT+CFUN=1
%XBANDLOCK: "<bandmask>",""
data.mono
:+CGPADDR: 1,XX.XXX.XX.XXX
nrf-
followed by the IMEI which can be found at the back of the device, or by running the AT Command: AT+CGSN
. Below the IMEI, you should see the PIN or HWID.asset_tracker_v2
which can be found in the folder: nrf/applications/
.asset_tracker_v2
sample in VS Code