tahu icon indicating copy to clipboard operation
tahu copied to clipboard

NDEATH message does not increase the node death count in Ignition - using tahu C library

Open shaila123456789 opened this issue 4 years ago • 1 comments

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

shaila123456789 avatar Sep 16 '20 16:09 shaila123456789

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.

jbrzozoski avatar Sep 28 '20 17:09 jbrzozoski