Commit Graph

5 Commits

Author SHA1 Message Date
Jan Romann
614297524d windows: move _CRT_RAND_S to tinydtls.h 2022-11-29 14:29:03 +01:00
Jon Shallow
cd02cad6c3 LwIP: Support LwIP builds when NO_SYS = 1
Follow the model of how things are done for Contiki.

Set up a new WITH_LWIP_NO_SOCKET (which happens with NO_SYS = 1)
and use this when setting up addresses.

Add in platform specific for dtls_prng_lwip.c and lwip_platform.h

Update dtls_time.[ch] to handle LWIP version of time.

Code works for NO_SYS = 1 or NO_SYS = 0.

Signed-off-by: Jon Shallow <supjps-libcoap@jpshallow.com>
2022-10-21 16:30:16 +02:00
Jan Romann
9320251212 Add Windows support 2022-09-27 14:31:54 +02:00
Raul Fuentes
477d1ba8be tinydtls.h: Support for RIOT OS
NOTE: RIOT is more modular and flexible than Contiki as can
          work with its own network stack or simulate sockets.

Signed-off-by: Raul Fuentes <ra.fuentes.sam@gmail.com>
2018-02-15 18:11:19 +01:00
Gaëtan Harter
080013fd2d contiki: work without running configure
When building with contiki, 'CONTIKI' is defined and is used to detect contiki.
Configure options can be configured with:

    DTLS_CONF_ECC, DTLS_CONF_PSK, DTLS_CONF_NDEBUG

All files now include 'tinydtls.h' instead of 'dtls_config.h'.

Change-Id: I9a558a7d6bd777656d7b29028852bfc08911b8b7
Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
2017-02-27 18:05:10 +01:00