🏠 Home → Software → RTLV → Commands (downlink) — FPort 10
🤖 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) |
|---|---|---|---|---|---|---|
10.0x10 |
mb_poll_all | action | — | len0. src lorawan_commands_port10.c:770 | ||
10.0x11 |
mb_template_list | query | — | len0; resp 0xF1 [ids...]. src lorawan_commands_port10.c:517 | ||
10.0x12 |
mb_template_define | config | template_id:uint8; entries:bytes |
len = 1 + 5*N. src lorawan_commands_port10.c:545 | ||
10.0x13 |
mb_template_delete | action | template_id:uint8 |
src lorawan_commands_port10.c:601 | ||
10.0x14 |
mb_template_get | query | template_id:uint8 |
src lorawan_commands_port10.c:638 | ||
10.0x15 |
mb_save_config | action | — | len0. src lorawan_commands_port10.c:694 | ||
10.0x16 |
mb_load_config | action | — | len0. src lorawan_commands_port10.c:714 | ||
10.0x17 |
mb_scan_bus | action | start_addr:uint8 (opt); end_addr:uint8 (opt) |
len0=full scan 1..247; len2=[start][end]. src lorawan_commands_port10.c:738 |
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.