diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-06-15 13:37:18 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-06-24 19:09:54 +0200 |
commit | db18ba49bcbe38a9a67297207d821bf0e1e9dc4c (patch) | |
tree | 59179cf166cbd0d727d9afd46ae867a3c75f6f5a /decoders/adf435x/__init__.py | |
parent | 36d499e09aaf4e6145a32b732632a99fec1b3d57 (diff) | |
download | libsigrokdecode-db18ba49bcbe38a9a67297207d821bf0e1e9dc4c.tar.gz libsigrokdecode-db18ba49bcbe38a9a67297207d821bf0e1e9dc4c.zip |
pjdl: introduce decoder for PJON single wire serial link layer
Introduce a protocol decoder which generates 'pjon-link' output from
'logic' input by interpreting the PJDL single wire serial communication
link layer of the PJON protocol stack. This decoder extracts frame
markers, data bytes, as well as their pad/sync decoration. Inspection of
data values, or checks for frame validity remain the responsibility of a
stacked decoder which is shared among several link layer types.
This implementation "violates" the PJDL spec in those places where the
spec is incomplete or vague, and real world traffic would not decode at
all when the strict letter of the spec is applied instead of its spirit.
When in doubt, the decoder implementation errs to the usability side.
Carrier sense detection is incomplete in this version. Data extraction
works for all currently available captures. Recovery from synchronization
loss after glitches is acceptable. Glitch filtering is missing (the spec
is silent on this subject).
Diffstat (limited to 'decoders/adf435x/__init__.py')
0 files changed, 0 insertions, 0 deletions