|
Myriota Flex SDK 2.6.0
|
This example demonstrates how to read the radio signal strength (RSSI) and display a live monitoring dashboard directly on your serial console.
To run this example, you must enable RSSI calculation support during the build process. Add the flag -Drssi_calc_support=true to your build settings.
You can fine-tune the test behavior by modifying the following constants in the example source code:
SAMPLES_COUNT: Defaults to 1 to provide rapid screen updates for this demo. Because raw RF signals naturally fluctuate, it is highly recommended to increase this value (e.g., to 5 or 10) for deployments to calculate a stable, accurate average.READ_INTERVAL_MS: The delay (in milliseconds) between consecutive readings.START_DELAY_MS: The initial delay (in milliseconds) before the test begins.The RSSI values displayed are read directly from the radio chip's receiver and do not account for the RF front-end circuitry.
If you need these readings to perfectly align with calibrated test equipment (such as a signal generator), compensation factors must be applied. Please contact suppo.nosp@m.rt@m.nosp@m.yriot.nosp@m.a.co.nosp@m.m for further information.
You can use this application to measure ambient background radio noise, which can impact the device's downlink performance.
Be aware that standard USB cables and wall power supplies often introduce artificial electrical noise into the system. For the most accurate, real-world environmental test, follow these steps:
SAVE_LOGS is set to 1 in the code to save data directly to the device's non-volatile memory. Note: Ensure all previous logs are cleared from the device before starting the test, otherwise new readings may be dropped.