Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 114
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
IOCTL Command:
./bt_br_edr_receive 111111111111 1 15 339 0 1 10 10 0 3 0 0 1 2
23.5 BLE/BLR Transmit
23.5.1 Introduction
The "transmit" utility, present in the "release" folder requires configuring the following parameters to start transmitting
packets.
• Access address
• 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
23.5.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.
. /ble_transmit 0
Stop the Transmission first before starting of Transmission
23.5.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