Channel Port - Ebyte EBT3002 T6 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
ProductKey: a1GlhuTU1yN,
DeviceName: DEV04,
DeviceSecret ":" xxxxxxxxxxxxxxxxxxxxxxxxxxxx "
}
Alibaba Cloud server address: ProductKey. iot as mqtt. cn shanghai. aliyuncs. com: 1883
Topic for subscription and publication:/a1GlhuTU1yN/DEV04/user/1234
Alibaba Cloud MQTT platform communication testing:

4.5 Channel Port

Random port:
TCP clients, UDP clients, HTTP clients, and MQTT clients can configure the local port to 0
(using random local ports). The server mode cannot use random ports, otherwise the client cannot
establish a connection correctly (the device is not listening to the port correctly).
Using a random port connection can quickly reestablish the connection when the device
accidentally disconnects the server, preventing the server from rejecting the connection due to four
incomplete waves. It is recommended to use a random port in client mode.
The device will automatically configure random ports when configuring TCP client, HTTP client,
and MQTT client modes at AT, which can be customized and cancelled.
Static port:
Copyright ©2012–2023,Chengdu Ebyte Electronic Technology Co., Ltd.
EBT3002 User Manual

Advertisement

Table of Contents
loading

Table of Contents