-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CoAP over TCP transport layer #1047
Comments
Californium - Complete the experimental CoAP over TCP implementation Beside of the integration of BERT (TCP-blockwise) in 3.0, no further progress. From my side, still no plans to work on the TCP stuff. Help and contributions will be welcome. |
Some very very experimental implementation at #1312 |
Currently, I think there is some not so clear point in LWM2M over CoAP over TCP. |
The current idea would be to implement this based on Californium. (another idea would be to try another library) See : https://github.com/eclipse-californium/californium/wiki/CoAP-over-TCP So if we want to go further on this feature, the next step would probably be to implement missing feature in Californium. (at least what seems to be mandatory for our LWM2M use case) Thinking a bit about that I bet that this will bring lot of API break in Californium. |
Maybe we ask some developers of a C-library, which features that C-library supports/requires? |
Clearly, a first step would be to just target a Minimal Viable Feature. (not a full implementation of the RFC) I guess LWM2M use case will also bring some more new Californium API need (especially all about controlling/monitoring TCP connection lifetime) but it's not so clear to me for now.
Yep It could help to define the scope of this Minimal Viable Feature. |
Done via e-mail. I added you to cc. |
The answer's we get by mail from @mrdeep1
|
I just tested californiuum with libcoap (coap-server/coap-client) : ✔️ Tested with libcoap at client and server :
✔️ Tested with java-coap at client side and libcoap at server side :
❌ Tested with Californium at client side and libcoap at server side :
☝️ I guess server never send any answer because response is delayed waiting client send CSM message. ❌ Tested with libcoap at client side and Californium at server side :
☝️ I guess client never send the request because, it doesn't receive the CSM message ? 🤔 🎯 So without surprises, we should probably focus on Capabilities and Settings Messages first. |
Agreed. libcoap is following (and hence expecting the first thing to be received is a CSM) as per RFC8323 Section 5.3
|
Using Californium to implement So next ideas to try, in order will be :
But before to work on coap+tcp with java-coap we need to work on : #1373 |
So we can try to use this lib now to support |
Draft about |
This issue aims to centralize discussion about adding CoAP over TCP transport layer.
The text was updated successfully, but these errors were encountered: