Ebyte E103-W03 Product Instruction Manual page 29

Cc3220r 2.4ghz wifi serial port module
Hide thumbs Also See for E103-W03:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
E103-W03 User Manual
6.1.2.3 P2P communication of WiFi-Direct
WiFi-Direct is a point-to-point connection, and the configuration process is as follows when using it.
1. * First configure to P2P mode, two modules send AT commands at the same time: AT+MODE=3,1,1
2. *Then select one of the modules and configure it as GroupOwner, and send commands to set connection parameters
(see Configuration, Read WiFi-Direct (P2P) connection parameters for instructions):
AT+P2PDEVINFO=20,1,E103-W03WiFiDirectGo,E103-W03WiFiDirectClient
1. Query the socket local port and IP address (or):
AT+P2PSOCKET?
4. *Finally configure another module as Client, send commands to set connection parameters:
AT+P2PDEVINFO=20,0,E103-W03WiFiDirectClient,E103-W03WiFiDirectGo
5. * Configure the remote port and address, and set the IP address and port of the GroupOwner queried in the previous
step to the Client (the IP address and port of this part must be obtained after querying the GroupOwner, otherwise
communication cannot be established)
AT+SVRPORTIP=4001,192.168.1.1
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
29

Advertisement

Table of Contents
loading

Table of Contents