Smart Home Automation Forum
A16 crashing when using string driver - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25)
+--- Thread: A16 crashing when using string driver (/showthread.php?tid=6636)



A16 crashing when using string driver - brendon - 09-09-2024

Hi there,

I am writing a TCP string driver for our AV system and I have the board going, and the inputs/outputs work, I am getting feedback.

However, if i send commands quickly it seems to be able to easily overwhelm the board and it crashes - it will reset and work again after a short while. 
I'd understand if it was a lot of packets, but I'm literally sending 1 a second and that's enough to crash the board - it should be able to handle this faster than I can click without issues?

I am only sending one string at a time, either all on, all off, or a multi-on which does a bitwise operation on the AV side and sends the correct string.

Can you advise why this is?

Thanks


RE: A16 crashing when using string driver - admin - 09-09-2024

what KCS firmware verison you are using?
what command list you have sent?
if you can take a video, we can test as your steps.


RE: A16 crashing when using string driver - brendon - 09-22-2024

Sorry, I missed this reply.

I have fixed the issue by doing ordered commands on the tcp driver. I would imagine the same would work with the string driver (ie waiting for the code to return its feedback before processing new code).

Thanks for the very fast reply!


RE: A16 crashing when using string driver - admin - 09-22-2024

ok, good.