Package com.rodrigoandrade.jstds.service
Class LoRaDecoder
java.lang.Object
com.rodrigoandrade.jstds.service.LoRaDecoder
Decodes raw LoRa payloads into mission packets.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodePacket(String rawPayload) Parses the incoming payload and returns the matching telemetry packet.
-
Constructor Details
-
LoRaDecoder
public LoRaDecoder()
-
-
Method Details
-
decodePacket
Parses the incoming payload and returns the matching telemetry packet.- Parameters:
rawPayload- raw string from the serial port- Returns:
- decoded telemetry packet, or null when the payload is invalid
-