##
## This file is part of the libsigrokdecode project.
##
-## Copyright (C) 2014 Sławek Piotrowski <slawomir.piotrowski@payu.pl>
+## Copyright (C) 2014 Sławek Piotrowski <sentinel@atteo.org>
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
id = 'rfm12'
name = 'RFM12'
longname = 'RFM12 control protocol'
- desc = 'Protocol for controlling RFM12 wireless transceivers from HoperRF'
+ desc = 'HopeRF RFM12 wireless transceiver control protocol.'
license = 'gplv2+'
inputs = ['spi']
outputs = ['rfm12']
('interpretation', 'Interpretation', (5,)),
)
- def __init__(self, **kwargs):
+ def __init__(self):
self.mosi_bytes, self.miso_bytes = [], []
self.mosi_bits, self.miso_bits = [], []
self.row_pos = [0, 0, 0]
else:
c = '%02x %02x' % tuple(cmd)
r = '%02x %02x' % tuple(ret)
- self.putx(0, 16, ['Uknown command: %s (reply: %s)!' % (c, r)])
+ self.putx(0, 16, ['Unknown command: %s (reply: %s)!' % (c, r)])
def decode(self, ss, es, data):
ptype, mosi, miso = data