Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 31
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
4.6 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)
Note:
For SDIO mode, ensure that the SDIO stack related modules are already inserted in the kernel refer Appendix A:
Configuration of Kernels from 3.13 and above section to install sdio stack modules .
1. Follow the instructions in section 4.4.1 Installation in Wi-Fi Client Mode, inorder to install the Wi-Fi Client mode.
2. Run the bt_enable.sh or wlan_bt_insert.sh or onebox_insert.sh script present in the "release" folder as per the
instructions present in the section 4.1 inorder to start the Bluetooth LE mode. This script inserts Bluetooth modules as
well as common HAL modules, provided if it is not inserted initially.
3. You can check whether the BLE mode has been started successfully or not, by running the following command:
If the driver is loaded correctly, the above command displays a network adaptor named "hciX". An example output is given
below:
4. After the device is up, we can Advertise, Scan and Connect with other BLE devices. The device can be configured using
hcitool or hciconfig.
4.6.1 Advertise, Scan, Connect Commands
The commands for Advertise, Scan and Connect are as follows:
Enable Advertise
Disable Advertise
Initiate Scan