{"id":145179,"date":"2020-06-16T06:19:10","date_gmt":"2020-06-16T13:19:10","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=145179"},"modified":"2020-06-17T07:39:54","modified_gmt":"2020-06-17T14:39:54","slug":"atcacfg-set-up-the-tcp-connection-parameters-in-the-simcom-modules","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/atcacfg-set-up-the-tcp-connection-parameters-in-the-simcom-modules\/","title":{"rendered":"AT+CACFG -Set up the TCP connection parameters in the Simcom modules"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/06\/at_cacfg.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+cacfg\n\/\/\n\/\/AT+CACFG command is used to configure the TCP\/UDP connection parameters\n\/\/in the Simcom modules only\n\/\/Check SIMCOM Module AT Command documentaiton\n\n\/\/Get the support for the commands\nAT+CACFG=?\n\n\/\/Wait\nWAIT=1\n\n\/\/Get the current TCP configuration\nAT+CACFG?\n\n\/\/Wait\nWAIT=1\n\n\/\/TCP\/UDP wait time\nAT+CACFG=\"TRANSWAITTM\",5\n\n\/\/Wait\nWAIT=1\n\n\/\/TCP\/UDP packet size\nAT+CACFG=\"TRANSPKTSIZE\",1024\n\n\/\/Wait\nWAIT=1\n\n\/\/TCP\/UDP timeout\nAT+CACFG=\"TIMEOUT\",0,10\n\n\/\/Wait\nWAIT=1\n\n\/\/Local import\nAT+CACFG=\"LOCALPORT\",5,10\n\n\/\/Wait\nWAIT=1\n\n\/\/Check the configuration again\nAT+CACFG?\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+CACFG=?\n\n+CACFG: \"TRANSWAITTM\",(0-20)\n\n+CACFG: \"TRANSPKTSIZE\",(1-1460)\n\n+CACFG: \"TIMEOUT\",(0-12),(1-60000)\n\n+CACFG: \"LOCALPORT\",(0-12),(0-65535)\n\n+CACFG: \"REMOTEADDR\",(0-12),64,(1-65535)\n\nOK\nAT+CACFG?\n\n+CACFG: TRANSWAITTM,5\n\n+CACFG: TRANSPKTSIZE,1024\n\n+CACFG: TIMEOUT,0,10\n\n+CACFG: LOCALPORT,0,0\n\nOK\nAT+CACFG=\"TRANSWAITTM\",5\n\nOK\nAT+CACFG=\"TRANSPKTSIZE\",1024\n\nOK\nAT+CACFG=\"TIMEOUT\",0,10\n\nOK\nAT+CACFG=\"LOCALPORT\",5,10\n\nOK\nAT+CACFG?\n\n+CACFG: TRANSWAITTM,5\n\n+CACFG: TRANSPKTSIZE,1024\n\n+CACFG: TIMEOUT,0,10,5,100\n\n+CACFG: LOCALPORT,0,0,5,10\n\nOK\n\n\n\n<\/pre>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/QH7RygtmcFo\" 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+cacfg \/\/ \/\/AT+CACFG command is used to configure the TCP\/UDP connection parameters \/\/in the Simcom modules only \/\/Check SIMCOM Module AT Command documentaiton \/\/Get the support for the commands &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/atcacfg-set-up-the-tcp-connection-parameters-in-the-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-145179","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/145179","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=145179"}],"version-history":[{"count":2,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/145179\/revisions"}],"predecessor-version":[{"id":145233,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/145179\/revisions\/145233"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=145179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}