RS9116 n-Link Linux and Android Technical Reference Manual
Version : 2.0
July 2020
28
Note:
wpa_supplicant
version used should be latest one (2.6 or higher) and need to compile with
CONFIG_P2P
and
CONFIG_WPS
flag enable.
After starting the supplicant, the p2p_commands mentioned below should be executed.
To find other P2P networks
#./wpa_cli -i wifi0 p2p_find
To find other P2P devices in range
#./wpa_cli -i wifi p2p_peers
To connect to p2p network
#./wpa_cli -i wifi0 p2p_connect <BSS ID > pbc go_intent=<intent value>
#./wpa_cli -i wifi0 p2p_connect <BSS ID > pbc go_intent=<intent value>
Here the intent value range is between 0 and 15 (Putting intent value to 0 makes p2p device as client and 15 makes
p2p device as group owner). If you are becoming GO, dhcp server should be running on GO Interface.
After becoming p2p-go run below cmd
#./wpa_cli -i wifi0
To recieve each connection request from P2P-Client's every time need to run below cmd in wpa_cli cmd promt.
-> wps_pbc
If p2p-client is RSI p2p-client then we need to run below cmd on RSI P2P-Client side.
#./wpa_cli -i wifi0 p2p_connect <RSI P2P_GO Mac Addr> pbc join
4.5 OneBox-Mobile in Wi-Fi + Bluetooth LE Coexistence Mode
This section describes the installation of Wi-Fi and Bluetooth LE (BLE) modes. Please note that in case of using
Coexistence mode, each protocol should be loaded individually one after the other.
•
Open the common_insert.sh file present in "release" folder.
•
Ensure that the DRIVER_MODE and COEX_MODE as set as below
- DRIVER_MODE = 1
- COEX_MODE = 9 (For WLAN Station and BT LE)