Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
121
24.4.2 IOCTL
The following command can be given to start the reception
./ble_receive <access_addr> <data_legth_indication> <scrambler_seed> <ble_rate> <rx_channel_index>
<tx_channel_index> <le_channel_type> <hopping_type> <ant_sel> <loop_back_mode> <pwrsave_options>
<pll_mode> <rf_type> <rf_chain>
After the receive starts, the following command can be given to stop the reception.
./ble_receive 0
24.4.3 Description
Access Address : It is a 32-bit address in hexadecimal format, e.g.,00112233
data_length_indication : 0 – Disable(37 Bytes) 1 – Enable(255 Bytes)
scrambler_seed : Initial seed to be used for whitening. It should be set to ‘0’ in order to disable whitening.
ble_rate : 1Mbps - 1 ,2Mbps - 2 , Long Range(LR) - 4
rx_channel_index : Receive channel index, as per the Bluetooth standard.i.e, 0 to 39
tx_channel_index : Transmit channel index, as per the Bluetooth standard. i.e, 0 to 39
le_channel_type : advertising channel– 0 data channel– 1
hopping_type: no hopping -0   fixed hopping - 1   random hopping - 2
ant_sel : onchip antenna - 2   u.f.l– 3
loop_back_mode : Disable– 0  Enable– 1
pwrsave_options : Disable – 0 Enable– 1
pll_mode : PLL_MODE0 – 0       PLL_MODE1 – 1         PLL_MODE2 –  2
rf_type : External RF – 0 Internal RF – 1
rf_chain: WLAN_HP_CHAIN 0
WLAN_LP_CHAIN 1
BT_HP_CHAIN   2
BT_LP_CHAIN  3
24.4.4 Appendix
Frequencies and channel numbers used for Bluetooth LE Mode are same as BLE TX case.
Examples:
For receiving a BLE-1Mbps Advertising packet with Access Address of 0x71764129 and packet length of 250bytes on
2478MHz with the following parameters
scrambler_seed : 0
hopping_type: disable
ant_sel : u.f.l
loop_back_mode : Disabled
Stop the Reception first before starting of Receiving