03.02.2022, 07:19
Hello,
I'm working on DALI emergency lighting test and alarm system with Spacelynk.
KNX-Dali gateway gives me test result of EM converter in DPT 245.600 format (6-byte). Format is N4N4N4N2N2N2N2U16U8, where eg. the highest 4-bit set is telling the result of last funtion test (numeric values 1-4 possible).
Any ideas how can I pick different set of bits / bytes to own variables with Lua?
I'm working on DALI emergency lighting test and alarm system with Spacelynk.
KNX-Dali gateway gives me test result of EM converter in DPT 245.600 format (6-byte). Format is N4N4N4N2N2N2N2U16U8, where eg. the highest 4-bit set is telling the result of last funtion test (numeric values 1-4 possible).
Any ideas how can I pick different set of bits / bytes to own variables with Lua?