|
Try the below script in the AT Command Tester tool.
Try the below script in the AT Command Tester tool
//Script: at_cgps.at //Use this script to AT+CGPS AT commands with Simcom modules. //This script can be used on following Simcom modules- //SIM7500X, SIM7600X //Get the command support AT+CGPS=? WAIT=2 //Get the current GPS status and mode AT+CGPS? WAIT=1 //Stop GPS session AT+CGPS=0 WAIT=2 //Start GPS session in standalone mode AT+CGPS=1,1 WAIT=2 //Get the current GPS status and mode AT+CGPS? WAIT=2 //Stop GPS session AT+CGPS=0 WAIT=2 //Reset the Simcom module AT+CRESET WAIT=30 //Start GPS session in UE-based mode AT+CGPS=1,2 WAIT=2 //Get the current GPS status and mode AT+CGPS? WAIT=2 //Stop GPS session AT+CGPS=0 WAIT=2 //Reset the Simcom module AT+CRESET WAIT=30 //Start GPS session in UE-assisted mode AT+CGPS=1,3 //Get the current GPS status and mode AT+CGPS? WAIT=2
Output of the above script in the a href=”https://m2msupport.net/m2msupport/download-at-command-tester-for-simcom-modules/”>AT Command Tester tool
tool.
AT+CGPS=? +CGPS: (0-1),(1-3) OK AT+CGPS? +CGPS: 0,1 OK AT+CGPS=0 OK AT+CGPS=1,1 OK AT+CGPS? +CGPS: 1,1 OK AT+CGPS=0 OK AT+CRESET OK RDY +STIN: 81 +CPIN: READY +PACSP0 +PACSP0 SMS DONE +STIN: 81 AT+CGPS=1,2 OK +STIN: 81 AT+CGPS? +CGPS: 1,2 OK AT+CGPS=0 OK AT+CRESET OK RDY +STIN: 81 +CPIN: READY +PACSP0 +PACSP0 SMS DONE +STIN: 81 AT+CGPS=1,3 OK +STIN: 81 AT+CGPS? +CGPS: 1,3 OK