kaa
kaa copied to clipboard
KAA-1654: Add CoAP transport to Kaa
I have been working on adding CoAP transport support to Kaa project. Now I pushed final results of my work. Hope to receive your comments about it.
Can one of the admins verify this patch?
@kaa-leeroy test this please
Hi, Alexey. Thanks for your kind response. I considered your comments and applied necessary changes. I've pushed the result already.
@kaa-leeroy test this please
@kaa-leeroy test this please
KAA-1640 has been fixed and the current Jenkins failure is caused by the changes in the PR.
@elysoly could you please look at Jenkins logs to see what's wrong?
Hi Alexye , Based on Transport provisioning part of kaa document for creating custom transport, I've added some config files to /etc/kaa-node/conf/ on my computer that specifies bind port and public port for coap transport. (files are attached and port numbers are 5683 & 5684). I think loss of these files caused failure. I don't know how can I attach them to my pushed project and also if these port numbers are available for you or not. @rasendubi http://docs.kaaproject.org/display/KAA/Creating+custom+transport#Creatingcustomtransport-Transportprovisioning config files.tar.gz
I've created KAA-1654 for this implementation.
Thank you guys , Should I close this PR? Is everything alright?
@elysoly Hi! Please don't delete the PR: we have planned in a more in-depth code and architecture review into the current sprint. We will come back to you soon, likely with more suggestions on improvements, etc.
Thanks for your patience while we review your PR.
@kaa-leeroy test this please
@kaa-leeroy test this please
Dear @odovhai
Based on Transport provisioning part of kaa document for creating custom transport, I've added some config files to /etc/kaa-node/conf/ on my computer that specifies bind port and public port for coap transport. (files are attached and port numbers are 5683 & 5684). I think loss of these files caused failure. I don't know how can I attach them to my pushed project and also if these port numbers are available for you or not but I've faced org.springframework.beans.factory.BeanCreationException and after long time debugging , I found out that problem was about port conflict on my laptop.
hope my experience be helpful.
http://docs.kaaproject.org/display/KAA/Creating+custom+transport#Creatingcustomtransport-Transportprovisioning config files.tar.gz
@elysoly Thank's a lot, I've added those files to kaa/server/node/src/main/resources/ and it has fixed issues with integration tests. I've also created a separate PR for it. The only one thing we need to have some simple examples of using new functionality. Would you be so king to provide us some of them so that we could make a completely described integration and further improvements? :)
Dear @odovhai , It would be my pleasure to be of any help. I've attached my simple kaa application (in client-side) that uses coap channel to send simple messages to server. In my server-side version, I added lines of code in /server/transports/coap/transport/.../CoapHandler.java as an implementation for handlePOST method. In other words, I didn't use kaa notification to test; but I've checked that transmitted messages be carried over coap protocol. I hope these files be helpful but let me know if I misunderstood you or can make any further help.
Dear @elysoly , We very appreciate your contribution to Kaa Project and to the Community. Based on your example we created a Simple Demo application. This PR will be merged soon and we put on the agenda some discussions about CoapHandler implementation and developments of further Demo Apps related to CoAP transporting. There is a chance we can ask you about some other details related to the feature, so let's keep in touch :)
Best Regards, Kaa Project Team
Dear @odovhai It's my great honor to be joining Kaa Community as a contributor. Thank you for your guide and help. I'll stay in touch for any further information you might require ;)
Dear @elysoly , i work on kaa coap protocol for my theses too , may you help and can i use ur researches for my theses ?!?!?
Dear @elysoly , i work on kaa coap protocol for my theses too , may you help and can i use ur researches for my theses ?!?!?
Hi, Yes sure, my thesis is written in Persian, could it be useful for you?
Dear @elysoly , i work on kaa coap protocol for my theses too , may you help and can i use ur researches for my theses ?!?!?
Hi, Yes sure, my thesis is written in Persian, could it be useful for you?
yes, Im Persian too. could you plz email it ?!?! mine is [email protected]