[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cf-dev] Question about Multicast Implementation
|
Hi Thorsten,
I am not completely sure about what you want to achieve. However, doing CoAP
multicast is currently only defined for UDP transpor.
RFC 7252, Section 8.1 states the following:
"At the time of writing, multicast messages can only be carried in UDP
not in DTLS. This means that the security modes defined for CoAP in
this document are not applicable to multicast."
As such, Californium does not support multicast over DTLS. It is supposed to
support multicast over UDP. I have to admit, though, that this is not really my
area of expertise and my organization doesn't have any usecase based on multicast
at the moment. There seems to be some interest in the community for doing
multicast, though, and there have been issues found with Californium's multicast
implementation already [1].
All in all, I would say that Californium definitely strives for supporting
multicast (over UDP) but currently has some issues with it. So, if you feel
motivated to give us a hand, you would be more than welcome to e.g. continue the
work started in [1].
[1] https://github.com/eclipse/californium/pull/95
--
Mit freundlichen Grüßen / Best regards
Kai Hudalla
Chief Software Architect
Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com
Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn
On Tue, 2017-02-21 at 12:51 +0100, Thorsten Rick wrote:
> Hi list,
>
> I have a question about a basic multicast CoAp DTLS implementation.
>
> I am currently working on a proof-of-concept for my Masterthesis by
> using a CoAp DTLS PSK implementation.
> I have been able to successfully implement a basic secure unicast
> communication, but for a few days I have been trying to implement a
> multicast communication without a result. My question is whether in
> the current version a multicast solution is possible at all and if so
> if someone has an exemplary implementation.
>
>
> Thanks in advance
> T. Rick
>