SWRU576 January 2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
The following section details the basic p2p commands for discovery, connection, peer management, authorization, and miscellaneous commands. The subsections also indicate the P2P command details and events generated using the execution of the commands.
Command | Description |
---|---|
p2p_find [timeout (seconds)] [type <social \ progressive>] |
Enables discovery – start sending probe request frames |
p2p_stop_find | Stops discovery, or whatever you are doing (listen mode, connection process, and so forth) |
p2p_connect <device address> <PBC \ PIN> [GO_intent=<0-15> \ auth \ join] | GO_intent – initiate connection to another
device (using entered group intent) Auth – WPS authorize incoming connection Join – connect to an existing GO No input – initiate connection using default GO intent |
p2p_listen [timeout (seconds)] | Enable listen mode |
p2p_group_remove <interface> | Remove device from group, return to device mode if acting as GO or autonomous GO |
p2p_group_add | Become an autonomous GO |
Command | Description |
---|---|
p2p_peers [discovered] | Shows list of discovered peers (with ‘discovered’ – shows only fully discovered peers) |
p2p_peer <address> | Show detailed information about discovered peers |
p2p_flush | Flush p2p_state, and clears the discovered peer list |
Command | Description |
---|---|
wps_pbc | Push button to accept incoming connections |
wps_pin <PIN> <UUID> | Enable WPS enrollee PIN |
Command | Description |
---|---|
p2p_prov_disc <address> <method> | Request provision discovery |
p2p_serv_disc_req <addr> <TLVs> | Send service discovery request |
p2p_serv_disc_cancel_req <id> | Cancel service discovery request |
p2p_serv_disc_resp <freq> <addr> <dialog token> <TLVs> | Service discovery response |
p2p_service_add <bonjour\upnp> <query\version> <response\service> | Add a local service |
p2p_service_del <bonjour\upnp> <query\version> [service] | Remove a local service |
p2p_invite <cmd> [address] | Send invitation to device |
Reconfigure | Wpa_supplicant will re-read configuration file |
Ping | Ping wpa_supplicant (only) |