Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cf-dev] Plans regarding CoAP over TCP?

Looking at the spec[1], I'm trying to understand changes to Californium. On the surface looks like we'll need:

* A new TCP/TLS connector (it'll need to do non-blocking IO in receive thread)
* Chagnes to CoAPEndpiont, that when using TCP connector will:
*** Use new data serializer
*** Instruct matcher to skip using MID hashmap puts/gets
*** Skip reliability layer
*** Have a callback from the Connector to cancel all open exchanges when a TCP connection is dropped

There's also a question of what to do with Type (CON vs NON) on the CoapClient APIs. Trivial option just keep them as is, and ignore when using TCP connector. Less trivial option is to change APIs (how?).

I'm sure there's something else I'm missing. Thoughts?



On Mon, Jun 6, 2016 at 11:57 PM Kai <sophokles.kh@xxxxxxxxx> wrote:

Not that I am aware of... As Matthias mentioned, Simon Lemay had plans for this but it seems priorities have been changed. Maybe you want to spark the discussion and get involved? There is definitely some interest in it (at least from Bosch), but we are currently more focused on adding support for horizontal scalability to Californium. TCP support would be something for Cf 2.0, I guess since it would probably require some changes to public APIs...

Kai


Joe Magerramov <joe.magerramov@xxxxxxxxx> schrieb am Di., 7. Juni 2016, 04:23:
Did not see any e-mail threads on TCP/TLS support since April. Did anybody ever start working on this?

Thanks,

Joe

On Fri, Apr 22, 2016 at 3:28 AM Kovatsch Matthias <kovatsch@xxxxxxxxxxx> wrote:

Simon (Lemay) had to push this work over to his free time.

Myself not having much time lately does not help either :/

Still, we will need something running for the IETF, so I have not lost all hope yet :)

 

Ciao

Matthias

 

 

From: cf-dev-bounces@xxxxxxxxxxx [mailto:cf-dev-bounces@xxxxxxxxxxx] On Behalf Of Benjamin Cabé
Sent: Montag, 4. April 2016 15:54
To: Californium (Cf) developer discussions <cf-dev@xxxxxxxxxxx>
Subject: Re: [cf-dev] Plans regarding CoAP over TCP?

 

Ping? :-)

I'm just curious whether it's in the roadmap to provide a TCP binding in Californium?

 

Thanks!

Benjamin –

 

 

De : Benjamin Cabé <benjamin@xxxxxxxxxxx>
Date : jeudi 4 février 2016 14:37
À : "Californium (Cf) developer discussions" <cf-dev@xxxxxxxxxxx>
Objet : Plans regarding CoAP over TCP?

 

Hi, Californium gang!

 

It looks like the Internet-Draft about CoAP over TCP/TLS [1] is making good progress, and I was wondering about your views/plan on making this available in Californium? 

I believe the Zatar guys have worked on a fork of Californium [2] that does just that since IIRC they are experimenting with LWM2M over CoAP-TCP.

 

FWIW I get asked very often about CoAP over TCP, as many people do see lots of value in CoAP itself, but would really like to see it be more IT/cloud friendly.

 

Looking forward to getting your feedback,

Thanks!

Benjamin –

 

 


Benjamin Cabé – IoT Evangelist




Eclipse Foundation
+33 (0) 619196101
@kartben

_______________________________________________
cf-dev mailing list
cf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cf-dev
_______________________________________________
cf-dev mailing list
cf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cf-dev
_______________________________________________
cf-dev mailing list
cf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cf-dev

Back to the top