kaa icon indicating copy to clipboard operation
kaa copied to clipboard

KAA-1654: Add CoAP transport to Kaa

Open elysoly opened this issue 9 years ago • 20 comments

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.

elysoly avatar Dec 04 '16 10:12 elysoly

Can one of the admins verify this patch?

kaa-leeroy avatar Dec 04 '16 10:12 kaa-leeroy

@kaa-leeroy test this please

Oldnickus avatar Dec 05 '16 19:12 Oldnickus

Hi, Alexey. Thanks for your kind response. I considered your comments and applied necessary changes. I've pushed the result already.

elysoly avatar Dec 08 '16 09:12 elysoly

@kaa-leeroy test this please

rasendubi avatar Dec 08 '16 12:12 rasendubi

@kaa-leeroy test this please

rasendubi avatar Dec 13 '16 14:12 rasendubi

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?

rasendubi avatar Dec 14 '16 15:12 rasendubi

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

elysoly avatar Dec 15 '16 09:12 elysoly

I've created KAA-1654 for this implementation.

akokhanovskyi avatar Dec 20 '16 11:12 akokhanovskyi

Thank you guys , Should I close this PR? Is everything alright?

elysoly avatar Dec 20 '16 18:12 elysoly

@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.

akokhanovskyi avatar Dec 21 '16 09:12 akokhanovskyi

@kaa-leeroy test this please

odovhai avatar Feb 10 '17 19:02 odovhai

@kaa-leeroy test this please

Slash32 avatar Feb 13 '17 15:02 Slash32

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 avatar Feb 19 '17 13:02 elysoly

@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? :)

odovhai avatar Feb 28 '17 18:02 odovhai

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.

Simple_use_of_coap.tar.gz

elysoly avatar Mar 01 '17 18:03 elysoly

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

odovhai avatar Mar 07 '17 17:03 odovhai

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 ;)

elysoly avatar Mar 11 '17 15:03 elysoly

Dear @elysoly , i work on kaa coap protocol for my theses too , may you help and can i use ur researches for my theses ?!?!?

MehrAmoon avatar Dec 15 '18 13:12 MehrAmoon

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?

elysoly avatar Dec 21 '18 20:12 elysoly

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]

MehrAmoon avatar Dec 30 '18 08:12 MehrAmoon