]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/onewire_network/onewire_network.py
srd: onewire_link: Annotations shouldn't be ALLCAPS.
[libsigrokdecode.git] / decoders / onewire_network / onewire_network.py
index 2dba54ac90aadaa6a8a2a0e349a204b20021204d..ab11ea4436b4ce0f5db82caec843e794d95e8827 100644 (file)
@@ -24,14 +24,14 @@ import sigrokdecode as srd
 
 # Dictionary of ROM commands and their names, next state.
 command = {
-    0x33: ['READ ROM'              , 'GET ROM'   ],
-    0x0f: ['CONDITIONAL READ ROM'  , 'GET ROM'   ],
-    0xcc: ['SKIP ROM'              , 'TRANSPORT' ],
-    0x55: ['MATCH ROM'             , 'GET ROM'   ],
-    0xf0: ['SEARCH ROM'            , 'SEARCH ROM'],
-    0xec: ['CONDITIONAL SEARCH ROM', 'SEARCH ROM'],
-    0x3c: ['OVERDRIVE SKIP ROM'    , 'TRANSPORT' ],
-    0x69: ['OVERDRIVE MATCH ROM'   , 'GET ROM'   ],
+    0x33: ['Read ROM'              , 'GET ROM'   ],
+    0x0f: ['Conditional read ROM'  , 'GET ROM'   ],
+    0xcc: ['Skip ROM'              , 'TRANSPORT' ],
+    0x55: ['Match ROM'             , 'GET ROM'   ],
+    0xf0: ['Search ROM'            , 'SEARCH ROM'],
+    0xec: ['Conditional search ROM', 'SEARCH ROM'],
+    0x3c: ['Overdrive skip ROM'    , 'TRANSPORT' ],
+    0x69: ['Overdrive match ROM'   , 'GET ROM'   ],
 }
 
 class Decoder(srd.Decoder):