Counting Incoming and Outgoing Messages from a Gateway
-
Hello everyone,
I would like to be able to count the messages passing through an MQTT gateway in order to generate statistics. The idea would be to count the received messages, sent messages, and perhaps the NACKs!
I can successfully count the incoming messages from the nodes with void receive(), but I can't manage to do this for the outgoing messages. Is there any way to do this?Thank's
-
Hello everyone,
I would like to be able to count the messages passing through an MQTT gateway in order to generate statistics. The idea would be to count the received messages, sent messages, and perhaps the NACKs!
I can successfully count the incoming messages from the nodes with void receive(), but I can't manage to do this for the outgoing messages. Is there any way to do this?Thank's
-
@mfalkvidd
Thank you very much, that's exactly what I was looking for!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login