|Decode kura MQTT message using third party client libraries in C# [message #1586150]
||Mon, 26 January 2015 17:49
| Dan Cristian
Registered: January 2015
I am running kura on a raspberry pi and installed the demo sample package org.eclipse.kura.demo.heater. I use Apache Apollo message broker installed on my machine.
Kura succesfully connects to Apollo and publishes the messages periodically.
I built a small MQTT client in C# .NET using m2mqtt.codeplex.com.
The client connects to Apollo and receives the MQTT messages but I could not find any way to decode the payload which seems to be in a binary format.
I tried to use google protobuf-net libray to decode the payload assumng this is compressed using the google standard but I get all sorts of errors, looks like the format is different than what protobuf can handle.
Is there any way I can decode the kura payload in .NET using some third party library, do I need to write a custom decoder?
Thanks in advance
[Updated on: Tue, 27 January 2015 21:31]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03187 seconds