diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-06-20 09:31:18 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-06-24 19:11:32 +0200 |
commit | 65a1134ade0ca1cd1f2789819a239cee3ca90b21 (patch) | |
tree | 1fcb6b60d1c01e18b2d4ee9a06e94ccb287b12b1 /decoders/pjon/__init__.py | |
parent | db18ba49bcbe38a9a67297207d821bf0e1e9dc4c (diff) | |
download | libsigrokdecode-65a1134ade0ca1cd1f2789819a239cee3ca90b21.tar.gz libsigrokdecode-65a1134ade0ca1cd1f2789819a239cee3ca90b21.zip |
pjon: introduce decoder for PJON frame inspection
Introduce a protocol decoder which accepts 'pjon-link' Python input and
interprets PJON frames. The implementation is assumed to be operational
but most of the protocol's flexibility (optionally present and variable
width fields) has not yet been tested due to lack of example captures.
During development of the PJON decoder only the PJDL link layer decoder
was available, other link layers were not tested.
Diffstat (limited to 'decoders/pjon/__init__.py')
-rw-r--r-- | decoders/pjon/__init__.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/decoders/pjon/__init__.py b/decoders/pjon/__init__.py new file mode 100644 index 0000000..579fb59 --- /dev/null +++ b/decoders/pjon/__init__.py @@ -0,0 +1,25 @@ +## +## This file is part of the libsigrokdecode project. +## +## Copyright (C) 2020 Gerhard Sittig <gerhard.sittig@gmx.net> +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, see <http://www.gnu.org/licenses/>. +## + +''' +This protocol decoder interprets the PJON protocol on top of the PJDL +link layer (and potentially other link layers). +''' + +from .pd import Decoder |