Chengdu Ebyte Electronic Technology Co., Ltd.
E103-W03 _User Manual _EN_V1.1
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd
.
26
3
、
* Restart the module, wait for the connection, and communicate.
6.1.2.3 P2P communication of WiFi-Direct
WiFi-Direct is a point-to-point connection, the configuration process is as follows.
1
、
* First configure to P2P mode, the two modules send AT command at the same time: AT+MODE=3,1,1
2
、
*Then select one of the modules to be configured as GroupOwner, and send an instruction to set the connection
parameters (see configuration, read WiFi-Direct(P2P) connection parameters for instruction description):
AT+P2PDEVINFO=20,1,E103-W03WiFiDirectGo,E103-W03WiFiDirectClient
3
、
Query the socket local port and IP address (or):
AT+P2PSOCKET?