EasyManua.ls Logo

b&t RTL8720D - ATPD-Delete a Connection

Default Icon
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
中山市博安通通信技术有限公司
ZHONGSHAN B&T TECHNOLOGYCo., Ltd
Page 18 of 34
18Initiate a TCP connection with host:port failed for ssl client
19memory allocation failed for ssl context structure
20ssl context initialization failed
21ssl handshake failed
22hang node failed for ssl client
Example
# ATPN=B&T-1,test123456
[ATPN] OK
//Create a tcp server using the socket tool
# ATPC=0,192.168.20.112,10086
#
[ATPC] OK
[ATPC] con_id=1
4.3
ATPD-delete a connection
ATPD=<con_id>
Description
Close the connection
Response
Success
[ATPD] OK
Fail
[ATPD] ERROR:<error_no>
Parameter
con_id:
0: close all connections
1 ~ 9: disable the specified connection
Error code
1: The Command format error.
2: Parameter error
3:con_id not found
Example
# ATPD=3
[ATPD] OK
4.4
Data sent by ATPT
ATPT=<data_size>,<con_id>:<data>
Description
Send data
Response
Success
[ATPT] OK ,<con_id>
Fail
[ATPT] ERROR:<error_no>
Parameter
data_size: data length
con_id: 1~9
data: payload data
Error
1: The Command format error.