Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 108
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
Ensure that only Bluetooth is selected in menuconfig.
Run the onebox_insert.sh script present in the "release" folder to install the Driver in Performance Test mode.
Next, follow the instructions below to run the Transmit and Receive tests.
23.3 BT CLASSIC Transmit
The "transmit" utility, present in the "release" folder requires configuring the following parameters to start transmitting
packets.
• Device Address
• Packet Type
• Packet length
• Basic Rate/Enhanced rate indication
• Receive channel index
• Transmit_channel index
• link_type
• scrambler_seed
• no_of_packets
• payload_type
• Transmit power
• Transmitting mode
• hopping_type
• Antenna selection
• inter packet gap
• Pll_mode
• rf_type
• rf_chain
23.3.1 IOCTL
The following command can be given to start the transmission
/bt_br_edr_transmit <dev_addr> <pkt_type> <pkt_length> <br_edr_mode> <rx_channel_index> <tx_channel_index>
<link_type> <scrambler_seed> <no_of_packets> <payload_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.
. /bt_br_edr_transmit 0
1. Stop the Transmission first before starting of Transmission.
2. dev_addr need not be module's BD address, it can be any 48bit BD address. But it should be same for transmit and
receive command.
23.3.2 Description
dev_addr: It is a 48-bit Device Address in hexadecimal format, e.g.,0023A7010203
pkt_type: Type of the packet to be transmitted, as per the Bluetooth standard.
pkt_length: Length of the packet, in bytes, to be transmitted.
br_edr_mode : basic rate - 1 enhanced_rate - 2 or 3
rx_channel_index - Receive channel index, as per the Bluetooth standard.i.e, 0 to 78
tx_channel_index - Transmit channel index, as per the Bluetooth standard. i.e, 0 to 78
link_type : sco - 0 acl - 1 esco - 2