Benjamin Valentin
d660e3ebbd
nanocoap_sock: implement DTLS socket
2023-01-13 00:17:32 +01:00
bors[bot]
6cf2116ae8
Merge #18773
...
18773: nanocoap_sock: fix handling empty ACKs with separate response r=maribu a=benpicco
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de>
2023-01-06 01:07:57 +00:00
Benjamin Valentin
2002e169dd
net/coap: add COAP_CODE_TOO_MANY_REQUESTS
2022-12-13 00:27:45 +01:00
Benjamin Valentin
084f0287a3
nanocoap_sock: support handling empty ACKs with separate response
2022-11-03 23:26:51 +01:00
Jan Romann
7c3c466bd4
sys/coap: add Size1 option number
2022-10-25 14:09:26 +02:00
Jan Romann
4ea42c0a3c
sys/coap: add Size2 option number
2022-10-25 14:07:39 +02:00
Benjamin Valentin
56f36c09a0
nanocoap: add support for no-response option
...
See https://datatracker.ietf.org/doc/rfc7967/
2022-10-13 19:04:09 +02:00
Martine Lenders
b9d7028a8f
coap: provide definition for version field value
2022-09-29 11:26:03 +02:00
benpicco
ed3d680aa2
Merge pull request #18482 from benpicco/coap_timeout_avr
...
nanocoap: fix type of CONFIG_COAP_ACK_TIMEOUT_MS (for AVR)
2022-08-20 18:37:15 +02:00
Benjamin Valentin
071ae2ccc0
nanocoap: fix type of CONFIG_COAP_ACK_TIMEOUT_MS
2022-08-20 16:32:20 +02:00
Fabian Hüßler
688acff5bc
gcoap/fileserver: implement PUT/POST/DELETE functionality
2022-08-03 22:09:21 +02:00
Martine Lenders
107a2a0753
gcoap_dns: initial import of a DNS over CoAP client
2022-07-01 18:44:02 +02:00
Martine Lenders
73bcd83543
nanocoap_cache, forward_proxy: add ETag validation support
2022-05-12 13:22:41 +02:00
Cenk Gündoğan
8750605d26
nanocoap: add cache for response messages
2022-05-10 18:43:56 +02:00
Benjamin Valentin
2682848a29
suit/transport/coap: move suit_coap_get_blockwise() to nanocoap
2022-01-27 14:42:49 +01:00
Benjamin Valentin
d680743fe9
net/coap: specify timeout in milliseconds
...
This allows for more flexibility when choosing timeouts.
2022-01-27 14:42:49 +01:00
pokgak
88279904c5
sys/coap: add ACCEPT option
2020-07-07 10:54:10 +02:00
Maciej Jurczak
edf016a6cb
nanocoap: Added token length validation.
...
Implemented a check in coap_parse() to verify if TKL value is within valid range as specified by RFC7252. The token length must be within 0-8 range, any other value should be considered as invalid and the packet should produce message format error.
A test case was added to tests-nanocoap.c to verify correct behavior in case of TKL in range and out of range.
Update sys/net/application_layer/nanocoap/nanocoap.c
Prefixed debug message with module name and abbreviations expanded.
Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
Update sys/net/application_layer/nanocoap/nanocoap.c
Prefixed debug message with module name and abbreviations expanded.
Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2020-05-25 22:44:50 +02:00
Leandro Lanzieri
9e427e1584
net/coap: Move COAP_MAX_RETRANSMIT to 'CONFIG' namespace
...
COAP_MAX_RETRANSMIT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:43 +02:00
Leandro Lanzieri
afe4244ac9
net/coap: Move COAP_RANDOM_FACTOR_1000 to 'CONFIG' namespace
...
COAP_RANDOM_FACTOR_1000 is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:43 +02:00
Leandro Lanzieri
072a0d8563
net/coap: Move COAP_ACK_TIMEOUT to 'CONFIG' namespace
...
COAP_ACK_TIMEOUT is moved to the compile time configuration macro
namespace.
2020-04-24 10:06:40 +02:00
Cenk Gündoğan
97c5d2d82d
coap: add Proxy-* options
2020-03-27 22:06:42 +01:00
Leandro Lanzieri
4e85241270
net/coap: Remove unused COAP_ACK_VARIANCE macro
2020-01-27 19:47:20 +01:00
Leandro Lanzieri
8c25d12ae5
net/coap: Represent ACK_RANDOM_FACTOR
multiplied by 1000
2020-01-27 19:47:20 +01:00
Ken Bannister
859dab585f
net/coap: remove deprecated COAP_CT_... defines
2019-09-27 20:57:42 -04:00
c4e48ea5e0
coap: update defines for sen(s)ml format types
2019-09-05 12:59:45 +02:00
bf51f35838
coap: update defines for rfc8132
...
Update the list of defines for methods and response codes with the new
codes as defined in [rfc8132](https://tools.ietf.org/html/rfc8132 )
2019-09-05 12:55:17 +02:00
Sebastian Meiling
53a887ce14
Merge pull request #10703 from kb2ma/coap/code_macros
...
net/coap: improve message code macros
2019-01-07 14:31:18 +01:00
Ken Bannister
62f4946772
net/coap: improve message code macros
2019-01-04 19:43:18 -05:00
Ken Bannister
5f8e993faf
net/coap: reference RFC for configurability
2019-01-02 12:54:12 -05:00
Ken Bannister
663bb5bb3d
net/coap: use separate name for macro doc
2019-01-02 12:54:12 -05:00
Ken Bannister
94660f4db7
net/coap: allow user to configure message retry macros
2019-01-02 12:54:12 -05:00
8ee2bc5ffb
coap: deprecate COAP_CT_ content type defines
...
COAP_CT_ style defines for the content types are deprecated in favour of
COAP_FORMAT_ style defines. COAP_FORMAT_ is expanded to include any
missing content type that was available with COAP_CT_.
2018-10-15 09:44:17 +02:00
Hauke Petersen
f3f673eb45
net/nanocoap: factor out generic CoAP defines
2018-09-26 14:31:57 +02:00