From 1cacf52827f6bfcf991f08b8c4efef8044a81107 Mon Sep 17 00:00:00 2001 From: djwlindenaar <32413299+djwlindenaar@users.noreply.github.com> Date: Sat, 12 Sep 2020 12:07:52 +0200 Subject: Fix mistaken request bit in byte 5 of the CAN message The request bit was not set in the CAN message, therefore many parameters did not return on my ULX3600o/HV. With this bit set all return --- comlynx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comlynx.py') diff --git a/comlynx.py b/comlynx.py index d708ed3..658959f 100644 --- a/comlynx.py +++ b/comlynx.py @@ -391,7 +391,7 @@ class CanRequest(Message): self._data[2] = 0xd0 # self._data[3] = parameter_index # Parameter index self._data[4] = parameter_sub_index # parameter sub-index - self._data[5] = 0x00 + self._data[5] = 0x80 self._data[6] = 0x00 self._data[7] = 0x00 self._data[8] = 0x00 -- cgit v1.2.1