
Ò»¡¢×ÊÁÏÏÂÔØ
USR-G781˵Ã÷Ê飺/Download/440.html
ÉèÖÃÈí¼þ£º/Download/537.htm
¶þ¡¢×¼±¸¹¤×÷
1¡¢USR-G781²úÆ· ÊýÁ¿1¸ö
2¡¢µçÔ´ÊÊÅäÆ÷ 12V ÊýÁ¿1¸ö
3¡¢ÍøÏß ÊýÁ¿1¸ù
4¡¢USB-RS232´®¿ÚÏß ÊýÁ¿1Ìõ
5¡¢µçÄÔ ÊýÁ¿1̨
6¡¢sim¿¨ ÊýÁ¿1ÕÅ
7¡¢4GÌìÏß ÊýÁ¿1¸ù
Èý¡¢Á¬½Ó¿òͼ
ËÄ¡¢ÉèÖò½Öè
É豸²å¿¨½ÓÌìÏߣ¬°´ÕÕÈçÉÏÁ¬½ÓͼÁ¬½Ó£¬É豸Éϵ硣
1¡¢ÔÚÉ豸¹ÜÀíÆ÷Àï¿ÉÒÔ¿´µ½¶ÔÓ¦µÄ´®¿Ú¡£

2¡¢´ò¿ªÅäÖÃÈí¼þ
G781³ö³§Ä¬ÈÏ´®¿Ú²ÎÊýΪ£º²¨ÌØÂÊ115200£¬¼ìÑé/Êý¾Ý/Í£Ö¹£ºNONE/8/1¡£´ò¿ª´®¿Ú¡£
µã»÷½øÈëÅäÖÃ״̬£¬»á´òÓ¡+++ a a OK¡£
µã»÷»ñÈ¡µ±Ç°²ÎÊý£¬Ö®ºó¿ªÊ¼ÅäÖòÎÊý£¬Ñ¡ÔñÍøÂç͸´«Ä£Ê½£¬ÉèÖ÷þÎñÆ÷AºÍB£¬ÆäÖзþÎñÆ÷BΪLAN¿ÚÉ豸IPºÍ¶Ë¿Ú£¬Ò²¿ÉÉèÖÃ×¢²á°üºÍÐÄÌø°ü¡£
´®¿Ú·¢ËÍÁ½ÌõÖ¸ÁÀ´¿ªÆôË«socket¹¦ÄÜ£º
AT+SOCKPIPEEN=ON
AT+SOCKPIPE=SOCKA,SOCKB
×¢Ò⣺ATÖ¸ÁîÒªÒԻسµ»»Ðнáβ¡£
ÉèÖò¢±£´æËùÓвÎÊý£¬É豸ÖØÆô£¬´ý´®¿Ú´òÓ¡Æô¶¯ÐÅÏ¢USR-G781£¬±íʾÆô¶¯Íê³É¡£

3¡¢½«µçÄԵĶ˿ڼàÌý´ò¿ª£¬G781µÄlinkAºÍlinkBָʾµÆ»áÁÁÆðÀ´£¬±íʾÁ½Â·socket³É¹¦½¨Á¢²¢Á¬½Ó¡£ÕâÀïÎÒÉèÖÃÁË×¢²á°ü7777¡£
×¢Ò⣺socketAÁ¬½ÓµÄÊÇÔ¶³Ì·þÎñÆ÷£¬ËùÒÔÉÏÃæÅäÖõĵØÖ·ÊÇ·þÎñÆ÷µØÖ·¡£

×¢Ò⣺
1¡¢Ë«socketת·¢Ö»ÄÜͨ¹ý´®¿Ú·¢Ö¸ÁîʵÏÖ£¬ÆäËûÉèÖÿÉͨ¹ýÄÚÖÃÍøÒ³ÉèÖá£
2¡¢±¾¹¦ÄÜÖ»Ö§³Öת·¢Ò»Â·Íø¿ÚÉ豸Êý¡£
3¡¢½öÖ§³ÖsocketAÓësocketBÖ®¼äµÄÊý¾Ýת·¢¡£
4¡¢½öÖ§³ÖsocketAºÍsocketB×÷ΪTCP Client£¬¼´Á½Â·socketËùÁ¬½ÓµÄ¶Ô¶ËÉ豸»òÕß·þÎñÆ÷£¬Ö»ÄÜ×öTCP server¡£
5¡¢×¢²á°ü¡¢ÐÄÌø°üÉúЧÓÚËùÓеÄsocket¡£