CarletonURocketry / ground-station

The ground station software used to interface with the ground station LoRa board and distribute signals from the rocket across websocket connections.
https://carletonurocketry.github.io/ground-station/
MIT License
7 stars 6 forks source link

Have PakcetHeader `src_addr` field validate against Device Header #93

Closed EliasJRH closed 6 months ago

EliasJRH commented 6 months ago

Closes #86

This PR changes the PacketHeader class to validate it's src_addr field against the DeviceAddress enum rather than keeping it a string, it also makes the invalid field error more generic