[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [wakaama-dev] COAP over TCP/TLS
|
Hi Bert,
> My question is this: What is the community preference for switching between TCP and UDP? Would a run-time switch (via the lwm2m_binding_t enum) or a build-time switch (via #define) be preferred?
>From my personal view, this depends on the size the firmware-images will get larger using a switch instead of the #define/#if.
Are there just a few different lines or is the difference larger (several hundred lines)?
Mit freundlichen Grüßen / Best regards
Achim Kraus
Bosch Software Innovations GmbH
Communications (INST/ESY1)
Stuttgarter Straße 130
71332 Waiblingen
GERMANY
www.bosch-si.de
www.blog.bosch-si.com
Tel. +49 711 811-58139
achim.kraus@xxxxxxxxxxxx
Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn
Von: wakaama-dev-bounces@xxxxxxxxxxx [mailto:wakaama-dev-bounces@xxxxxxxxxxx] Im Auftrag von Bert Kleewein
Gesendet: Dienstag, 10. Mai 2016 06:50
An: wakaama-dev@xxxxxxxxxxx
Cc: Carlos Alayo; Damon Barry; Haitham Shami
Betreff: [wakaama-dev] COAP over TCP/TLS
Hi All,
We are currently working to modify Wakaama/Erbium to support COAP over TCP/TLS (following https://tools.ietf.org/html/draft-ietf-core-coap-tcp-tls-01, but I assume we will upgrade to https://tools.ietf.org/html/draft-ietf-core-coap-tcp-tls-02)
Our internal proof-of-concept currently chooses between UDP and TCP via compile-time switch (#define). This was chosen as the path of least resistance, and it has both advantages and disadvantages.
My question is this: What is the community preference for switching between TCP and UDP? Would a run-time switch (via the lwm2m_binding_t enum) or a build-time switch (via #define) be preferred?
Thanks,
-Bert