Hi,
I would like to know if the following sequence of AT commands is the correct one in order to open a UDP socket and join a NBIoT with a BG77.
- AT\r\n /* just to check if the modem is active and can reply*/\
- AT+CPSMS=1,01000001,00000001\r\n /*enable power saving */
- AT+QCFG=“band”,0,0,0x8080095,1\r\n /*Configure the frequency bands allowed to be searched for the NB-IoT (1,3,5,8,20,28) */
- AT+QCFG=“nwscanseq”,03,1\r\n /* Configure the RAT searching sequence to start with NB-IoT first*/
- AT+QCFG=“nwscanmode”,3,1\r\n /* Configure the RAT allowed to be searched as only LTE */
- AT+QCFG=“iotopmode”,1,1\r\n /* Configure only the NB-Iot network to be searched under LTE RAT.*/
- AT+QICSGP=1,1,“MY APN”,"","",0\r\n /* Configure the PDP Context with a defined Access Point Name and IP as packet data protocol */
- AT+QIACT=1\r\n /* Active the defined PDP Context */
- AT+COPS=1,2,“MY PLMN”,9\r\n /* Update the operator with NB-IoT as selected access technology */
- AT+QIOPEN=1,1,“UDP”,“IP address”,15683,0,0\r\n /* Open a UDP socket service in buffer access mode */
- Wait for the socket to be open (+QIOPEN: , message received);
- Eventually send data to the remote server;
Are those steps the correct ones or something is missing or not needed for UDP socket + NBIoT ?
Thanks in advance for your kind feedback.
Best regards
Riccardo
Summary
This text will be hidden