X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=decoders%2Fpan1321%2Fpan1321.py;h=da981f25438f098734c18d12fa26fc4977923f4f;hb=5ea8b024da82871d4054356f8a645c8d61bbcd47;hp=e89b6a0f8097b9440de071891466a61dc0dbe508;hpb=b9e44d1e0964f5c6c99ec52b68a5a6e0bc1ac633;p=libsigrokdecode.git diff --git a/decoders/pan1321/pan1321.py b/decoders/pan1321/pan1321.py index e89b6a0..da981f2 100644 --- a/decoders/pan1321/pan1321.py +++ b/decoders/pan1321/pan1321.py @@ -18,17 +18,10 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -# # Panasonic PAN1321 Bluetooth module protocol decoder -# -# TODO -# import sigrokdecode as srd -# Annotation feed formats -ANN_ASCII = 0 - # ... RX = 0 TX = 1 @@ -38,8 +31,7 @@ class Decoder(srd.Decoder): id = 'pan1321' name = 'PAN1321' longname = 'Panasonic PAN1321' - desc = 'TODO.' - longdesc = 'TODO.' + desc = 'Bluetooth RF module with Serial Port Profile (SPP).' license = 'gplv2+' inputs = ['uart'] outputs = ['pan1321'] @@ -47,7 +39,7 @@ class Decoder(srd.Decoder): optional_probes = [] options = {} annotations = [ - ['ASCII', 'TODO: description'], + ['Text', 'Human-readable text'], ] def __init__(self, **kwargs):