thomassorensen2650 / node-red-contrib-mqtt-sparkplug-plus

A node that makes it simple to implement MQTT Sparkplug in Node-Red
21 stars 6 forks source link

Unable to "close" the connection to the broker #47

Closed mpfj closed 5 months ago

mpfj commented 5 months ago

I am trying to test a simple open / send / close test flow. All is working fine except when I "close" the link by sending a "death" command, the TCP link itself remains "connected". The broker appears to be receiving the death packet correctly.

Is this by design ?

If so, how can I actually close the link ? We are intending to use some form of satellite comms link so being able to open / close the link on command would be needed to reduce on-going operating costs.

Cheers

thomassorensen2650 commented 5 months ago

Hi.

That's unfortunately not possible at the moment. We do have a connect command for EON, but we do not have a disconnect command.

mpfj commented 5 months ago

No problem ... if I need to I guess I can just close the connection abruptly and TCP will sort it all out !!