Login on a repeater opens the console (rooms: More > Admin Console). A command line sends CLI commands (SEND_TXT_MSG with txt_type CLI); replies, which the radio delivers as CLI-type DMs, go to the console instead of the conversation. Status (SEND_STATUS_REQ -> 0x87) shows the repeater's RepeaterStats: battery, uptime, queue, noise, last RSSI/SNR, packet counts, airtime, dups and errors. Telem (SEND_TELEMETRY_REQ -> 0x8B) decodes the Cayenne LPP readings. Cmds lists common commands and Read settings (ten gets); items ending in ... go into the command line to finish. One request at a time, the rest queued; no answer is reported after the radio's estimate plus 8 s. remote_fmt.c (builders, parsers, text) is pure C and host-tested; the console and screen are in segment 3 (12.4 KB).
10 lines
209 B
C
10 lines
209 B
C
#ifndef VM_REMOTE_FORM_H
|
|
#define VM_REMOTE_FORM_H
|
|
|
|
#include <PalmOS.h>
|
|
#include "sections.h" /* this module is in the third code segment */
|
|
|
|
Boolean RemoteFormHandleEvent(EventType *event) VM_SECT3;
|
|
|
|
#endif
|