I use Windows 11 and my application has been developed by myself in C# using some NuGet modules as an example to have a MQTT server. I have done a little program to verify if zigbee2mqtt has died in order to launch it again. But this issues cause an interruption of service. Thus, I have downloaded como0com and I have developed a little program to connect to a CONBEE II dongle in one side and zigbee2mqtt in the other. The little program read and write messages in both directions. Then, I have seen CONBEE II was unexpectedly close due to a crash in my program when reading available number of bytes in reception buffer because of the CONBEE II serial port was closed, but my program doesn't close any serial port before the exit point after typing ESC. However, I have programed an Open before using the serial port of CONBEE II in order to avoid it were closed when it is going to be used and I think the problem is missing. I think the dongle closed the port when certain circumstances arrive. I have then increase the four buffer to 16384 bytes, although I don't know if this las measure is useful.
What did you expect to happen?
I haven't seen your code. I suppose yo can write a serial port open in any place according to the structure of zigbee2mqtt.
What happened?
I use Windows 11 and my application has been developed by myself in C# using some NuGet modules as an example to have a MQTT server. I have done a little program to verify if zigbee2mqtt has died in order to launch it again. But this issues cause an interruption of service. Thus, I have downloaded como0com and I have developed a little program to connect to a CONBEE II dongle in one side and zigbee2mqtt in the other. The little program read and write messages in both directions. Then, I have seen CONBEE II was unexpectedly close due to a crash in my program when reading available number of bytes in reception buffer because of the CONBEE II serial port was closed, but my program doesn't close any serial port before the exit point after typing ESC. However, I have programed an Open before using the serial port of CONBEE II in order to avoid it were closed when it is going to be used and I think the problem is missing. I think the dongle closed the port when certain circumstances arrive. I have then increase the four buffer to 16384 bytes, although I don't know if this las measure is useful.
What did you expect to happen?
I haven't seen your code. I suppose yo can write a serial port open in any place according to the structure of zigbee2mqtt.
How to reproduce it (minimal and precise)
It is only a question of time (in my system).
Zigbee2MQTT version
1.36.0
Adapter firmware version
Last in deconz ftp site
Adapter
CONBEE II
Setup
EXE from surveillance EXE
Debug log
No response