Reference Manual
Redpine Signals, Inc. Proprietary and Confidential Page 121
RS9116 n-Link Linux and Android
Technical Reference Manual
Version 2.0
/zb_transmit 0
The “zb_util” utility present in the “release” folder allows the configuration of the channel and also does the collection of
the received statistics in that particular channel.
Command Usage
The “zb_util” command usage is explained below. It has to be issued twice – first to set the channel and then to start/stop
the collection of statistics. The statistics are reported once in every second.
./zb_util set_channel <channel_index>
./zb_util zb_stats <filename>
<channel_index>: This parameter indicates the channel index as per the ZigBee standard.
<filename>: This parameter indicates the file to which the statistics are saved.
The following statistics are returned every second.
crc_pass: The number of packets received which are passed in the CRC check.
crc_fail: The number of packets received which are failed in the CRC check.
rssi: The RSSI value of the last received packet.
24.3 Continuous Wave Transmit Mode
The “zb_util” command is used to configure the device inorder to transmit a continuous wave. The following parameters
can be configured.
• Channel Index
• Start/Stop
• Antenna Select
Command Usage
The command usage is explained below:
/zb_util cw_mode <channel_index> <start/stop> <ant_sel>
<channel_index>: Channel index as per the zigbee standard.
<start/stop>: To start or stop the Continuous Wave mode transmission.
• ‘0’ – start the cw mode transmission
• ‘2’ – stop the cw mode transmission
<ant_sel>: Select one of the two RF ports. They are outlined below:
Modules without integrated antenna - Used to select between pins RF_OUT_1 and RF_OUT_2.
• ‘2’ – RF_OUT_1
• ‘3’ – RF_OUT_2
Modules with integrated antenna and U.FL connector - Used to select between the two
• ‘2’ –U.FL
• ‘3’ –Antenna
Example
. /zb_util cw_mode 26 0 2
The above command starts continuous wave transmission with the following configuration:
Channel index – 26