本文介绍了如何使用Thingsboard和MQTT API发布二进制数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每个记事簿文档,默认情况下,ThingsBoard支持JSON中的键值内容.键始终是一个字符串,而值可以是字符串,布尔值,双精度或长整数.也可以使用自定义二进制格式或某些序列化框架.有关更多详细信息,请参见协议自定义.

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...

但是,协议自定义并没有详细说明.有人可以提供有关如何使用其MQTT API在Thingsboard中发布二进制数据的更多详细信息吗?任何帮助将不胜感激.

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.

推荐答案

我在Thingsboard文档(此时为v1.3)中找到了答案.请参阅扩展(插件和操作)开发指南.

I found an answer in the Thingsboard Documentation (v1.3 at this time). Please refer to the Extensions (Plugins and Actions) Development Guide.

这篇关于如何使用Thingsboard和MQTT API发布二进制数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 06:57