SWRU576 January 2021 WL1801MOD , WL1805MOD , WL1807MOD , WL1831MOD , WL1835MOD , WL1837MOD
The following section details the P2P connection with the PIN method. Below are the general steps:
The Flow of commands shows a case where the EVM#1 is the GO and invites EVM#2.
Step # | EVM #1 | EVM #2 |
Comments |
---|---|---|---|
1 | Run: p2p_start.sh | Run: p2p_start.sh | cd /usr/share/wl18xx/ ./p2p_start.sh |
2 | Run: p2p_cli.sh | Run: p2p_cli.sh | ./p2p_cli.sh |
3 | p2p_group_add freq=2412 | ||
4 | exit wpa_cli ( on EVM#1) | type: quit | |
5 | Reenter wpa_cli using the newly created p2p-wlan0-0 interface on EVM#1 | wpa_cli -ip2p-wlan0-0 | |
6 | wps_pbc | ||
7 | wait after the remote "p2p_find" | ||
8 | p2p_find | ||
9 | p2p_invite group=p2p-wlan0-0 peer=EVM#2_MAC_ADDRESS | ||
10 | p2p_connect EVM#1_MAC_ADDRESS pbc join | ||
11 | exit wpa_cli | exit wpa_cli | type: quit |
12 | Acquire IP address for p2p-wlan0-0 | Acquire IP address for p2p-wlan0-0 | EVM#1: ifconfig p2p-wlan0-0 192.168.3.3 EVM#2: ifconfig p2p-wlan0-0 192.168.3.4 |
13 | Verify connection with ping | EVM#1: ping 192.168.3.4 EVM#2: ping 192.168.3.3 |