Ö§³ÖÖÐÐÄ
USR-C215 ÒÔHTTP POST·½Ê½ÏòÍøÒ³·þÎñÆ÷Ìá½»Êý¾Ý
2016-12-13


  1£ºHTTPD_ClientÊ×ÒªÓ¦ÓÃÓÚÍøÒ³·þÎñÆ÷£¬GPRSÄ£¿é·¢Ë͵ÄÊý¾Ý£¬¿ÉÒÔ͸´«µ½ÍøÒ³·þÎñÆ÷½ÓÊÕ¡£ÍøÒ³·þÎñÆ÷·µ»ØÊý¾Ý¸øC215Ä£¿éµÄ´®¿Ú¡£ÓÃÓÚ¼à¿Ø´®¿ÚÉ豸¡£

  ¡¾ÊµÏÖ¹¦ÄÜ¡¿£ºÊµÏÖµ¥Æ¬»ú»òÕß´®¿ÚÉ豸·¢ËÍÊý¾Ý£¬Í¨¹ýC215Ä£¿é£¬¿ÉÒÔÖ±½Ó·¢Ë͵½ÍøÒ³·þÎñÆ÷ÉÏ£¬ÍøÒ³·þÎñÆ÷¿ÉÒÔ½ÓÊÕÊý¾Ý£¬¶ÔÊý¾Ý½øÐÐÅжϴ洢µÈ²Ù×÷£¬web·þÎñÆ÷¸ù¾Ý´®¿ÚÉ豸ÇëÇóÊý¾Ý£¬·´À¡ÏàÓ¦µÄ¿ØÖÆÖ¸Áî¡£

  ¡¾½â¾öÎÊÌâ¡¿£ºC215Ä£¿éÒ»°ã͸Ã÷´«ÊäÊý¾ÝÊÇͨ¹ýTCP »òÕßUDP ЭÒ飬ÒÔsocketͨѶµÄ·½Ê½Óë·þÎñÆ÷½¨Á¢Á´½Ó£¬Ä¿Ç°ÓÐÐí¶à¿ØÖƺ;­ÓªÉ豸µÄ·½Ê½²»ÊÇͨ¹ýSOCKETͨѶ£¬ÊÇͨ¹ýwebÍøÒ³¾­ÓªºÍ¿ØÖÆ´®¿ÚÉ豸£¬Ö»ÐèÒª¿Í‘ô¿ÉÒÔÉÏÍø£¬Í¨¹ýä¯ÀÀÆ÷¼´¿É¿ØÖƺͲéѯ´®¿ÚÉ豸µÄÊý¾Ý״̬µÈÐÅÏ¢¡£


  2£ºÍøÒ³·þÎñÆ÷´î½¨¡£ ÔÚÍøÒ³ÉÏÊäÈëÍøÒ³·þÎñÆ÷µÄµØÖ·

C215WiFiÄ£¿éÒÔHTTP POST·½Ê½ÏòÍøÒ³·þÎñÆ÷Ìá½»Êý¾Ý

 

  3£º·¢ËÍÇëÇóÊý¾Ý£¬web·þÎñÆ÷·µ»ØÇëÇóÐÅÏ¢µ½ä¯ÀÀÆ÷

C215 WiFiÄ£¿éÒÔHTTP POST·½Ê½ÏòÍøÒ³·þÎñÆ÷Ìá½»Êý¾Ý

 

  4¡¢ÉèÖÃÁ¬½Ó·ÓÉÆ÷£¬²Î¿¼

  USR-C215Á¬½ÓÎÞÏß·ÓÉÆ÷½øÐоÖÓòÍøͨÐÅ-֪ʶÎÊ´ð-¼ÃÄÏ¿­·¢k8¹ú¼ÊÍø¼¼ÊõÓÐÏÞ¹«Ë¾ http://www.usr.cn/Faq/213.html

  5¡¢Ä£¿éÉèÖòÎÊý£¬ÈçÏÂͼËùʾ£º

  1)´ò¿ªATSetup ATÉèÖÃÈí¼þ£¬½øÈëÖ¸Áîģʽ£º+++a

  2)ʹÄÜHTTPD Client¹¦ÄÜ: AT+TMODE=HTPC

  3)ÉèÖÃÇëÇó·½Ê½ÎªPOST£ºAT+HTPTP=POST

  4)ÉèÖÃÇëÇóµÄHTTP·þÎñÆ÷µØÖ·ºÍ¶Ë¿ÚºÅ£ºAT+HTPSV=test.usr.cn,80

  5)ÉèÖÃÇëÇóµÄURL£¬×50¸ö×Ö½Ú£ºAT+HTPURL=/2.php?

  6)ÉèÖÃÇëÇó³¬Ê±Ê±¼ä(ms)£ºAT+HTPTO=10

  7)ÉèÖÃHTTP±¨Í·£ºAT+HTPHD=Accept:text/html[0D][0A]Accept-Language:zh-CN[0D][0A]User-Agent:Mozilla/5.0[0D][0A]Connection: Keep-Alive[0D][0A]

C215WiFiÄ£¿éÒÔHTTP POST·½Ê½ÏòÍøÒ³·þÎñÆ÷Ìá½»Êý¾Ý

  6¡¢½«WiFiÄ£¿éµÄ´®¿ÚÁ¬½Óµ½µçÄÔ´®¿Ú£¬Ê¹Óô®¿Úµ÷ÊÔÖúÊÖ·¢ËÍÌá½»Êý¾Ý,±ÈÈç8888£¬²âÊÔ·þÎñÆ÷ÊÕµ½µÄ±¨ÎÄÈçÏÂͼËùʾ

C215WiFiÄ£¿éÒÔHTTP POST·½Ê½ÏòÍøÒ³·þÎñÆ÷Ìá½»Êý¾Ý


¹Ø×¢ÓÐÈË΢ÐŹ«ÖÚºÅ
Á˽â¸ü¶àÐÅÏ¢

sitemap¡¢µØͼ