Link test for running on FlockLab 2. Two modes are supported:
- point-to-point (measures packet reception ratio (PRR), RSSI, and CRC errors)
- flooding
- See instructions for flora apps
- Set the configuration parameters in
app_config.h
:- Choose the mode for the link test, i.e. set exactly one of the two defines to 1:
TESTCONFIG_P2P_MODE
,TESTCONFIG_FLOOD_MODE
- For point-to-point link tests: set all
TESTCONFIG_xxx
andRADIOCONFIG_xxx
defines - For flooding link tests: set all
TESTCONFIG_xxx
andFLOODCONFIG_xxx
defines
- Choose the mode for the link test, i.e. set exactly one of the two defines to 1:
- Build the project using the IDE
- Run
./Scripts/run_linktest.py
(requires theflocklab-tools
andGitPython
python packages)
- Run eval script:
./Scripts/eval_linktest.py [testno]
(Results are then available as generated.html
and.pkl
files in./data/
.)