diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-31 23:20:12 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2020-01-01 01:59:54 +0100 |
commit | 79f5cbcfe332be55fb08d31618c086ee9282eb3d (patch) | |
tree | 2e8a3b09271aa4f641ba4bfb1d86aed3fa94560a /decoders/modbus | |
parent | d94270b928f04ad26ef0cd6f83cd8c6d46d98fc8 (diff) | |
download | libsigrokdecode-79f5cbcfe332be55fb08d31618c086ee9282eb3d.tar.gz libsigrokdecode-79f5cbcfe332be55fb08d31618c086ee9282eb3d.zip |
modbus: Add missing annotation class names.
Diffstat (limited to 'decoders/modbus')
-rw-r--r-- | decoders/modbus/pd.py | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/decoders/modbus/pd.py b/decoders/modbus/pd.py index 83ffbb2..81aaf2a 100644 --- a/decoders/modbus/pd.py +++ b/decoders/modbus/pd.py @@ -822,21 +822,21 @@ class Decoder(srd.Decoder): outputs = ['modbus'] tags = ['Embedded/industrial'] annotations = ( - ('sc-server-id', ''), - ('sc-function', ''), - ('sc-crc', ''), - ('sc-address', ''), - ('sc-data', ''), - ('sc-length', ''), - ('sc-error', ''), - ('cs-server-id', ''), - ('cs-function', ''), - ('cs-crc', ''), - ('cs-address', ''), - ('cs-data', ''), - ('cs-length', ''), - ('cs-error', ''), - ('error-indication', ''), + ('sc-server-id', 'SC server ID'), + ('sc-function', 'SC function'), + ('sc-crc', 'SC CRC'), + ('sc-address', 'SC address'), + ('sc-data', 'SC data'), + ('sc-length', 'SC length'), + ('sc-error', 'SC error'), + ('cs-server-id', 'CS server ID'), + ('cs-function', 'CS function'), + ('cs-crc', 'CS CRC'), + ('cs-address', 'CS address'), + ('cs-data', 'CS data'), + ('cs-length', 'CS length'), + ('cs-error', 'CS error'), + ('error-indication', 'Error indication'), ) annotation_rows = ( ('sc', 'Server->client', (0, 1, 2, 3, 4, 5, 6)), |