Rak 5860 send data problem

Dear all ,
after long number of try for find the sequence for connection with NbIoT to Vodafone Italy ( and europe ) network, i found the connection , but i continue get the error sending data

following the errors and the code :
16:08:15.471 → BG77 power up!
16:08:15.934 →
16:08:15.934 → RDY
16:08:15.934 → AT+QSIMSTAT=1

16:08:15.934 → OK
16:08:15.934 →
16:08:18.472 →
16:08:18.472 → APP RDY
16:08:18.472 → AT+QSIMDET=1,1

16:08:18.472 → OK
16:08:18.472 →
16:08:20.953 → AT+QSIMDET?

16:08:20.953 → +QSIMDET: 1,1
16:08:20.953 →
16:08:20.953 → OK
16:08:20.953 →
16:08:23.439 → AT+QSIMSTAT=1

16:08:23.439 → OK
16:08:23.439 →
16:08:25.966 → AT+QSIMSTAT?

16:08:25.966 → +QSIMSTAT: 1,1
16:08:25.966 →
16:08:25.966 → OK
16:08:25.966 →
16:08:28.455 → ATZ0

16:08:28.455 → OK
16:08:28.455 →
16:08:30.944 → AT+CMEE=0

16:08:30.944 → OK
16:08:30.944 →
16:08:33.424 → AT&W

16:08:33.424 → OK
16:08:33.424 →
16:08:35.955 → AT&F

16:08:35.955 → OK
16:08:35.955 →
16:08:38.432 → ATI

16:08:38.432 → Quectel
16:08:38.432 → BG77
16:08:38.432 → Revision: BG77LAR02A04
16:08:38.432 →
16:08:38.432 → OK
16:08:38.432 →
16:08:40.945 → AT+CPIN?

16:08:40.945 → +CPIN: READY
16:08:40.945 →
16:08:40.945 → OK
16:08:40.945 →
16:08:43.415 → AT+QNWINFO

16:08:43.415 → +QNWINFO: No Service
16:08:43.415 →
16:08:43.415 → OK
16:08:43.415 →
16:08:45.940 → AT+CEREG=0

16:08:45.940 → OK
16:08:45.940 →
16:08:48.416 → AT+QCSQ

16:08:48.416 → +QCSQ: “NOSERVICE”
16:08:48.416 →
16:08:48.416 → OK
16:08:48.416 →
16:08:50.933 → AT+COPS=1,2,‘22210’

16:08:50.933 → ERROR
16:08:50.933 →
16:08:53.450 → AT+QCFG=“iotopmode”,1,1

16:08:53.450 → OK
16:08:53.450 →
16:08:55.919 → AT+QICSGP=1,1,‘nb.it.vodafone.iot’,1=?

16:08:55.919 → ERROR
16:08:55.919 →
16:08:58.429 → AT+QCFG=“nwscanseq”,030201

16:08:58.429 → OK
16:08:58.429 →
16:09:00.907 → AT+QIDEACT=1

16:09:00.907 → OK
16:09:00.907 →
16:09:03.430 → AT+QIACT=1

16:09:03.430 → ERROR
16:09:03.430 →
16:09:05.903 → AT+QNWINFO

16:09:05.903 → +QNWINFO: No Service
16:09:05.903 →
16:09:05.903 → OK
16:09:05.903 →
16:09:08.430 → AT+QCSQ

16:09:08.430 → +QCSQ: “NOSERVICE”
16:09:08.430 →
16:09:08.430 → OK
16:09:08.430 →
16:09:10.909 → AT+QHTTPCFG=‘contextid’,1

16:09:10.909 → +CME ERROR: 730
16:09:10.909 →
16:09:13.428 → AT+QICSGP=1,1,‘nb.it.vodafone.iot’,1

16:09:13.428 → ERROR
16:09:13.428 →
16:09:15.909 → AT+QIACT?

16:09:15.909 → OK
16:09:15.909 →
16:09:18.440 → AT+QNWINFO

16:09:18.440 → +QNWINFO: No Service
16:09:18.440 →
16:09:18.440 → OK
16:09:18.440 →
16:09:20.910 → AT+QIDNSCFG=1,“8.8.4.4”

16:09:20.910 → ERROR
16:09:20.910 →
16:09:22.910 → Begin receive packet from api.thingspeak.com!
16:09:22.910 → connecting to server
16:09:23.886 → AT+QHTTPCFG=“contextid”,1

16:09:23.886 → OK
16:09:23.886 →
16:09:24.866 → AT+QHTTPCFG=“responseheader”,1

16:09:24.866 → OK
16:09:24.866 →
16:09:25.891 → AT+QICSGP=1,1,“nb.it.vodafone.iot”,1=?

16:09:25.891 → ERROR
16:09:25.891 →
16:09:26.876 → AT+QICSGP=1,1,“nb.it.vodafone.iot”,"","",1

