From 65a1134ade0ca1cd1f2789819a239cee3ca90b21 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sat, 20 Jun 2020 09:31:18 +0200 Subject: 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. --- decoders/pjon/__init__.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 decoders/pjon/__init__.py (limited to 'decoders/pjon/__init__.py') 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 +## +## 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 . +## + +''' +This protocol decoder interprets the PJON protocol on top of the PJDL +link layer (and potentially other link layers). +''' + +from .pd import Decoder -- cgit v1.2.3-70-g09d2