GS2101M IP2WiFi Adapter Command Reference Guide
1VV0301499
Rev. 2.0
127
2019-08-05
5.4.6 Provision Discovery
This command is used to send provisioning discovery request to given peer with the given
configuration method and wait for provisioning discovery response.
Command Syntax
AT+P2PPD=<peer P2P device MAC address>,<WPS configration
method><CR>
Usage
Upon receiving this response, the host should issue connect or join command with
displayed PIN.
Parameter Description
describes the Provision Discovery parameters.
Response
1. If the configuration method is push button, then the peer will push the button upon
receiving the provisioning discovery request. When the provisioning discover
response comes back, the following response is sent to host: p2p-prov-disc-resppbc.
Upon receiving this response, the host should issue connect or join command.
2. If the configuration method is “display” (option 1), then peer will display the PIN on
receiving the provisioning discovery request that we would use in connect/join
command. Once the provisioning discovery response comes back, the following
response is sent to host: p2p-prov-disc-respenter pin. Upon receiving this response,
the host should issue connect or join command with the PIN displayed on the peer.
3. If the configuration method is “keypad” (option 2), then peer will enter the PIN that
we would display. Once the provisioning discovery response comes back from peer,
the following response is sent to host: p2p-prov-disc-respdisplay pin <PIN>.
Synchronous Response
describes the synchronous responses and remarks for the Provision
discovery command.
Table 108 Provision Discovery Parameters
Parameter
Optional/Mandatory
Value
Description
Peer P2P device
MAC address
Mandatory
N/A
The MAC address of the peer P2P device to
send provisioning discovery request.MAC
address is extracted from the list of devices
discovered in P2Pfind phase(xx.xx.xx.xx.xx)
WPS configuration
method
Mandatory
0
Request peer P2P device to push button
1
Request peer P2P device to display PIN that
would be used for connection/join
2
Request peer P2P device to enter PIN that
would be generated/displayed by the initiator
of provision discovery request.