使用原始 TCP 发送 Kaa 事件
Sending Kaa events using raw TCP
我想使用原始 TCP 将事件发送到 Kaa 平台,我不想为此使用生成的 SDK,所以我想问一下有什么办法可以做到这一点吗?
我在哪里可以找到在没有 SDK 的情况下手动使用 Kaa TCP 协议的文档。
提前致谢
简答:不,你不能这样做。
KaaTCP protocol responsible for transport and Binary platform protocol (there is also Avro-based platform protocol) which responsible for serializing Kaa services. You can try to implement this protocols by yourself or reuse and adjust existed code on GitHub 上有满足您需求的规范,但自定义实现需要付出很多努力。
在 1.0.0 版中,计划实现一种无需生成 SDK 即可通过 REST 或流行的物联网协议(如 CoAP 或 MQTT)与服务器通信的能力。
我想使用原始 TCP 将事件发送到 Kaa 平台,我不想为此使用生成的 SDK,所以我想问一下有什么办法可以做到这一点吗? 我在哪里可以找到在没有 SDK 的情况下手动使用 Kaa TCP 协议的文档。 提前致谢
简答:不,你不能这样做。
KaaTCP protocol responsible for transport and Binary platform protocol (there is also Avro-based platform protocol) which responsible for serializing Kaa services. You can try to implement this protocols by yourself or reuse and adjust existed code on GitHub 上有满足您需求的规范,但自定义实现需要付出很多努力。
在 1.0.0 版中,计划实现一种无需生成 SDK 即可通过 REST 或流行的物联网协议(如 CoAP 或 MQTT)与服务器通信的能力。