MQTT object gets destroyed when connection is lost

hi all,

when my patch loses internet connectivity, my mqtt object gets destroyed. (or something)
all mqtt nodes downstream start throwing errors “object not set to a reference of that object”
when I plug in the cable again, and the mqtt service is “connected,” it starts working

For the sake of easy implementation: it would be great if the mqtt nodeset could handle that error internally, without me building try regions around every mqtt node.

there are two different mqtt nugets. which one are you referring to?

we are using M2MQTT atm

thanks, this is now fixed in version 0.4.1-alpha of the VL.IO.M2MQTT pack

1 Like