This PR refactors the ground station parsing logic and header classes so that exceptions are thrown and caught when attempting to create a class with an invalid field value.
These values could include
Invalid packet version for PacketHeader
Invalid BlockType for BlockHeader
Invalid DataBlockSubtype for BlockHeader
Invalid DeviceAddress for BlockHeader
Any exception thrown by a header class is caught in telemetry_utils.py. The process will discard the entire packet upon catching an exception.
This PR refactors the ground station parsing logic and header classes so that exceptions are thrown and caught when attempting to create a class with an invalid field value.
These values could include
Any exception thrown by a header class is caught in
telemetry_utils.py
. The process will discard the entire packet upon catching an exception.Closes #85