Skip to content

Testing and Certification

These endpoints are intended for hardware testing, qualification, and certification. They are not intended for use in productive deployments.

Note

These endpoints require the recon interface to be enabled.

RX Test

Computes the peak power and frequency of the receiver. Limited to the center frequency of the RX (default: 868.13 MHz +- 100 kHz). The center frequency gets notched out, so it is advised to use a CW tone 10 kHz or more away from the center frequency (e.g. 868.2 MHz).

POST /cgi-bin/rxtest
Content-Type: application/json

Request body can be empty or {}.

Field Type Description
status string ok or error
peakfreq float Peak frequency in Hz
peakpwr float Peak power in dBm
curl -s -X POST \
    -H "Content-Type: application/json" \
    -d '{}' \
    http://172.30.1.2/cgi-bin/rxtest | jq .
{
    "status": "ok",
    "peakfreq": 868200000.0,
    "peakpwr": -45.2
}

TX Test

Transmits a CW tone on the current center frequency (default: 869.525 MHz) and power (default: 24 dBm).

POST /cgi-bin/txtest
Content-Type: application/json
Field Type Required Description
cw bool Yes Enable or disable transmission of a CW tone
Field Type Description
status string ok or error
curl -s -X POST \
    -H "Content-Type: application/json" \
    -d '{"cw": true}' \
    http://172.30.1.2/cgi-bin/txtest | jq .
curl -s -X POST \
    -H "Content-Type: application/json" \
    -d '{"cw": false}' \
    http://172.30.1.2/cgi-bin/txtest | jq .
{
    "status": "ok"
}