QUECTEL _ GSM-EVB-KIT _ MP818GL26001114 - Page 1
Forum section: electronics / rf-microwave

author: arul
author_rank: Regular Contributor
timestamp: July 02, 2019, 01:47:12 pm
content: Hi,Now I am doing experiment using QUECTEL GSM-EVB-KIT Q1-A2263 MP818GL26001114. My task is to find GPS location and send that GPS location to my mobile number from GSMEVB-KIT through SMS.. I did, power on the module as per the user guide. That is okay. But in communication via UART interface, whenever I gave "AT" command, I hadn't got exact reply like "Ok". But I got continuously GPS coordination. The following are got in the QCOM_V1.6.exe.////////////////////////////////////////////////////////////////////////////////////////////////[2019-07-02_18:02:18:382]OpenCPU: example for HTTP programming[2019-07-02_18:02:18:415]<-- RIL is ready -->[2019-07-02_18:02:18:448]<-- In ConSMSBuf -->[2019-07-02_18:02:18:448]<-- GSM Network Status:2 -->[2019-07-02_18:02:18:481]<-- GPRS Network Status:0 -->[2019-07-02_18:02:19:390]<-- CFUN Status:1 -->[2019-07-02_18:02:20:709]<-- SIM Card Status: READY -->[2019-07-02_18:02:20:743]<-- GPRS Network Status:2 -->[2019-07-02_18:02:24:396]<-- GSM Network Status:1 -->[2019-07-02_18:02:26:860]<-- GPRS Network Status:1 -->[2019-07-02_18:02:26:860]<-- Register GPRS callback function -->[2019-07-02_18:02:26:860]<-- Set GPRS PDP context, ret=0 -->[2019-07-02_18:02:26:894]<-- Set GPRS APN, ret=0 -->[2019-07-02_18:02:27:296]<-- Open PDP context, ret=0 -->[2019-07-02_18:02:27:329]<-- Configuring SSL Ignorertctime, ret = 0-->[2019-07-02_18:02:27:329]<-- Configuring SSL Version, ret = 0-->[2019-07-02_18:02:27:329]<-- Configuring SSL Security Level, ret = 0-->[2019-07-02_18:02:27:329]<-- Configuring SSL Ciphersuite, ret = 0-->[2019-07-02_18:02:27:329]<-- Enabling HTTPS, ret = 0-->[2019-07-02_18:02:27:364]<-- Setting HTTPS Contextid, ret = 0-->[2019-07-02_18:02:27:364]<-- Configuring request header, ret=0-->[2019-07-02_18:02:27:364]<-- Configuring response header, ret=0-->[2019-07-02_18:02:27:364]<-- Set http server URL, ret=0 -->[2019-07-02_18:02:27:398]<-- Power on GPS, ret=0. -->[2019-07-02_18:02:30:807]<-- Sys Init Status 2 -->[2019-07-02_18:02:35:119]<-- Sys Init Status 3 -->[2019-07-02_18:02:35:119]<-- SMS module is ready -->[2019-07-02_18:02:35:119]<-- Initialize SMS-related options -->[2019-07-02_18:02:35:155]Delete all existed messages[2019-07-02_18:03:27:433]<--GPS DATA = $GNRMC,123330.306,V,,,,,1.82,320.06,020719,,,N*57[2019-07-02_18:03:27:433] -->[2019-07-02_18:04:27:512]<--GPS DATA = $GNRMC,123431.000,A,1258.2616,N,07738.8963,E,0.31,261.82,020719,,,A*74[2019-07-02_18:04:27:512] -->[2019-07-02_18:04:27:512]<-- VALID -->[2019-07-02_18:04:41:511]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:04:41:511]Host: locateme-1552825350301.appspot.com[2019-07-02_18:04:41:511]Content-Type: application/json[2019-07-02_18:04:41:511]Content-Length: 173[2019-07-02_18:04:41:511]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"123431.000","rmc_latitude":"12.971026","rmc_longitude":"77.648270","rmc_speed":"0.31","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:04:41:550]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:04:41:550]<-- Data = -->[2019-07-02_18:05:41:591]<--GPS DATA = $GNRMC,123545.000,A,1258.2656,N,07738.8972,E,0.51,52.49,020719,,,D*44[2019-07-02_18:05:41:591] -->[2019-07-02_18:05:41:591]<-- VALID -->[2019-07-02_18:05:55:590]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:05:55:590]Host: locateme-1552825350301.appspot.com[2019-07-02_18:05:55:590]Content-Type: application/json[2019-07-02_18:05:55:590]Content-Length: 173[2019-07-02_18:05:55:590]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"123545.000","rmc_latitude":"12.971093","rmc_longitude":"77.648285","rmc_speed":"0.51","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:05:55:630]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:05:55:630]<-- Data = -->[2019-07-02_18:06:55:676]<--GPS DATA = $GNRMC,123659.000,A,1258.2611,N,07738.8932,E,0.75,232.36,020719,,,D*77[2019-07-02_18:06:55:676] -->[2019-07-02_18:06:55:676]<-- VALID -->[2019-07-02_18:07:09:676]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:07:09:676]Host: locateme-1552825350301.appspot.com[2019-07-02_18:07:09:676]Content-Type: application/json[2019-07-02_18:07:09:676]Content-Length: 173[2019-07-02_18:07:09:676]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"123659.000","rmc_latitude":"12.971019","rmc_longitude":"77.648216","rmc_speed":"0.75","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:07:09:717]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:07:09:717]<-- Data = -->[2019-07-02_18:08:09:756]<--GPS DATA = $GNRMC,123813.000,A,1258.2576,N,07738.8918,E,0.25,80.96,020719,,,D*49[2019-07-02_18:08:09:756] -->[2019-07-02_18:08:09:756]<-- VALID -->[2019-07-02_18:08:23:756]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:08:23:756]Host: locateme-1552825350301.appspot.com[2019-07-02_18:08:23:756]Content-Type: application/json[2019-07-02_18:08:23:756]Content-Length: 173[2019-07-02_18:08:23:756]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"123813.000","rmc_latitude":"12.970960","rmc_longitude":"77.648193","rmc_speed":"0.25","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:08:23:799]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:08:23:799]<-- Data = -->[2019-07-02_18:09:23:836]<--GPS DATA = $GNRMC,123927.000,A,1258.2603,N,07738.8908,E,0.37,159.76,020719,,,D*77[2019-07-02_18:09:23:836] -->[2019-07-02_18:09:23:836]<-- VALID -->[2019-07-02_18:09:37:834]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:09:37:834]Host: locateme-1552825350301.appspot.com[2019-07-02_18:09:37:834]Content-Type: application/json[2019-07-02_18:09:37:834]Content-Length: 173[2019-07-02_18:09:37:834]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"123927.000","rmc_latitude":"12.971005","rmc_longitude":"77.648178","rmc_speed":"0.37","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:09:37:872]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:09:37:872]<-- Data = -->[2019-07-02_18:10:37:915]<--GPS DATA = $GNRMC,124041.000,A,1258.2636,N,07738.8932,E,0.53,172.74,020719,,,D*7F[2019-07-02_18:10:37:915] -->[2019-07-02_18:10:37:915]<-- VALID -->[2019-07-02_18:10:51:916]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:10:51:916]Host: locateme-1552825350301.appspot.com[2019-07-02_18:10:51:916]Content-Type: application/json[2019-07-02_18:10:51:916]Content-Length: 173[2019-07-02_18:10:51:916]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"124041.000","rmc_latitude":"12.971060","rmc_longitude":"77.648216","rmc_speed":"0.53","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:10:51:959]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:10:51:959]<-- Data = -->[2019-07-02_18:11:52:001]<--GPS DATA = $GNRMC,124155.000,A,1258.2614,N,07738.8937,E,0.43,205.80,020719,,,D*77[2019-07-02_18:11:52:001] -->[2019-07-02_18:11:52:001]<-- VALID -->[2019-07-02_18:12:06:000]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:12:06:000]Host: locateme-1552825350301.appspot.com[2019-07-02_18:12:06:000]Content-Type: application/json[2019-07-02_18:12:06:000]Content-Length: 173[2019-07-02_18:12:06:000]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"124155.000","rmc_latitude":"12.971024","rmc_longitude":"77.648232","rmc_speed":"0.43","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:12:06:041]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:12:06:041]<-- Data = -->[2019-07-02_18:13:06:085]<--GPS DATA = $GNRMC,124309.000,A,1258.2612,N,07738.8960,E,0.29,98.91,020719,,,D*42[2019-07-02_18:13:06:085] -->[2019-07-02_18:13:06:085]<-- VALID -->[2019-07-02_18:13:20:076]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:13:20:076]Host: locateme-1552825350301.appspot.com[2019-07-02_18:13:20:076]Content-Type: application/json[2019-07-02_18:13:20:076]Content-Length: 173[2019-07-02_18:13:20:076]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"124309.000","rmc_latitude":"12.971020","rmc_longitude":"77.648270","rmc_speed":"0.29","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:13:20:115]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:13:20:115]<-- Data = -->[2019-07-02_18:14:20:161]<--GPS DATA = $GNRMC,124423.000,A,1258.2621,N,07738.8978,E,0.22,234.56,020719,,,D*70[2019-07-02_18:14:20:161] -->[2019-07-02_18:14:20:161]<-- VALID -->[2019-07-02_18:14:34:160]<-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02_18:14:34:160]Host: locateme-1552825350301.appspot.com[2019-07-02_18:14:34:160]Content-Type: application/json[2019-07-02_18:14:34:160]Content-Length: 173[2019-07-02_18:14:34:160]{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"124423.000","rmc_latitude":"12.971035","rmc_longitude":"77.648300","rmc_speed":"0.22","rmc_date":"020719"}, ret=-1 -->[2019-07-02_18:14:34:198]<-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02_18:14:34:198]<-- Data = -->[2019-07-02_18:14:34:198]Callback_UART_Hdlr: port=10, event=0, level=0, p=0[2019-07-02_18:15:34:244]<--GPS DATA = $GNRMC,124537.000,A,1258.2602,N,07738.8947,E,0.38,194.47,020719,,,D*7B[2019-07-02_18:15:34:244] -->[2019-07-02_18:15:34:244]<-- VALID -->////////////////////////////////////////////////////////////////////////////////////////////////////////////I am also other serial communication window like termite, that same output only I got.//////////////////////////////////////////////////////////////////////////////////////////////////////////////2019/07/01 17:23:09.078: Callback_UART_Hdlr: port=10 *ÙË‹õ5, level=0, p=0Callback_UART_Hdlr: port=10, event=5, level=1, p=02019/07/01 17:23:13.159: AT2019/07/01 17:23:15.268: AT2019/07/01 17:23:16.270: AT<--GPS DATA = $GNRMC,115317.000,A,1258.2519,N,07738.9092,E,0.37,58.11,010719,,,A*4F--><-- VALID -->2019/07/01 17:23:18.303: ATAT2019/07/01 17:23:19.794: ATAT2019/07/01 17:23:20.976: ATAT2019/07/01 17:23:22.337: ATAT2019/07/01 17:23:23.464: ATAT2019/07/01 17:23:24.560: ATAT2019/07/01 17:23:25.683: ATATAT2019/07/01 17:23:27.177: ATAT2019/07/01 17:23:30.295: <-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1Host: locateme-1552825350301.appspot.comContent-Type: application/jsonContent-Length: 173{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"115317.000","rmc_latitude":"12.970865","rmc_longitude":"77.648483","rmc_speed":"0.37","rmc_date":"010719"}, ret=-1 --><-- Read http response data, ret=-1, dataLen=0 --><-- Data = -->2019/07/01 17:24:30.340: <--GPS DATA = $GNRMC,115431.000,A,1258.2545,N,07738.9004,E,0.60,313.77,010719,,,A*74--><-- VALID -->2019/07/01 17:24:44.340: <-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1Host: locateme-1552825350301.appspot.comContent-Type: application/jsonContent-Length: 173{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"115431.000","rmc_latitude":"12.970908","rmc_longitude":"77.648338","rmc_speed":"0.60","rmc_date":"010719"}, ret=-1 --><-- Read http response data, ret=-1, dataLen=0 --><-- Data = -->2019/07/01 17:25:44.500: <--GPS DATA = $GNRMC,115545.000,A,1258.2567,N,07738.9174,E,0.94,92.82,010719,,,A*4B--><-- VALID -->2019/07/01 17:25:58.499: <-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1Host: locateme-1552825350301.appspot.comContent-Type: application/jsonContent-Length: 173{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"115545.000","rmc_latitude":"12.970945","rmc_longitude":"77.648621","rmc_speed":"0.94","rmc_date":"010719"}, ret=-1 --><-- Read http response data, ret=-1, dataLen=0 --><-- Data = -->2019/07/01 17:26:58.549: <--GPS DATA = $GNRMC,115659.000,A,1258.2530,N,07738.9159,E,0.32,131.17,010719,,,A*70--><-- VALID -->2019/07/01 17:27:12.547: <-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1Host: locateme-1552825350301.appspot.comContent-Type: application/jsonContent-Length: 173{"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"115659.000","rmc_latitude":"12.970883","rmc_longitude":"77.648598","rmc_speed":"0.32","rmc_date":"010719"}, ret=-1 --><-- Read http response data, ret=-1, dataLen=0 --><-- Data = -->////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////The following are output of Qnavigator_V1.6.8.exe///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////* Start AT SYNC: Send AT every 500ms, if receive OK, SYNC success, if no OK return after sending AT 10 times, SYNC fail */[2019-07-02 18:46:07:247_S:] AT[2019-07-02 18:46:07:303_R:] DSR:0 (CTS:1) RI:0 DCD:0[2019-07-02 18:46:07:304_R:] (DSR:1) CTS:1 RI:0 DCD:0[2019-07-02 18:46:07:305_R:] Callback_UART_Hdlr: port=10, event=0, level=0, p=0/* Use ATV1 to set the response format */[2019-07-02 18:46:07:307_S:] ATV1/* Start AT SYNC: Send AT every 500ms, if receive OK, SYNC success, if no OK return after sending AT 10 times, SYNC fail */[2019-07-02 18:46:29:233_S:] AT[2019-07-02 18:46:29:747_S:] AT[2019-07-02 18:46:30:261_S:] AT[2019-07-02 18:46:30:778_S:] AT[2019-07-02 18:46:31:293_S:] AT[2019-07-02 18:46:31:809_S:] AT[2019-07-02 18:46:32:324_S:] AT[2019-07-02 18:46:32:840_S:] AT[2019-07-02 18:46:33:357_S:] AT[2019-07-02 18:46:33:871_S:] AT/* No OK return after 10 times, will pop out error message of SYNC fail, you may check below settings are correct and then connect to module again:1.the module power on normally2.serial port cable is connected3.the baudrate in serial port parameter set is the same with module */[2019-07-02 18:46:36:762_R:] <--GPS DATA = $GNRMC,131640.085,V,,,,,14.78,136.11,020719,,,N*6C[2019-07-02 18:46:36:794_R:] -->[2019-07-02 18:47:36:839_R:] <--GPS DATA = $GNRMC,131740.000,A,1258.2641,N,07738.9072,E,0.40,49.89,020719,,,A*4D[2019-07-02 18:47:36:871_R:] -->[2019-07-02 18:47:36:871_R:] <-- VALID -->[2019-07-02 18:47:50:840_R:] <-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02 18:47:50:873_R:] Host: locateme-1552825350301.appspot.com[2019-07-02 18:47:50:873_R:] Content-Type: application/json[2019-07-02 18:47:50:873_R:] Content-Length: 173[2019-07-02 18:47:50:873_R:] {"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"131740.000","rmc_latitude":"12.971068","rmc_longitude":"77.648453","rmc_speed":"0.40","rmc_date":"020719"}, ret=-1 -->[2019-07-02 18:47:50:873_R:] <-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02 18:47:50:873_R:] <-- Data = -->[2019-07-02 18:48:50:920_R:] <--GPS DATA = $GNRMC,131854.000,A,1258.2623,N,07738.9050,E,0.61,13.54,020719,,,D*4A[2019-07-02 18:48:50:953_R:] -->[2019-07-02 18:48:50:953_R:] <-- VALID -->[2019-07-02 18:49:04:920_R:] <-- Send post-request, postMsg=POST /create_rmcdata HTTP/1.1[2019-07-02 18:49:04:954_R:] Host: locateme-1552825350301.appspot.com[2019-07-02 18:49:04:954_R:] Content-Type: application/json[2019-07-02 18:49:04:954_R:] Content-Length: 173[2019-07-02 18:49:04:954_R:] {"rmc_deviceid":"446784412371","rmc_messageid":"GPRMC","rmc_time":"131854.000","rmc_latitude":"12.971038","rmc_longitude":"77.648415","rmc_speed":"0.61","rmc_date":"020719"}, ret=-1 -->[2019-07-02 18:49:04:954_R:] <-- Read http response data, ret=-1, dataLen=0 -->[2019-07-02 18:49:04:954_R:] <-- Data = -->///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Please let me know, what I make wrong. Then how will I establish SMS communication?Thanks