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
Tero Heinonen
9c88fcd984
Delete transactions that are not supposed to get reply ( #37 )
...
* Delete transactions that are not supposed to get reply
When sending non-confirmable request that is not supposed to get reply,
it must be deleted after sending.
Also some general code-cleaning included.
* Remove outdated transactions from queue
If transaction does not get response, it will be deleted from queue.
2016-10-18 11:55:54 +03:00
Tero Heinonen
b3419e058a
Fix session lost issue ( #36 )
...
This fixes unstability issues. Still need to refactor
coap_security_handler_read()-function to work as specified in mbedTLS
documentation. This commit should be treated as a temporary fix.
2016-10-11 09:30:17 +03:00
Tero Heinonen
07d72229de
Fix unittests ( #35 )
...
Adding missing stubs, and added check for nullpointer to coap message
process callback.
2016-10-05 09:38:47 +03:00
Tero Heinonen
0e4af1a4d2
Send 4.04 if URI is not found ( #34 )
...
If coap service library receives confirmable request to URI that is not
registered, it must send response COAP_MSG_CODE_RESPONSE_NOT_FOUND.
2016-10-04 09:42:29 +03:00
Arto Kinnunen
301458ae8d
Add mbedtls flag to SSL server spesific function ( #33 )
...
Flag function mbedtls_ssl_conf_dtls_cookies with MBEDTLS_SSL_SRV_C
to enable SSL server disabling that can save flash ~3,2kB.
2016-09-19 11:21:32 +03:00
Antti Kauppila
0fcd1d4254
version v4.0.3
2016-09-15 15:21:03 +03:00
Antti Kauppila
4769b274ec
version v4.0.2
2016-09-15 15:18:55 +03:00
Antti Kauppila
078bd0db24
Merge pull request #32 from ARMmbed/coap-option-tidy
...
Coap option tidy
2016-09-15 15:17:41 +03:00
Antti Kauppila
bc636c0621
mbed-client-c version updated
2016-09-15 10:42:29 +03:00
Antti Kauppila
73d5163e4e
New CoAP changes updated to this library
...
Unittests updated also
2016-09-08 18:13:26 +03:00
Tero Heinonen
70447c3e35
Set link layer security when opening socket. ( #30 )
2016-08-17 14:30:36 +03:00
Tommi Käsmä
36436c8959
Define a value for YOTTA_CFG_MBED_TRACE flag. ( #29 )
2016-07-14 13:11:58 +03:00
Seppo Takalo
5953cbddb6
Merge pull request #28 from ARMmbed/mbedtls_inc
...
Include mbedtls/platform.h in test code also.
2016-06-28 11:19:16 +03:00
Seppo Takalo
a37a6cace9
Include mbedtls/platform.h in test code also.
2016-06-28 11:15:54 +03:00
Arto Kinnunen
ae0579f173
Update content_type to sn_coap_content_format_e ( #27 )
...
-Update content_type to be sn_coap_content_format_e instead of uint8_t
to avoid type conversion (bugs).
-Fix compiler warnings
2016-06-28 10:45:30 +03:00
Seppo Takalo
18102ed27c
version v4.0.1
2016-06-28 10:03:29 +03:00
Arto Kinnunen
cef04e5df2
Update unit tests ( #26 )
...
Build unit tests in Jenkins when PR created/changed.
2016-06-22 14:45:39 +03:00
Mika Tervonen
e062233d27
Merge pull request #25 from ARMmbed/pointer-check
...
Check validity of transaction pointer when sending data
2016-06-16 15:44:36 +03:00
Mika Tervonen
f903edb347
Check validity of transaction pointer when sending data
2016-06-16 14:46:47 +03:00
Seppo Takalo
7a11be1ccb
Merge pull request #24 from sbutcher-arm/upstream-mbedtls-fix
...
Fixes coap-service for development head of mbed TLS
2016-06-09 16:37:27 +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
2be763fa66
Modified coap response callback, added parameters ( #23 )
...
* Modified coap response callback, added parameters
for source address and source port.
* version v4.0.0
2016-06-08 09:58:33 +03:00
Seppo Takalo
eae41d1df9
Ignore test folder from mbed builds
2016-05-25 12:13:47 +03:00
Tero Heinonen
565638c3fe
Changed DTLS_HANDSHAKE_TIMEOUT_MAX 125s -> 201s ( #22 )
2016-05-13 14:47:54 +03:00
Antti Kauppila
61d21d72f6
version v3.0.0
2016-05-03 11:47:33 +03:00
Antti Kauppila
d536b9cb96
updated Nanostack dependency
2016-05-03 11:46:52 +03:00
Seppo Takalo
7bdc16011a
Merge pull request #21 from ARMmbed/limit_read_loop
...
Limit the number of mbed_ssl_read() in while loop.
2016-03-30 15:36:54 +03:00
Seppo Takalo
9752d7c5f7
Limit the number of mbed_ssl_read() in while loop.
2016-03-30 14:23:47 +03:00
Bogdan Marinescu
0e87ec8892
version v2.2.0
2016-03-23 21:25:00 +02:00
Tero Heinonen
db2e77fd97
version v2.1.0
2016-03-14 14:04:58 +02:00
Tero Heinonen
78f1029a64
Merge pull request #20 from ARMmbed/thread_iop_10
...
Thread iop 10
2016-03-14 12:21:26 +02:00
Tero Heinonen
52fa5e613e
Renamed session_start_timestamp to last_contact_time.
...
Renamed SECURE_SESSION_ALERT_SENT to SECURE_SESSION_CLOSED.
2016-03-14 12:13:36 +02:00
Tero Heinonen
451d773f5f
Timer to remove secure sessions after alert is sent but not received.
2016-03-10 15:28:43 +02:00
Seppo Takalo
e21c1392ad
Add missing copyright header
2016-03-10 13:36:50 +02:00
Tero Heinonen
ba4e77d73d
Do not remove secure session when sending close alert.
2016-03-02 20:30:57 +02:00
Tero Heinonen
61a9bb8da4
version v2.0.2
2016-02-26 08:50:35 +02:00
Tero Heinonen
924764628a
Merge pull request #19 from ARMmbed/timeout_define
...
Defines for default timeout values
2016-02-26 08:43:28 +02:00
Tero Heinonen
cacfb34bdc
Defines for default timeout values
2016-02-25 17:53:24 +02:00
Seppo Takalo
edb443a05c
version v2.0.1
2016-02-22 19:35:07 +02:00
Seppo Takalo
f430289ac6
version v2.0.0
2016-02-22 19:07:58 +02:00
Seppo Takalo
9c17c50c4c
Depend on major 4 of nanostack
2016-02-22 19:07:52 +02:00
Tero Heinonen
cd5895ae02
Merge pull request #17 from ARMmbed/timeout_api
...
API for changing DTLS handshake message timeouts.
2016-02-19 12:24:31 +02:00
Tero Heinonen
f5f70e2d8b
API for changing DTLS handshake message timeouts.
2016-02-19 09:49:45 +02:00
Tero Heinonen
a2588b622d
version v1.2.1
2016-02-17 12:50:09 +02:00
Tero Heinonen
8965f42ba3
Merge pull request #16 from ARMmbed/tls_error_handling
...
Close and clear session when error received after connection is
2016-02-17 12:47:00 +02:00
Tero Heinonen
74744cca51
Close and clear session when error received after connection is
...
established.
2016-02-12 14:52:16 +02:00
Tero Heinonen
8fea37aeb1
version v1.2.0
2016-02-12 09:52:39 +02:00
Tero Heinonen
a0faabb94e
Merge pull request #15 from ARMmbed/timer_refactor
...
CoAP service refactoring:
2016-02-12 09:48:26 +02:00
Tero Heinonen
6dd666a455
Virtual socket error handling fixed.
...
Entropy fix reverted to make yotta build working.
This must be fixed properly later.
2016-02-11 13:23:08 +02:00