X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Frfm12%2Fpd.py;h=30653838629495f8dc3cecf8c6cf5637b460489b;hb=0c7d5a56449babeb84013118935c0dacecdadd70;hp=bacd8b15f38d3388d77408851a95219660b170bc;hpb=04ff49263b0a462250d2301e6d4d17db5904a8d3;p=libsigrokdecode.git diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index bacd8b1..3065383 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/pd.py @@ -1,7 +1,7 @@ ## ## This file is part of the libsigrokdecode project. ## -## Copyright (C) 2014 Sławek Piotrowski +## Copyright (C) 2014 Sławek Piotrowski ## ## 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 @@ -25,7 +25,7 @@ class Decoder(srd.Decoder): 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'] @@ -120,7 +120,7 @@ class Decoder(srd.Decoder): self.describe_bits(bits, NAMES) self.describe_changed_bits(bits, old_bits, NAMES) - FREQUENCIES = ['Reserved', '433', '868', '912'] + FREQUENCIES = ['315', '433', '868', '915'] f = FREQUENCIES[(cmd[1] & 0x30) >> 4] + 'MHz' self.putx(1, 2, ['Frequency: ' + f, f]) if cmd[1] & 0x30 != self.last_config & 0x30: