Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Plasmamac Guru Joined: 31/01/2019 Location: GermanyPosts: 596
Posted: 07:38am 26 Apr 2021
Copy link to clipboard
Print this post
Hi ,
For my knx project i use a Siemens Knx Adapter which sends the Knx Protokoll over serial. At the moment i open a port read some bytes and compare the bytes with a prerecorded string. The knx system send random strings over the time . Now iam not shure if about the best parsing Technik and if i should close and reopen the port after i get a command. Atm i read a byte and put the chr to a string and the port is always open. Should i close it every command (20 bytes) and reopen the port? Should i use a watchdog to restart the programm ? Iam interested in you workflow for this kind of app. ThxPlasma