问题
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