Starts P2P group formation with a
discovered P2P peer. This includes group owner negotiation, group interface setup,
provisioning, and establishing data connection. P2P_CONNECT <peer device address>
<pbc|pin|PIN#> [label|display|keypad] [persistent] [join|auth]
[go_intent=<0..15>] [freq=<in MHz>]:
- The <pbc|pin|PIN#> parameter
specifies the WPS provisioning method.
- "pbc" string starts push button
method
- "pin" string starts PIN method using
an automatically generated PIN (which will be returned as the command return
code)
- "PIN#" means that a pre-selected PIN
can be used (12345670).
- [label|display|keypad] is used with
PIN method to specify which PIN is used
- "label" = PIN from local label
- "display" = dynamically generated
random PIN from local display
- "keypad" = PIN entered from peer
device label or display).
- "persistent" parameter can be used to
request a persistent group to be formed.
- "join" indicates that this is a
command to join an existing group as a client. It skips the GO Negotiation
part.
- "auth" indicates that the WPS
parameters are authorized for the peer device without actually starting GO
Negotiation (the peer is expected to initiate GO Negotiation). This is mainly for
testing purposes.
- The optional "go_intent" parameter
can be used to override the default GO Intent value.