{"id":21774,"date":"2019-03-23T15:56:31","date_gmt":"2019-03-23T22:56:31","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=21774"},"modified":"2019-03-23T16:03:36","modified_gmt":"2019-03-23T23:03:36","slug":"atcgps-start-stop-gps-session","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atcgps-start-stop-gps-session\/","title":{"rendered":"AT+CGPS &#8211; Start \/Stop GPS Session"},"content":{"rendered":"<p>Try the below script in the  AT Command Tester tool.<\/p>\n<p>Try the below script in the <a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester tool<\/a><\/p>\n<pre style=\"color:blue;background-color:white;border: 1px solid black;\">\/\/Script: at_cgps.at\n\/\/Use this script to AT+CGPS AT commands with Simcom modules.\n\/\/This script can be used on following Simcom modules-\n\/\/SIM7500X, SIM7600X\n\n\/\/Get the command support\nAT+CGPS=?\n\nWAIT=2\n\n\/\/Get the current GPS status and mode\nAT+CGPS?\n\nWAIT=1\n\n\/\/Stop GPS session\nAT+CGPS=0\n\nWAIT=2\n\n\/\/Start GPS session in standalone mode\nAT+CGPS=1,1\n\nWAIT=2\n\n\/\/Get the current GPS status and mode\nAT+CGPS?\n\nWAIT=2\n\n\/\/Stop GPS session\nAT+CGPS=0\n\nWAIT=2\n\n\/\/Reset the Simcom module\nAT+CRESET\n\nWAIT=30\n\n\/\/Start GPS session in UE-based mode\nAT+CGPS=1,2\n\nWAIT=2\n\n\/\/Get the current GPS status and mode\nAT+CGPS?\n\nWAIT=2\n\n\/\/Stop GPS session\nAT+CGPS=0\n\nWAIT=2\n\n\n\/\/Reset the Simcom module\nAT+CRESET\n\nWAIT=30\n\n\/\/Start GPS session in UE-assisted mode\nAT+CGPS=1,3\n\n\/\/Get the current GPS status and mode\nAT+CGPS?\n\nWAIT=2\n\n\n<\/pre>\n<p>Output of the above script in the  a href=&#8221;https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/&#8221;&gt;AT Command Tester tool<br \/>\ntool.<\/p>\n<pre style=\"color:blue;background-color:#ffffcc;border: 1px solid black;\">\nAT+CGPS=?\n\n+CGPS: (0-1),(1-3)\n\nOK\nAT+CGPS?\n\n+CGPS: 0,1\n\nOK\nAT+CGPS=0\n\nOK\nAT+CGPS=1,1\n\nOK\nAT+CGPS?\n\n+CGPS: 1,1\n\nOK\nAT+CGPS=0\n\nOK\nAT+CRESET\n\nOK\n\n\nRDY\n\n+STIN: 81\n\n\n\n+CPIN: READY\n\n+PACSP0\n\n+PACSP0\n\nSMS DONE\n\n+STIN: 81\nAT+CGPS=1,2\n\nOK\n\n+STIN: 81\nAT+CGPS?\n\n+CGPS: 1,2\n\nOK\n\n\nAT+CGPS=0\n\nOK\nAT+CRESET\n\nOK\n\nRDY\n\n+STIN: 81\n\n+CPIN: READY\n\n+PACSP0\n\n+PACSP0\n\n\n\nSMS DONE\n\n+STIN: 81\n\nAT+CGPS=1,3\n\nOK\n\n+STIN: 81\nAT+CGPS?\n\n+CGPS: 1,3\n\nOK\n\n<\/pre>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/THRYPeLe-Do\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atcgps-start-stop-gps-session\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"atcommands.php","meta":{"footnotes":""},"class_list":["post-21774","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/21774","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/comments?post=21774"}],"version-history":[{"count":2,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/21774\/revisions"}],"predecessor-version":[{"id":21792,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/21774\/revisions\/21792"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=21774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}