I am using MQTT Protocol for months and now it's time to rearrange a view things.
My question is, if there is any posibility to transmit a JSON File via MQTT as a Node Parameter. What I still managed is getting a single value (Sensor.DigitalValue or a Sensor.AnalogValue) to my MQTT Broker. Also serializing a String to JSON is working.
Does anyone have a hint?
are you talking about your own MQTT broker or EasyIOT cloud (MQTT broker)?
also I am not sure what you mean by JSON file? do you mean a normal JSON string? as you cant attach a file to MQTT.
Any MQTT broker will except any json as long as its a string.
What I meant is transmitting JSON as a string to my own MQTT Broker.
That allready worked for my cases connecting Arduino Controller to the broker.
Now I want to be able to send JSON string via MQTT driver from EasyIOT Server(local not cloud) to my broker. Sending a single value, e.g. digital or analog value works as expected.