🏠 Home → Software → RTLV → Commands (downlink) — DIAGNOSTICS (FPort 100)
🤖 Auto-generated from firmware (SSOT). Do not hand-edit — change the descriptor and regenerate. RTLV v3 ·
source_hash eb6b51128c1b
A downlink command = [cmd_id][len][params…] — no envelope, no prefix; multi-byte params are BE unless stated. Full command model on the Overview.
| Port.Cmd | Name | Kind | Params | Magic | Example (request) | Notes (verified) |
|---|---|---|---|---|---|---|
100.0x11 |
get_battery_temp | query | — | |||
100.0x12 |
get_memory_stats | query | — | |||
100.0x13 |
get_tx_stats | query | — | |||
100.0x14 |
get_reset_reason | query | — | |||
100.0x15 |
get_lorawan_stats | query | — | |||
100.0x16 |
get_radio_stats | query | — | |||
100.0x17 |
get_gpio_stats | query | gpio_id:uint8 (opt) |
|||
100.0x18 |
get_daily_stats | query | days_back:uint8 (opt) |
|||
100.0x19 |
get_error_log | query | count:uint8 (opt) |
|||
100.0x1A |
get_counter_raw_abs | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x1B |
get_counter_raw_delta | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x1C |
get_counter_hourly_abs | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x1D |
get_counter_hourly_delta | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x1E |
get_counter_daily_abs | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x1F |
get_counter_daily_delta | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x20 |
get_counter_monthly_abs | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x21 |
get_counter_monthly_delta | query | gpio_id:uint8; from_ts:uint32 BE (opt); max_count:uint16 BE (opt) |
len1=[gpio_id]; len7=[gpio_id][from_ts u32 BE][max_count u16 BE]. FEATURE_COUNTER_HISTORY. src counter_history_commands.c | ||
100.0x22 |
get_hart_stats | query | — | FEATURE_HART_MODEM | ||
100.0x23 |
get_lpm_stats | query | — | |||
100.0x80 |
get_rssi_snr | query | — | |||
100.0x8F |
reset_all_stats | action | magic:uint16 BE ==0xDEAD |
0xDEAD | 8F02DEAD |
len2 magic 0xDEAD; wipes lorawan+radio+gpio(all)+daily+errorlog. src lorawan_commands.c:3928 |
100.0x90 |
reset_lorawan_stats | action | — | |||
100.0x91 |
reset_radio_stats | action | — | |||
100.0x92 |
reset_gpio_stats | action | mask:uint8 |
src lorawan_commands.c:3876 | ||
100.0x93 |
reset_daily_stats | action | — | |||
100.0x94 |
reset_error_log | action | — |
Response — 0xF0 COMMAND_RESPONSE 7-byte envelope, then echo-TLVs @ offset 7 (decoded in the response FPort's namespace):
| Offset | Byte | Field | Meaning |
|---|---|---|---|
| 0 | F0 |
prefix | COMMAND_RESPONSE |
| 1 | LEN |
length | bytes after [F0][LEN]; 0x05 for the bare 7-byte header |
| 2 | — | cmd_id | echoed command id |
| 3 | — | status | 0=OK |
| 4 | — | error_code | command error |
| 5 | — | flags | response flags |
| 6 | — | protocol_version | =0x03 (TLV_PROTOCOL_VERSION) |
| 7… | — | echo-TLVs | port-scoped [tag][len][value] |
The
[0xF0][3]…forms in firmware docstrings are stale shorthand — never mirror them.