summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-rw-r--r--decoders/onewire_network/onewire_network.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/decoders/onewire_network/onewire_network.py b/decoders/onewire_network/onewire_network.py
index 2dba54a..ab11ea4 100644
--- a/decoders/onewire_network/onewire_network.py
+++ b/decoders/onewire_network/onewire_network.py
@@ -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):