![Redpine Signals RS9113 EVB User Manual Download Page 23](http://html.mh-extra.com/html/redpine-signals/rs9113-evb/rs9113-evb_user-manual_1429981023.webp)
Redpine Signals, Inc. Proprietary and Confidential
Page 23
R
R
S
S
9
9
1
1
1
1
3
3
M
M
o
o
d
d
u
u
l
l
e
e
E
E
v
v
a
a
l
l
u
u
a
a
t
t
i
i
o
o
n
n
K
K
i
i
t
t
U
U
s
s
e
e
r
r
G
G
u
u
i
i
d
d
e
e
V
V
e
e
r
r
s
s
i
i
o
o
n
n
2
2
.
.
0
0
4)
Run the “bt_insert.sh” script present in the /home/OneBox-
Mobile/<interface> folder to start the Bluetooth Classic mode. This
script inserts Bluetooth modules and common HAL modules if not
already inserted.
5)
You can check whether the BLE mode has been started successfully
by running the following command:
# hciconfig
If the driver is loaded correctly, the above command displays a
network adaptor named “hciX”. An example output if given below:
hci0:
Type: BR/EDR Bus: SDIO
BD Address: 00:23:A7:00:05:68 ACL MTU: 1021:8 SCO MTU:
30:8
UP RUNNING PSCAN
RX bytes:478 acl:0 sco:0 events:20 errors:0
TX bytes:331 acl:0 sco:0 commands:19 errors:0
6)
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
OneBox-Mobile in Wi-Fi + Zigbee Coexistence Mode
This section describes the installation of WiFi and Zigbee (ZB) modes.
Note that to use the Coexistence mode, each protocol should be loaded
individually one after the other.
1)
Open the common_insert.sh file present in “/home/OneBox-
Mobile/<interface>” using the gvim editor.
2)
Ensure that the DRIVER_MODE and COEX_MODE as set as below
a.
DRIVER_MODE = 1
b.
COEX_MODE = 3
NOTE: For SDIO mode, ensure that the SDIO stack related modules are
already inserted in the kernel. Follow the steps below for this:
# cd /home/OneBox-Mobile/SDIO
# sh load_stack.sh
# lsmod
Verify that the output of the “lsmod” command lists the sdhci.ko,
sdhci_pci.ko, mmc_block.ko and mmc_core.ko modules. This is a one-
time process and need not be repeated unless the modules are explicitly
removed by the user.
3)
, to install the Wi-Fi Client
mode.
4)
Run the “zigb_insert.sh” script present in the /home/OneBox-
Mobile/<interface> folder to start the Zigbee mode. This script inserts
Zigbee modules and common HAL modules if not already inserted.