![Neoway M660 Скачать руководство пользователя страница 77](http://html.mh-extra.com/html/neoway/m660/m660_at-command-manual_1667874077.webp)
Neo_M660 AT Command Set
Copyright © Neoway Technology Co., Ltd
69
AT+TCPACK
+TCPACK: DISCONNECT
The link with the client has not been set up.
Remarks
The values of
<data_sent>
and
<acked_recv>
are unsigned 64-bit integers in decimal
ASCII. The unit is byte.
13 HTTP Commands
13.1 Setting HTTP Parameters: +HTTPPARA
Description
To set HTTP parameters
Format
AT+HTTPPARA=<para>,<para_value><CR>
Parameter
<para>: HTTP parameters, supporting the following two parameters:
url: Destination path
port: Destination port ID
<para_value>: The value of
<para>
. The value of
url
contains at most 128 bytes and
url
supports domain name translation. The default port is 80.
Return
Value
See the Example.
Example
AT+HTTPPARA =url,www.neoway.com.cn/en/index.aspx
OK
Set the Neoway
homepage as the URL.
The URL supports
domain name
translation.
AT+HTTPPARA=url,121.15.200.97/Service1.asmx/GetNote
OK
Set URL.
AT+HTTPPARA=port,80
OK
Set the destination port
ID to 80.
AT+HTTPPARA=port,8080
OK
Set the destination port
ID to 8080.
Remarks
You need to set new HTTP parameters for new HTTP requests.
After you run the
+HTTPCLOSE
command, the link is closed and the HTTP parameters
are cleared.
13.2 Setting Up HTTP Link: +HTTPSETUP
Description
Set up an HTTP link
Format
AT+HTTPSETUP<CR>
Parameter
N/A