From b197383cfb39b39ff04644855eef57f5d3c18bc1 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 16 Jun 2017 16:27:08 +0200 Subject: Mark all stacked decoders as being PD API version 3. This is not really relevant for stacked PDs currently (they can be used unmodified with either PDv2 or PDv3 low-level decoders), but it'll allow us to drop PDv2 support completely. --- decoders/modbus/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/modbus/pd.py') diff --git a/decoders/modbus/pd.py b/decoders/modbus/pd.py index 3420f99..2404312 100644 --- a/decoders/modbus/pd.py +++ b/decoders/modbus/pd.py @@ -811,7 +811,7 @@ class Modbus_ADU_CS(Modbus_ADU): self.check_crc(bytecount + 12) class Decoder(srd.Decoder): - api_version = 2 + api_version = 3 id = 'modbus' name = 'Modbus' longname = 'Modbus RTU over RS232/RS485' -- cgit v1.2.3-70-g09d2