summaryrefslogtreecommitdiff
path: root/decoders/sdq
AgeCommit message (Collapse)Author
2020-08-12sdq: simplify decode routine, no state machine requiredGerhard Sittig
Move the initial synchronization to the input data out of the main loop, and handle the BREAK symbol when it was seen. Turns out that no state machine is required to decode the SDQ protocol. [ best viewed as a whitespace ignoring diff ]
2020-08-12sdq: only use samplerate and options values after validity checkGerhard Sittig
Move the calculation which involves the samplerate as well as user provided options out of the meta packet reception and to the top of the decode() method. Especially only use the samplerate after it was tested for availability.
2020-08-12sdq: use common bits to number conversionGerhard Sittig
2020-08-12sdq: Add the SDQ protocol decoderPhilip Ã…kesson
[ gsi: minor whitespace adjustment ]