{"id":146216,"date":"2020-07-01T07:46:21","date_gmt":"2020-07-01T14:46:21","guid":{"rendered":"https:\/\/m2msupport.net\/m2msupport\/?page_id=146216"},"modified":"2020-07-01T07:53:21","modified_gmt":"2020-07-01T14:53:21","slug":"tcp-ip-testing-with-quectel-modules","status":"publish","type":"page","link":"https:\/\/m2msupport.net\/m2msupport\/tcp-ip-testing-with-quectel-modules\/","title":{"rendered":"TCP\/IP testing with Quectel  Modules"},"content":{"rendered":"<h3>Steps to test TCP\/IP with Quectel Modules<\/h3>\n<ul>\n<li>Verify that the device is registered with the network provider<\/li>\n<li>Configure the APN for a PDP context using\u00a0 the AT+QICSGP command.<\/li>\n<li>Activate the PDP context using\u00a0 the AT+QIACT command<\/li>\n<li>Open a TCP connection to the remote server using the AT+QIOPEN command.<\/li>\n<li>Check the connection state using the AT+QISTATE command.<\/li>\n<li>Send TCP data using the AT+QISEND command<\/li>\n<li>Monitor for the +QIURC unsolicited command from the module that indicates that the device has received remote data<\/li>\n<li>Read the server response using the AT+QIRD command<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/download-at-command-tester-for-simcom-modules\/\">AT Command Tester<\/a> Tool provides an interface to test the TCP connection with the Quectel modules.<\/p>\n<p>In this example,<\/p>\n<ul>\n<li>TCP connection is made to remote server &#8216;postman-echo.com&#8217;<\/li>\n<li>HTTP formatted data is sent to the remote server<\/li>\n<li>The remote server echos the IP address of the device which is received by the module.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/07\/quectel_tcp.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-146221\" src=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/07\/quectel_tcp.png\" alt=\"\" width=\"859\" height=\"735\" srcset=\"https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/07\/quectel_tcp.png 859w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/07\/quectel_tcp-300x257.png 300w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/07\/quectel_tcp-768x657.png 768w, https:\/\/m2msupport.net\/m2msupport\/wp-content\/uploads\/2020\/07\/quectel_tcp-600x513.png 600w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/a><\/p>\n<div class=\"video-responsive\"><iframe loading=\"lazy\" id=\"youTubePlayer\" src=\"https:\/\/www.youtube.com\/embed\/GZxyxPxf_Bo\" width=\"750\" height=\"421\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steps to test TCP\/IP with Quectel Modules Verify that the device is registered with the network provider Configure the APN for a PDP context using\u00a0 the AT+QICSGP command. Activate the PDP context using\u00a0 the AT+QIACT command Open a TCP connection &hellip; <a href=\"https:\/\/m2msupport.net\/m2msupport\/tcp-ip-testing-with-quectel-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":"software_howto.php","meta":{"footnotes":""},"class_list":["post-146216","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/146216","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=146216"}],"version-history":[{"count":3,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/146216\/revisions"}],"predecessor-version":[{"id":146222,"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/pages\/146216\/revisions\/146222"}],"wp:attachment":[{"href":"https:\/\/m2msupport.net\/m2msupport\/wp-json\/wp\/v2\/media?parent=146216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}