{"id":143893,"date":"2020-05-23T07:19:06","date_gmt":"2020-05-23T14:19:06","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=143893"},"modified":"2020-05-23T07:28:18","modified_gmt":"2020-05-23T14:28:18","slug":"atshconf-set-up-http-parameters-in-simcom-modules","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atshconf-set-up-http-parameters-in-simcom-modules\/","title":{"rendered":"AT+SHCONF -Set up HTTP parameters in Simcom modules"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/05\/at_shconf.png\" alt=\"\" class=\"wp-image-32155\"\/><\/figure>\n\n\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>\n<\/p>\n<pre style=\"color: blue; background-color: white; border: 1px solid black;\">\/\/Script: at+shconf - Setup server URL on Simcom modules\n\/\/The AT commands in this script are applicable for Simcom modules only\n\/\/Check SIMCOM Module AT Command documentation\n\n\/\/Get the support for the commands\nAT+SHCONF=?\n\n\/\/Wait\nWAIT=1\n\n\/\/Get the current configured values for HTTP\nAT+SHCONF=\"URL\",\"http:\/\/www.google.com\"\n\n\/\/Wait\nWAIT=1\n\n\/\/Setup HTTP body length\nAT+SHCONF=\"BODYLEN\",1024\n\n\/\/Wait\nWAIT=1\n\n\/\/Setup HTTP head length\nAT+SHCONF=\"HEADERLEN\",350\n\n\/\/Wait\nWAIT=1\n\n\/\/Setup HTTP timeout in sec\nAT+SHCONF=\"TIMEOUT\",60\n\n\/\/Wait\nWAIT=1\n\n\/\/Setup HTTP try connect times\nAT+SHCONF=\"POLLCNT\",2\n\n\/\/Wait\nWAIT=1\n\n\/\/Setup HTTP timeout for each attempt in ms\nAT+SHCONF=\"POLLINTMS\",200\n\n\/\/Wait\nWAIT=1\n\n\/\/Setup HTTP IPVer 0-&gt;IPv4, 1-&gt;IPv6\nAT+SHCONF=\"IPVER\",0\n\n<\/pre>\n<p>Output of the above script in the <a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester tool<\/a><\/p>\n<p><\/p>\n<pre style=\"color: blue; background-color: #ffffcc; border: 1px solid black;\">AT+SHCONF=?\n\n+SHCONF: \"URL\",512\n\n+SHCONF: \"TIMEOUT\",(30-1800)\n\n+SHCONF: \"BODYLEN\",(0-4096)\n\n+SHCONF: \"HEADERLEN\",(0-350)\n\n+SHCONF: \"POLLCNT\",(1-100)\n\n+SHCONF: \"POLLINTMS\",(500-5000)\n\n+SHCONF: \"IPVER\",(0,1)\n\nOK\nAT+SHCONF=\"URL\",\"http:\/\/www.google.com\"\n\nOK\nAT+SHCONF=\"BODYLEN\",1024\n\nOK\nAT+SHCONF=\"HEADERLEN\",350\n\nOK\nAT+SHCONF=\"TIMEOUT\",60\n\nOK\nAT+SHCONF=\"POLLCNT\",2\n\nOK\nAT+SHCONF=\"POLLINTMS\",200\n\nERROR\nAT+SHCONF=\"IPVER\",0\n\nOK\n\n\n\n\n<\/pre>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/SsJ0r7l1duo\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>Try the below script in the AT Command Tester tool \/\/Script: at+shconf &#8211; Setup server URL on Simcom modules \/\/The AT commands in this script are applicable for Simcom modules only \/\/Check SIMCOM Module AT Command documentation \/\/Get the support &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atshconf-set-up-http-parameters-in-simcom-modules\/\">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-143893","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/143893","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=143893"}],"version-history":[{"count":2,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/143893\/revisions"}],"predecessor-version":[{"id":143897,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/143893\/revisions\/143897"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=143893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}