EVK-VERA-P174 - User Guide
UBX-17048707 - R06
Software
Page 23 of 30
4.3
Usage examples
After loading the firmware and the LLC driver, basic tests can be performed using the LLC tool and
the provided plugins. The LLC tool and plugins are installed in the
./bin subdirectory. A list of the
available commands or plugins can be obtained by running the following command:
$ ./llc -c
Some basic plugins and their purpose are described in Table 10.
Plugin
Description
count
Displays the transmit and receive counters for both radios
config
Displays the configuration (mode/antenna/freq) of both radios
txqueue
Displays the state of the Tx MAC, together with the counts of all of the queues
status
Displays the instantaneous status of the radio, including the number of packets that
are queued and also the state of the medium
cfg
Command to read or write the current RadioConfig data, as stored in the baseband
version
Reports the version details of the SDR firmware image
dmesg
Displays the debug print messages of the ARM/VDSP1/VDSP2 processor
rxphylast
Displays details of the last received frames by the PHY
txphylast
Displays details of the last transmitted frames by the PHY
chconfig
Sets the channel configuration for both radios
test-tx
Generates and transmits test packets
test-rx
Receives test packets
Table 10: Description of LLC plugins
☞
The source code for the chconfig, test-rx and test-tx plugins is provided in the
cohda/app/llc/plugin/simtdapi subdirectory.
Instructions on how to use the individual commands are printed with the “--help” option.
$ ./llc <command-name> --help
4.3.1
Transmit and receive counters
Use the command “llc count” to print out transmit and receive counters for both the radios as shown
below.
☞
This command can be used to easily verify the access to the module.
$ ./llc count
RadA Ch0 RadA Ch1 RadB Ch0 RadB Ch1
Tx MAC Unconfigured Frames 0 0 282 0
Tx MAC Failed Enqueue 0 0 0 0
Tx MAC Broadcast Enqueued Frames 5331 0 3 0
Tx MAC Broadcast Success Frames 5331 0 2 0
Tx MAC Broadcast Failed TTL 0 0 0 0
Tx MAC Broadcast Retired Frames 5331 0 2 0
Tx MAC Unicast Enqueued Frames 0 0 0 0
Tx MAC Unicast RTS/CTS Enq Frame 0 0 0 0
Tx MAC Unicast Success Frames 0 0 0 0
Tx MAC Unicast Failed Retry 0 0 0 0
Tx MAC Unicast Failed TTL 0 0 0 0
Tx MAC Unicast Retired Frames 0 0 0 0
Tx MAC Unicast Retry Frames 0 0 0 0
Tx MAC Unicast Ack Frames 0 0 0 0
Tx MAC Unicast RTS Frames 0 0 0 0
Tx MAC Unicast CTS Frames 0 0 0 0