From 8059435199acb248caaf554e163a04b07c63e493 Mon Sep 17 00:00:00 2001 From: ndeleeuwmad <110856212+ndeleeuwmad@users.noreply.github.com> Date: Fri, 22 Mar 2024 08:49:23 -0500 Subject: [PATCH] Update eipclient.py Fixed bug where sequence would never inc past 0 --- eeip/eipclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeip/eipclient.py b/eeip/eipclient.py index 5c66b59..e027b6f 100644 --- a/eeip/eipclient.py +++ b/eeip/eipclient.py @@ -749,7 +749,7 @@ def __send_udp(self): # -------------------Length # -------------------Sequence count - sequence += sequence + sequence += 1 if self.__o_t_realtime_format != RealTimeFormat.HEARTBEAT: message.append(sequence & 0xFF) message.append((sequence & 0xFF00) >> 8)