1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

116 Commits

Author SHA1 Message Date
Olaf Bergmann
db615302a2 [tinydtls] Makefile.include: fixed GNRC vs. posix_sockets
When WITH_RIOT_GNRC is set in CFLAGS, tinydtls will use a more
compact address representation based on ipv6_addr_t instead of
POSIX-style sockaddr_in6 to identify sessions (cf. struct session_t).

When posix_sockets are used (as in libcoap, e.g.), the POSIX
address representation should be selected automatically for
consistency. This change adds -DWITH_RIOT_GNRC to CFLAGS only
when the module posix_sockets is not selected.
2019-03-26 08:52:10 +01:00
Martine Lenders
0a5acd91cf pkg: tinydtls: ignore -Wformat-nonliteral 2018-08-03 17:56:34 +02:00
Raul Fuentes
4092eda744 examples/dtls-echo: Cleaning and upgrade to sock
Due to all the changes, this is basically a new version for this
example. The main benefit is the use of sock_udp but also the client
side is now more robust and reliable.

The parameters required for the PSK and ECC (e.g. keys) modes are moved
to an unique header.
2018-07-04 11:35:08 +02:00
Raul Fuentes
61f56ddb14 pkg/tinydtls: Moving to official repository
The integration of TinyDTLS for RIOT has been merged into the
development branch of the official repository.

It will be officially available on the master branch in the next
release of tinyDTLS.

Other minor updates:
- Support for the RIOT's memarray
- tinydtls/sha2 is removed from the compilation for giving priority
to RIOT's sha2 functions.
2018-07-04 11:33:58 +02:00
smlng
16d3225da0 pkg/tinydtls: fix for arm-none-eabi newlib 2.4.x 2018-02-09 20:56:21 +01:00
smlng
2608bc50c4 pkg: disable implicit fallthroughs errors in tinydtls 2018-01-16 10:56:50 +01:00
7142a273dd pkg/*: put $(MAKE) in quotes in all packages 2017-12-18 14:53:54 +01:00
smlng
ece74000d2 pkg/tinydtls: bump version to fix compiler issues 2017-11-14 16:26:35 +01:00
a45a86b5ad pkg: makefiles indentation cleanup 2017-09-22 14:53:01 +02:00
c4ebd18be2 pkg: enhance doxygen packages documentation 2017-07-03 09:56:07 +02:00
smlng
36ae072c55 pkg: tinydtls, disable compiler errors if toolchain llvm
- set no-gnu-zero-variadic-macro-arguments
    - set no-unused-function
2017-03-22 23:07:22 +01:00
8d88781e05 make: pkg: make use of PKGDIRBASE 2017-03-10 14:18:44 +01:00
smlng
22215f0e5d pkg/tinydtls: add compiler flags to Makefile.include 2017-01-13 20:36:36 +01:00
9700e96202 pkg: tinydtls: add license information, cleanup 2017-01-09 00:49:34 +01:00
Martine Lenders
21c4cb41ff tinydtls: fix for build system fix 2016-11-04 16:20:53 +01:00
Raul Fuentes
cf64aba1c8 TinyDTLS: integration into RIOT (without sockets)
Support for TinyDTLS (0.8.6) is added together an example at 'examples/dtls-echo'.
2016-10-30 18:05:25 +01:00