X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fonewire_network%2F__init__.py;h=60907efa0ecb768fad7f5684130e58c364a787bf;hb=d4d8ac2a005a091f23bf89cff2ff6fbfc8fcd739;hp=74b9f4bf658cd43971050ed2706b7a8b4d6cb87e;hpb=24c74fd30fb161837c5f8b01baf3c0fe2dfa4ed5;p=libsigrokdecode.git diff --git a/decoders/onewire_network/__init__.py b/decoders/onewire_network/__init__.py index 74b9f4b..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 .pd import * - +from .pd import Decoder