USR-GM35 V2 ¿ªÆôÁ½Â·socketÁ¬½Ó°¸Àý
2019-12-18

GM35V2ÅäÖÃÈí¼þÏÂÔØÁ¬½Ó£ºhttp://www.usr.cn/Download/746.html
ÍøÂçÍØÆËÁ¬½Óͼ£º
1.´ò¿ªGM35v2ÅäÖÃÈí¼þ£¬µ÷½ÚºÃ´®¿Ú²ÎÊý¡£GM35v2ĬÈÏ´®¿Ú²ÎÊýΪ²¨ÌØÂÊ115200£¬Êý¾Ýλ8λ£¬Í£Ö¹Î»1룬ÎÞУÑé.Èçͼ1Ëùʾ¡£
ͼ1
2.ÒÀ´ÎÏò´®¿Ú·¢ËÍÖ¸Á
AT+CIPMUX=1¿ªÆô˫·socketÁ¬½Ó
AT+CSTTÆô¶¯ÈÎÎñ
AT+CIICR ¼¤»îÒƶ¯³¡¾°
AT+CIPSTART=0,"TCP","test.usr.cn",2317 ½¨Á¢µÚһ· TCP Á¬½Ó
AT+CIPSTART=1,"TCP","test.usr.cn",2317 ½¨Á¢µÚ¶þ· TCP Á¬½Ó
Ö¸Áî±ØÐëÒÀÕÕ´Ë˳Ðò½øÐУ¬·ñÔò¿ÉÄÜ·µ»Ø´íÎó»òÕß¿ªÆôÁ½Â·socket²»³É¹¦¡£
Èçͼ2Ëùʾ
ͼ2
3. ÏòµÚÁã·socket·¢ËÍÊý¾Ý£¬Èçͼ3£¨1£©Ëùʾ£¬ÏòµÚһ·socket·¢ËÍÊý¾Ý£¬Èçͼ3£¨2£©Ëùʾ¡£
3£¨1£©
3£¨2£©