Http Client - Ebyte NB183 User Manual

Eight serial port server
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
NB183S&NB183_User Manual
devices.
In this mode, the target address is set to 255.255.255.255, and the sent data will be broadcast on the entire network
segment, but the transceiver device needs to ensure that the ports are consistent, and the device can also receive broadcast
data.
[Note] In UDP mode, the data sent by the network to the device should be less than 512Bit per packet, otherwise it will
cause data loss.

4.4.5 HTTP Client

This mode can realize the function of HTTP automatic packet grouping. It provides two methods: GET and POST.
Customers can configure URL, Header and other parameters by themselves, and the device will send packets to achieve
fast communication between serial data and HTTP server. URL and Header are the most important. It supports 128 bytes
of data for a long time, and the eight channels can independently open the HTTP client mode without affecting each
other.
The HTTP request data should be less than the packet length (512 bytes), otherwise the device will divide the request
data into multiple packets for request, resulting in abnormal request.
Supports configuring whether to return HTTP protocol headers. The returned data is shown in the following figure:
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
19

Advertisement

Table of Contents
loading

Table of Contents