Http Client Mode - Ebyte E180-DTU User Manual

Hide thumbs Also See for E180-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
In UDP client mode, the device communicates only with the configured remote UDP device (destination IP and destination port).
In this mode, the destination address is set to 255.255.255.255, and the transmitted data will be broadcast in the entire network segment,
but the transceiver device needs to ensure that the port is consistent and the device can also receive the broadcast data.

3.4.5 HTTP client mode

This mode can realize the HTTP packaging function, providing GET and POST two modes, customers can configure URL, header and
other parameters, by the device (serial device server) for packet sending, to achieve fast communication between serial device and HTTP
server, using HTTP client mode It is recommended to use random ports and open short connections to save HTTP server resources.
1. GET
Test the HTTP-GET request of the device in the HTTP mode of OneNET multi-protocol access, as shown in the following figure.
(1)
Returns the data configuration with a header:
Copyright ©2023,成都亿佰特电子科技有限公司
E18-DTU(Z27-ETH) User Manual
15

Advertisement

Table of Contents
loading

Table of Contents