Ebyte E103-W02 User Manual page 33

Serial wifi smd small volume pcb antenna mqtt
Hide thumbs Also See for E103-W02:
Table of Contents

Advertisement

network role of STA, demonstrating the setup process and the use of A B 2.
3.5.1 Setting Process
1. Enter AT mode, so that the current network role is in STA mode
+++ AT+ROLE=STA
2. Connect the destination WIFI (AP), access the network AT+STA=EBYTE,2,JSZXE880
3. Switch the mode, set the working mode to MULTIC mode AT+MODE=MULTIC
4. Set the connection information of SOCKET A, connect to the destination server, the connection type is TCP
AT+SOCKA=ON,TCP,192.168.0.136,7788,7789
5. Set the connection information of SOCKET B, connect to the destination server, the connection type is UDP
AT+SOCKB=ON,UDP,192.168.0.136,7688,7689
6,Reboot to take effect command AT+RST
3.5.2A B Generic Client Access Server Demonstration
The operation of a complete set of AT commands in MULTIC mode is shown in the following diagram.
If more than 2 links are established and the links are of TCP type, it is necessary to ensure that the server (TCP) is
established before the module is restarted, for the reasons explained in the notes later.
as shown in the following figure.
When the serial port sends data, it is sent as a broadcast to each server connected to the module client, and the data sent

Advertisement

Table of Contents
loading

Table of Contents