Reference Manual

Redpine Signals, Inc. Proprietary and Confidential Page 120
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
24 ZigBee Performance Test Application Usage
The steps for showing the usage of ZigBee Performance Test Application are as follows:
Open the common_insert.sh file present in the “release folder. Ensure that the DRIVER_MODE and COEX_MODE are set
as below:
Run the following command in order to install the Driver in Performance Test mode:
# sh zigb_enable.sh or wlan_zigb_insert.sh or onebox_insert.sh script present in the “release” folder as per the
instructions mentioned in the Section 4.1.
Next, follow the instructions mentioned below in order to run the "Transmit" and "Receive" tests.
24.1 ZigBee Transmit Tests
The “zb_transmit” utility, present in the “release” folder, allows the configuration of the following parameters in order to
start the transmission of packets.
Transmit Power
Packet Length
Transmit Mode
Channel Index
Number of Packets
Delay
Command Usage
The “zb_transmit” command usage is explained below:
Where,
<tx_power>: This is the transmit power (in dBm) to be used by the module. The value should be between 0 and 18.
<pkt_length>: This is the length of the packet (in bytes), to be transmitted. Valid range for packet length is [6-127]
<tx_mode>: This parameter is used to choose between Burst and Continuous modes of transmission.
‘0’ – Burst mode
‘1’ – Continuous mode
<channel_index>: This parameter indicates the channel index as per the ZigBee standard.
<no_of_packets>: This is the number of packets to be transmitted. This is valid only when the <tx_mode> is set to Burst
Mode (0).
<delay>[1]: Specifies the delay time between the packets in Burst mode. This parameter is used to introduce a delay time
between any two packets. The delay has to be specified in microseconds. If this value is 0, then the packets will be
transmitted without any delay. This parameter is ignored in the case of Continuous mode of transmission.
24.2 Receive Tests
In order to stop the transmit, the user must issue the following command: