Expand description
TH-D75-specific APRS integration.
Generic packet-radio protocols live in their own workspace crates:
- [
kiss_tnc] — KISS TNC wire framing. - [
ax25_codec] — AX.25 frame codec. aprs— APRS parser, digipeater,SmartBeaconing, messaging, station list.aprs_is— APRS-IS TCP client.
This module contains only the D75-specific glue: client::AprsClient
owning a Radio and KissSession;
mcp_bridge for MCP-memory ↔ runtime SmartBeaconingConfig conversion;
and D75-specific helpers like ax25_ui_frame, ax25_to_kiss_wire,
parse_digipeater_path, and default_digipeater_path.
§TH-D75 KISS TNC specifications (per Operating Tips §2.7.2, User Manual Chapter 15)
- TX buffer: 4 KB, RX buffer: 4 KB.
- Speeds: 1200 bps (AFSK) and 9600 bps (GMSK).
- The built-in TNC does NOT support Command mode or Converse mode; it enters KISS mode directly.
- The data band frequency defaults to Band A; changeable via Menu No. 506.
- USB or Bluetooth interface is selectable via Menu No. 983.
- To exit KISS mode: send KISS command
C0,FF,C0(192,255,192). To re-enter KISS mode from PC: send CAT commandTN 2,0(Band A) orTN 2,1(Band B).
§References
- KISS protocol: http://www.ka9q.net/papers/kiss.html
- AX.25 v2.2: http://www.ax25.net/AX25.2.2-Jul%2098-2.pdf
- APRS spec: http://www.aprs.org/doc/APRS101.PDF
- TH-D75 User Manual, Chapter 15: Built-In KISS TNC
Modules§
- client
- Integrated APRS client for the TH-D75.
- mcp_
bridge - Bridge between MCP (radio memory) and runtime APRS types.
Functions§
- ax25_
to_ kiss_ wire - Encode an
Ax25Packetas a KISS-framed data frame ready for the wire. Equivalent to wrapping [build_ax25] in [encode_kiss_frame] withport = 0andcommand = Data. - ax25_
ui_ frame - Build a minimal APRS UI frame with the given source, destination, path, and info field. Control = 0x03, PID = 0xF0.
- default_
digipeater_ path - Build the default digipeater path as
Ax25Addressentries (WIDE1-1,WIDE2-1). - parse_
digipeater_ path - Parse a digipeater path string like
"WIDE1-1,WIDE2-2"into addresses.