CBielstein / APRSsharp

APRS# - Modern APRS software for the amateur radio community
MIT License
12 stars 5 forks source link

Rename `Packet.Encode` to `Packet.EncodeTnc2` #149

Closed CBielstein closed 1 year ago

CBielstein commented 1 year ago

Description

Renames string Packet.Encode() to explicit string Packet.EncodeTnc2() to make way for upcoming AX.25 byte encoding work. AX.25 requires encode to bytes, but TNC2 can encode to string without losing data. Separating the implementations now allows their logic to evolve separately as we go forward.

This is the first PR for #145

Changes

Validation