tahu
tahu copied to clipboard
NDEATH message does not increase the node death count in Ignition - using tahu C library
Hello,
I am checking the sample test code from tahu C library, from "develop" branch. The code registers itself with NDEATH message as will message and the same gets published by MQTT broker after the test code exits; but the same is not getting reflected in Ignition system. I can see node birth count getting increased with each NBIRTH message, but node death count remains 0. The payload for NDEATH message as captured in MQTT.fx is as follows: { "metrics": [], "seq": 0 }
Can you please help me with this ?
-Thanks, S
The sample application doesn't make use of bdSeq
which I believe is required for MQTT Engine to count the node death properly. This metric is optional according to the specification, but I agree we should add it's usage to the example.
This is unfortunately low on my priority list, but I will try and get to it soon.