X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fxfp%2Fpd.py;h=86f1e9d1ef192cb0df6fc4d42021a0d139d30c39;hb=db18ba49bcbe38a9a67297207d821bf0e1e9dc4c;hp=9bca10bc8ac44fe1619cc6b57f7375dc733fe5fc;hpb=d6d8a8a440ea2a81e6ddde33d16bc84d01cdb432;p=libsigrokdecode.git diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py index 9bca10b..86f1e9d 100644 --- a/decoders/xfp/pd.py +++ b/decoders/xfp/pd.py @@ -27,14 +27,18 @@ class Decoder(srd.Decoder): id = 'xfp' name = 'XFP' longname = '10 Gigabit Small Form Factor Pluggable Module (XFP)' - desc = 'Data structure describing display device capabilities.' + desc = 'XFP I²C management interface structures/protocol' license = 'gplv3+' inputs = ['i2c'] - outputs = ['xfp'] + outputs = [] tags = ['Networking'] annotations = ( - ('fieldnames-and-values', 'XFP structure field names and values'), - ('fields', 'XFP structure fields'), + ('field-name-and-val', 'Field name and value'), + ('field-val', 'Field value'), + ) + annotation_rows = ( + ('field-names-and-vals', 'Field names and values', (0,)), + ('field-vals', 'Field values', (1,)), ) def __init__(self):