rhp send¶
Fire a one-shot UI-frame or datagram and exit. Useful for beacons, scripted notifications, APRS-style messages, and bench tests against the mock server.
Usage¶
rhp send --pfam ax25|netrom --radio <port>
--local <call> --remote <call>
[--mode dgram] # default
[--hex] "PAYLOAD"
[-] # read payload from stdin
Examples¶
Behaviour¶
- Opens a socket of the given
--mode(defaultdgram), issues asendtowith the payload, then closes the handle. - Exit code is
0if the server returnserrcode=0, non-zero otherwise. --hexaccepts spaces, dashes, and colons as separators (DEAD-BEEF,DE:AD:BE:EFetc.).
Limits¶
- The single payload is bounded by the 65 535-byte RHP frame limit.
- AX.25 maxlen is dictated by your XRouter port config (
PACLEN).rhp senddoesn't fragment for you; longer-than-paclen UI frames will be rejected by the radio side.