Chengdu Ebyte Electronic Technology Co., Ltd.
E103-W03 _User Manual _EN_V1.1
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd
.
20
7.Restart the module and wait for the module to connect to the hotspot and Tcp Server for data
transmission
So far, the communication between the STA role and the PC has been established.
Note: Some mobile phones may not have the data forwarding function due to their own technical reasons, so you need to
pay attention.
6.1.1.3 UDP protocol transmission under AP role
This example will demonstrate protocol transmission in AP mode.
1.* Set role: AP, transmission mode: protocol transmission, service type: UDP
AT+MODE=1,2,3
2.* Set the local port number
AT+SVRPORTIP=4001
3.* Set the UDP communication list, this step is to distinguish the source of UDP data, you can set 4 groups.
AT+SOCKET=0,4001,192.168.1.2
AT+SOCKET=1,4002,192.168.1.2
AT+SOCKET=2,4003,192.168.1.2
AT+SOCKET=3,4004,192.168.1.2