Communication Between The Roles Sta And Udp - Ebyte NA611 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
At this point, communication with the PC under the STA role has been established. Note: Some mobile phones may
not have data forwarding function due to their own technology, so you need to pay attention.

5.1.3 Communication between the roles STA and UDP

This example will demonstrate protocol transmission in AP mode.
(1) Setting 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. 4 groups can be set.
AT+SOCKET=0.4001,10.145.45.2
AT+SOCKET=1.4002,10.145.45.2
AT+SOCKET=2.4003,10.145.45.2
AT+SOCKET=3.4004,10.145.45.2
This is just for demonstration, and the actual value is set according to your needs.
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
【RS485⇌ WiFi】NA611 User Manual
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Na611a

Table of Contents