问题
Per Thingsboard documentation, By default, ThingsBoard supports key-value content in JSON. Key is always a string, while value can be either string, boolean, double or long. Using custom binary format or some serialization framework is also possible. See protocol customization for more details...
However, the protocol customization does not say much details. Can someone give more details about how to do publish binary data in Thingsboard using its MQTT API? Any help would be appreciated.
回答1:
I found an answer in the Thingsboard Documentation (v1.3 at this time). Please refer to the Extensions (Plugins and Actions) Development Guide.
来源:https://stackoverflow.com/questions/47428516/how-to-publish-binary-data-using-thingsboard-and-mqtt-api