Expand description
D-STAR Position Reporting System (DPRS).
DPRS is the APRS-equivalent for D-STAR. Position reports are
carried as a special slow-data text block whose payload starts
with $$CRC then APRS-style fields.
Reference: ircDDBGateway/Common/DPRSHandler.cpp:120-260 and
ircDDBGateway/Common/APRSCollector.cpp:371-394 for the CRC
algorithm (CRC-CCITT with reflected polynomial 0x8408,
initial value 0xFFFF, final ~accumulator).
Structs§
- Dprs
Report - A parsed DPRS position report.
- Latitude
- Latitude in decimal degrees, in
-90.0..=90.0. - Longitude
- Longitude in decimal degrees, in
-180.0..=180.0.
Enums§
- Dprs
Error - DPRS sentence parser errors.
Functions§
- compute_
crc - Compute the DPRS CRC-CCITT over the given bytes.
- encode_
dprs - Encode a
DprsReportinto a DPRS sentence with a correct$$CRC<hex>checksum. - parse_
dprs - Parse a DPRS sentence into a
DprsReport.