X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fonewire_network%2F__init__.py;h=60907efa0ecb768fad7f5684130e58c364a787bf;hb=6cbba91f23b9f9ace75b4722c9c0776b9211008d;hp=25b3f5d4cce3d7b32bb793830b36efee0b140931;hpb=6188e4e41ef0d9468a1b9f9bad5637ca862d73df;p=libsigrokdecode.git diff --git a/decoders/onewire_network/__init__.py b/decoders/onewire_network/__init__.py index 25b3f5d..60907ef 100644 --- a/decoders/onewire_network/__init__.py +++ b/decoders/onewire_network/__init__.py @@ -1,5 +1,5 @@ ## -## This file is part of the sigrok project. +## This file is part of the libsigrokdecode project. ## ## Copyright (C) 2012 Uwe Hermann ## @@ -14,12 +14,12 @@ ## 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, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## ''' -1-Wire protocol decoder (network layer). +This decoder stacks on top of the 'onewire_link' PD and decodes the +1-Wire protocol (network layer). The 1-Wire protocol enables bidirectional communication over a single wire (and ground) between a single master and one or multiple slaves. The protocol @@ -31,11 +31,6 @@ is layered: Network layer: -Protocol output format: -TODO. - -Annotations: - The following link layer annotations are shown: - RESET/PRESENCE True/False @@ -58,5 +53,4 @@ TODO: - Add reporting original/complement address values from the search algorithm. ''' -from .onewire_network import * - +from .pd import Decoder