16:09:26.876 → OK
16:09:26.876 →
16:09:27.854 → AT+QIDEACT=1

16:09:27.854 → OK
16:09:27.854 →
16:09:28.840 → AT+QIACT=1

16:09:28.840 → ERROR
16:09:28.840 →
16:09:29.832 → AT+QIACT?

16:09:29.832 → OK
16:09:29.832 →
16:09:30.815 → AT+QHTTPCFG=“sslctxid”,1

16:09:30.815 → OK
16:09:30.815 →
16:09:31.804 → AT+QSSLCFG=“sslversion”,1,1

16:09:31.804 → OK
16:09:31.804 →
16:09:32.794 → AT+QSSLCFG=“ciphersuite”,1,0x0005

16:09:32.794 → OK
16:09:32.794 →
16:09:33.784 → AT+QSSLCFG=“seclevel”,1,0

16:09:33.784 → OK
16:09:33.784 →
16:09:34.767 →
16:09:40.641 → AT+QHTTPURL=72,30

16:09:40.641 → CONNECT
16:09:40.641 →
16:09:44.581 →
16:09:46.550 →
16:09:48.523 →
16:09:48.523 → Data sent to server
16:09:52.516 → Begin receive packet from api.thingspeak.com!
16:09:52.516 → connecting to server
16:09:53.504 →
16:09:54.480 →
16:09:54.480 → +CME ERROR: 711
16:09:54.480 →
16:09:55.464 → AT+QICSGP=1,1,“nb.it.vodafone.iot”,1=?

16:09:55.464 → ERROR
16:09:55.464 →
16:09:56.445 → AT+QICSGP=1,1,“nb.it.vodafone.iot”,"","",1

16:09:56.445 → OK
16:09:56.445 →
16:09:57.430 → AT+QIDEACT=1

16:09:57.430 → OK
16:09:57.430 →
16:09:58.415 → AT+QIACT=1

16:09:58.415 → ERROR
16:09:58.415 →
16:09:59.442 → AT+QIACT?

16:09:59.442 → OK
16:09:59.442 →
16:10:00.425 → AT+QHTTPCFG=“sslctxid”,1

16:10:00.425 → OK
16:10:00.425 →
16:10:01.412 → AT+QSSLCFG=“sslversion”,1,1

16:10:01.412 → OK
16:10:01.412 →
16:10:02.394 → AT+QSSLCFG=“ciphersuite”,1,0x0005

16:10:02.394 → OK
16:10:02.394 →
16:10:03.377 → AT+QSSLCFG=“seclevel”,1,0

16:10:03.377 → OK
16:10:03.377 →
16:10:04.359 →
16:10:10.220 → AT+QHTTPURL=72,30

16:10:10.220 → CONNECT
16:10:10.220 →
16:10:14.206 →
16:10:16.139 →
16:10:18.113 →
16:10:18.113 → Data sent to server
16:10:22.119 → Begin receive packet from api.thingspeak.com!
16:10:22.119 → connecting to server
16:10:23.106 →
16:10:24.091 →
16:10:24.091 → +CME ERROR: 711
16:10:24.091 →
16:10:25.079 → AT+QICSGP=1,1,“nb.it.vodafone.iot”,1=?

16:10:25.079 → ERROR
16:10:25.079 →
16:10:26.061 → AT+QICSGP=1,1,“nb.it.vodafone.iot”,"","",1

16:10:26.061 → OK
16:10:26.061 →
16:10:27.042 → AT+QIDEACT=1

16:10:27.042 → OK

this is the Code portion :

Serial.println(“Begin receive packet from api.thingspeak.com!”);
ping_at(“AT+QPING=1,“api.thingspeak.com””);
Serial.println(“connecting to server”);

bg77_at("AT+CEREG?",1000);//Confirm that the network access is successful.

// bg77_at(“AT+QICFG=“dataformat””,1000); //set dataformat to send data

bg77_at("AT+QIDEACT=1",1000);
bg77_at("AT+QIACT=1",1000);
bg77_at("AT+QIACT?",1000);
bg77_at("AT+QHTTPCFG=\"contextid\",1",1000);
bg77_at("AT+QSSLCFG=\"sslctxid\"",1000);

// bg77_at(“AT+QIOPEN=1,0,“TCP”,“api.thingspeak.com”,80,0,0”,6000);
Serial.println(“Starting to send data to server”);

bg77_at("AT+QHTTPURL=75,30",8000);

// bg77_at(“CONNECT”,1000);
bg77_at(“https://api.thingspeak.com/update?api_key=ZXCZJ7IERO0F0GAZ&field2=49”,100);
bg77_at(“AT+QHTTPGET=20”,1000);

When i run the command at the end of sequence “AT+QHTTPGET=20” means send get request
i get this error >> +CME ERROR: 711

some suggest ?

thank you in advance

1 Like