AT指令解释:《G24 AT Commands Reference Manual》相关.doc

AT指令解释:《G24 AT Commands Reference Manual》相关.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
AT指令解释:《G24 AT Commands Reference Manual》 +MIPCALL, Create a Wireless Link This command sets up a PPP (Point to Point Protocol) connection with the GGSN (Gate GPRS Support Node), and returns a valid dynamic IP for the G24. Example AT+MIPCALL=1,internet,User1,Pswd//Connecting the provider Orange and getting an IP +MIPCALL: 123.145.167.230 AT+MIPCALL=0//The terminal hangs up the link OK +MIPOPEN, Open a Socket (UDP or TCP) This command causes the G24 module to initialize a new socket that waits for a connection from a remote machine or opens a common or TCP secured with SSL connection with a remote side (according to received parameters). Each socket allocates an accumulating buffer whose size is 1372 bytes Example AT+MIPOPEN=1,1200,123.245.213.012,1234,0//Opening socket 1, using TCP protocol, from port 1200,targeting 123.245.213.012 port 1234 +MIPOPEN=2,1300,123.133.074.192,1242,1//Opening socket 2, using UDP protocol, from port 1300,targeting 123.133.074.192 port 1242 +MIPSEND, Send Data This command causes the G24 to store the data that the terminal provides in the accumulating buffer, and then send this data using an existing protocol stack when the amount of data reaches the predefined amount (see “+MIPSETS, Set Size and Timeout for Automatic Push” on 394). Before sending data, a valid connection must be created using the +MIPCALL and +MIPOPEN commands. Motorola recommends that the terminal sets the watermark in the accumulating buffer prior to this command, using the +MIPSETS command. By default, the watermark is set to 1372 bytes of data. Example (Socket 4 was not opened using +MIPOPEN AT command) AT+MIPSEND=4,4444 ERROR AT+MIPSEND=1,4444 +MIPSEND: 1,1370//1372- 2 chars DD = 1370 OK AT+MIPSEND=? ERROR AT+MIPSEND? +MIPSEND: 1,1372 //Sockets 1 and 2 were opened using + MIPOPEN AT command +MIPSEND: 2,1372 //Sockets 1 and 2 were opened using + MIPOPEN AT command OK +MIPPUSH, Push Data into Protocol Stack This command causes the G24 to push the data accumulated in i

文档评论(0)

勤能补拙 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档