From 61189985d77d71412db31082d6d9baaa3f1599b7 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 23 Oct 2024 18:52:57 +0000 Subject: [PATCH] Update 'main.py' --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 8a92229..960aeaf 100644 --- a/main.py +++ b/main.py @@ -130,7 +130,7 @@ def main_loop (): print(kwargs) if 'attributes' in kwargs: attr_bytes=gen.attribute_result(kwargs) - zcl_header = payload_header + bytes([seq]) + _rap + zcl_header = payload_header + bytes([seq]) + bytes([_rap]) payload = zcl_header+attr_bytes print(payload) com.fancy_transmit(payload=payload, source_ep=packet['dest_ep'], dest_ep=packet['source_ep'], cluster=packet['cluster'], profile=packet['profile'])