Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
117
packet length
ble rate
Receive channel index
Transmit_channel index
Scrambler seed
no.of packets
payload type
le channel type
tx power
tx mode
hopping_type
antenna selection
inter_pkt_gap
pll_mode
rf_type
rf_chain
24.3.2 IOCTL
The following command can be given to start the transmission
./ble_transmit <Access_Addr> <pkt_length> <ble_rate> <rx_channel_index> <tx_channel_index>
<scrambler_seed> <no_of_packets> <payload_type> <le_channel_type> <tx_power> <tx_mode>
<hopping_type> <ant_sel> <inter_pkt_gap> <pll_mode> <rf_type> <rf_chain>
After the transmission starts, the following command can be given to stop the transmission.
Please stop the transmission before you start again using the command below :
./ble_transmit 0
24.3.3 Description
Access Address : It is a 32-bit address in hexadecimal format, e.g.,00112233
pkt_length : Length of the packet, in bytes, to be transmitted.
ble_rate : 1Mbps - 1 ,2Mbps - 2 , 125Kbps - 4, 500Kbps - 8
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
scrambler_seed : Initial seed to be used for whitening. It should be set to ‘0’ in order to disable whitening. In order
to enable the whitening scrambler seed should be given, which is used on the receive side.
no_of_packets : Number of packets to be transmitted. It is valid only when the <tx_mode> is set to Burst mode.
payload_type : Type of payload to be transmitted
     ‘0’ – Payload consists of all zeros
     ‘1’ – Payload consists of all 0xFF’s
     ‘2’ – Payload consists of all 0x55’s
     ‘3’ – Payload consists of all 0xF0’s
     ‘4’ – Payload consists of PN9 sequence.
le_channel_type : advertising channel - 0 data channel - 1
tx_power : Transmit power value should be between 0 and 18
tx_mode : Burst mode - 0 Continuous mode - 1
hopping_type: no hopping -0   fixed hopping - 1   random hopping - 2
ant_sel : onchip antenna - 2   u.f.l - 3