On Jan 23, 2018 3:46 PM, "Gregg Reynolds" <[email protected]> wrote:



On Jan 23, 2018 4:02 AM, "Aleksey Volkov" <[email protected]> wrote:



DTLS support is mandatory in case if SECURED mode is enabled:



if env.get('SECURED') == '1':
    defines.append('-D__WITH_DTLS__=1')



For non-secured builds DTLS is useless.

Out of curiosity: CoAP/DTLS has  NoSec mode. Why not use that instead of
building without DTLS?


PS. Which suggests that the spec needs clarification. It is not enough to
say that DTLS support is mandatory; you have to say which modes are
mandatory. E.g. is it sufficient to support only one of the 4 modes?
(Noting that NoSec is a DTLS mode!)

G
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to