code:
/* Set band configuration to 900 Mhz for GSM (1), band 20/800 Mhz for CAT-M1/NB-IoT (80000) */
AT+QCFG="band",1,80000,80000,1
/* Set iot-operation mode to LTE-M (0) only */
AT+QCFG="iotopmode",0,1
/* Set scan-sequence to LTE-M (02) only */
AT+QCFG="nwscanseq",020202,1
/* Set scan-mode to LTE (3) only */
AT+QCFG="nwscanmode",3,1
Vervolgens wordt een verbinding opgezet naar een APN. Welke APN kan worden gebruikt wordt bepaald in het leverproces van de SIM-kaart.
code:
/* Configure PDP Context 1 */
at+cgdcont=1,"IP","ltem.internet.m2m","0.0.0.0",0,0,0,0
code:
/* Query PDP context status */
at+cgact?
at+cgact?
+CGACT: 1,0
code:
/* Activate PDP context id 1 */
at+cgact=1,1
at+cgact=1,1
OK