使用原始TCP发送Kaa事件 [英] Sending Kaa events using raw TCP

查看:165
本文介绍了使用原始TCP发送Kaa事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用原始TCP将事件发送到Kaa平台,并且我不想为此使用生成的SDK,所以我想问问有什么办法吗? 在哪里可以找到不使用SDK手动使用Kaa TCP协议的文档. 预先感谢

I want to send events to Kaa platform using raw TCP and I don't want to use generated SDK for this, so I want to ask is there any way for doing this ? And where can I find the documentation for using Kaa TCP protocol manually without SDK. Thanks in advance

推荐答案

简短的回答:不,您不能这样做.

Short answer: no, you can't do this.

关于 KaaTCP协议的规范,该规范负责传输和二进制平台协议(还有基于Avro的平台协议),它负责序列化 Kaa服务.您可以尝试自己实现该协议,也可以根据需要但自定义实现,在 GitHub 上重用和调整现有代码.需要很多努力.

There is a specification on 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 for your needs but custom realization takes a lot of effort.

在1.0.0版中,计划通过REST或流行的IoT协议(例如CoAP或MQTT)实现与服务器通信的功能,而无需生成SDK.

In release 1.0.0 planned to implement an ability to communicate with the server without generated SDK just via REST or popular IoT protocols such as CoAP or MQTT.

这篇关于使用原始TCP发送Kaa事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