![Ebyte E103-W03 Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/ebyte/e103-w03/e103-w03_product-instruction-manual_3841760023.webp)
Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W03 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
23
7. Restart the module and wait for the module to connect to the hotspot and Tcp Server for data transmission
So far, the communication with the PC in the STA role has been established.
Note: Some mobile phones may not have data forwarding function due to their own technical reasons, so you need to pay
attention.
6.1.1.3 UDP protocol transmission under the 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, and 4 groups can be set.
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
This is just for demonstration, and the actual value can be set by itself as needed.