Sending Kaa events using raw TCP

烂漫一生 提交于 2019-12-13 16:17:20

问题


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


回答1:


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

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.

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.



来源:https://stackoverflow.com/questions/39356224/sending-kaa-events-using-raw-tcp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!