Commit Graph

12 Commits (115aa3eee2d508a2c09abbff2ed364c706ed8df7)

Author SHA1 Message Date
Kevin Bracey e6b2d21d1d Allow build without SSL
NS_USE_EXTERNAL_MBED_TLS now controls whether we attempt to include
mbedTLS header files at all, and after including them, we check whether
SSL/TLS is enabled. If not, we provide non-secure operation only.
2016-10-24 10:45:10 +01:00
Kevin Bracey ac8ddafffd Restructure connection and security
Make connection handler deal with all addressing, and hide the internals
of security handler.

Will allow security handler code to be stubbed out if mbed TLS is not
available.
2016-10-24 10:45:10 +01:00
Tero Heinonen 9dfc6f970c Support for setting source address to socket (#40)
When receiving data, destination (own) address is stored and given to
socket when sending reply to make sure respone comes always from same
address where request was sent. This commit supports only real socket to
real socket messages, not virtual socket, or DTLS handshake messages.
2016-10-24 11:58:53 +03:00
Simon Butcher dd16e419d6 Fixes coap-service for development head of mbed TLS
This change allows the mbed TLS type mbedtls_timer_t to be defined, required
for the upstream version of mbed TLS (> version 2.2.1).
2016-06-08 10:24:15 +01:00
Tero Heinonen 565638c3fe Changed DTLS_HANDSHAKE_TIMEOUT_MAX 125s -> 201s (#22) 2016-05-13 14:47:54 +03:00
Tero Heinonen cacfb34bdc Defines for default timeout values 2016-02-25 17:53:24 +02:00
Tero Heinonen f5f70e2d8b API for changing DTLS handshake message timeouts. 2016-02-19 09:49:45 +02:00
Antti Kauppila 3034b1a7c7 Some naming refactored correctly 2016-01-20 13:50:13 +02:00
Antti Kauppila a32c3614b4 Combined security stuff from mbed-client 2016-01-20 11:45:25 +02:00
Seppo Takalo c330fa884c Update copyright headers. 2016-01-14 11:00:29 +02:00
Tero Heinonen 6c6e672630 MbedTLS config file fixing,
small refactoring.
2016-01-11 13:24:28 +02:00
Antti Kauppila eb5aa4ef59 New CoAP service + unit tests 2015-12-21 10:00:43 +02:00