CBielstein / APRSsharp

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

Consider refactor of Packet.cs to pull out smaller classes #77

Closed CBielstein closed 2 years ago

CBielstein commented 3 years ago

Description

Packet.cs is extremely long and has a lot of potential to refactor out smaller pieces of code. Logic around handling specific fields can and should be abstracted out of the Packet class. This would make development and testing much easier and perhaps make the file less intimidating to new developers.

Examples of opportunity here include basically all of the Handle... or Decode... methods in to various types: InformationField, MaidenheadGrid, etc.

Acceptance Criteria