X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fxfp%2Fpd.py;h=86f1e9d1ef192cb0df6fc4d42021a0d139d30c39;hb=0eac71499adc6e046685dc85d980d227fa23a2a8;hp=0bc6724511966f8ba43ba8f94076372b40d3209e;hpb=10aeb8ea8b183394cebc0033f048f49f4262b57d;p=libsigrokdecode.git diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py index 0bc6724..86f1e9d 100644 --- a/decoders/xfp/pd.py +++ b/decoders/xfp/pd.py @@ -27,13 +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):