Http Client; Websocket; Parameter Configuration; Serial Port At Configuration - Ebyte NA611 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
Chapter 7 Baidu Cloud Configuration Tutorial
(3) OneNet
For network communication based on the OneNet cloud platform, you need to log in to OneNet to obtain relevant
parameters, including device ID, product ID, authentication information, etc. For details, please refer to Chapter 7
OneNet Configuration Tutorial.

4.3.5 HTTP Client

When using this function, you only need to configure the corresponding server resource symbol URL, and start a
trigger request to get the resource responded by the server without worrying about the complicated HTTP protocol layer.
For details, see Chapter 7 HTTP Client Configuration Tutorial.

4.3.6 WebSocket

The traditional HTTP transmission protocol is based on access and response. In this way, the server is always
passive and cannot be used for applications that frequently interact between web clients and web servers. The application
of WebSocket function allows E103-W06 devices to pass through the serial port. Real-time interaction with the web page
saves the GET and POST request process initiated by the HTTP client during multiple interactions, improves the
response speed, and the device can actively push data to the web page. See Chapter 7 WebSocket Configuration Tutorial
for details.

4.4 Parameter configuration

There are 3 ways of parameter configuration: AT command configuration based on serial port, remote AT
configuration based on UDP, and web page configuration based on browser. For detailed operation, please refer to
Chapter 6 AT Command Description and Chapter 7 Tutorial.

4.4.1 Serial port AT configuration

When you need to use the serial port AT command to configure the parameters, first send "+++" to enter the AT
mode, and then operate according to the AT command in Chapter 6. After the configuration is completed, some
commands will take effect immediately, and some commands will take effect after restarting, according to the description
of the AT command chapter Prevail. To exit the AT mode, send the command: AT+EXAT. Sending "+++" command at
any time will enter AT mode. But AT+EXAT can only be used in AT mode, otherwise it is used as data transmission.

4.4.2 UDP remote configuration

UDP remote configuration is the parameter configuration performed using network debugging tools under the same
network, which can also be called air configuration. There are two ways to enter the remote configuration: when the
device is in AP mode, the PC is connected to the device; when the device is in STA mode, the PC and the device are
connected to the same router. The device will always listen to a fixed UDP port 8009. When the device and the terminal
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
.
【RS485⇌ WiFi】NA611 User Manual
8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Na611a

Table of Contents