]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/onewire_network/__init__.py
All PDs: Only import the 'Decoder' object.
[libsigrokdecode.git] / decoders / onewire_network / __init__.py
index 25b3f5d4cce3d7b32bb793830b36efee0b140931..44b9bcc700a1d3e57e8f55177b5e93968bd9e42a 100644 (file)
@@ -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 <uwe@hermann-uwe.de>
 ##
@@ -19,7 +19,8 @@
 ##
 
 '''
-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 +32,6 @@ is layered:
 
 Network layer:
 
-Protocol output format:
-TODO.
-
-Annotations:
-
 The following link layer annotations are shown:
 
  - RESET/PRESENCE True/False
@@ -58,5 +54,4 @@ TODO:
  - Add reporting original/complement address values from the search algorithm.
 '''
 
-from .onewire_network import *
-
+from .pd import Decoder