Fabian Hüßler
40fb250ae4
treewide: adapt to gcoap_req_send aux local API change
2024-05-31 12:04:48 +02:00
Fabian Hüßler
3973e4bb9d
gcoap: add aux local to gcoap_req_send
2024-05-29 16:37:13 +02:00
benpicco
e62c25a015
Merge pull request #20690 from benpicco/nanocoap_get_blockwise_to_buf
...
nanocoap_sock: add nanocoap_get_blockwise_to_buf()
2024-05-27 16:53:44 +00:00
Fabian Hüßler
b6aa7a6ea5
nanocoap/sock: fix response token matching for piggybacked ACKs
2024-05-27 17:58:44 +02:00
Fabian Hüßler
afc9f9bf28
nanocoap/sock: nanocoap_sock_request_cb(): fix state handling
2024-05-27 17:58:44 +02:00
Fabian Hüßler
058ab2ce40
nanocoap/sock: nanocoap_sock_request_cb(): wait for response without cb
2024-05-27 17:58:16 +02:00
Fabian Hüßler
ec9a114f7a
nanocoap/sock: stop retransmissions after empty ACK
2024-05-27 09:54:02 +02:00
Benjamin Valentin
c5cfecb311
nanocoap_sock: add nanocoap_get_blockwise_to_buf()
2024-05-23 16:11:52 +02:00
benpicco
3f41494e59
Merge pull request #20266 from benpicco/nanocoap_reply_separate
...
nanocoap_sock: implement separate response
2024-05-21 17:45:22 +00:00
Benjamin Valentin
dd458cb993
nanocoap_sock: use normal udp sock in nanocoap_server()
2024-05-21 19:27:57 +02:00
Benjamin Valentin
7e69c13630
nanocoap_sock: implement nanocoap_sock_send_separate()
2024-05-21 19:27:57 +02:00
Benjamin Valentin
330a6cfb91
nanocoap_sock: add local information to coap_request_ctx_t
2024-05-21 19:27:57 +02:00
Benjamin Valentin
c280076594
nanocoap: add coap_build_empty_ack()
2024-05-21 19:27:57 +02:00
Benjamin Valentin
2c232dd0d2
nanocoap: don't set type & code twice in coap_build_reply()
2024-05-21 19:25:55 +02:00
Benjamin Valentin
879d312960
nanocoap: make token const in coap_build_hdr()
2024-05-21 19:25:55 +02:00
benpicco
8a4d82304f
Merge pull request #20554 from fabian18/pr/examples/gcoap_input_URI_and_proxy_fixes
...
examples/gcoap: take full URI as input
2024-05-14 09:52:49 +00:00
Fabian Hüßler
a5b6c4c051
gcoap/forward_proxy: minor fix and cleanup
2024-05-14 08:46:00 +02:00
Benjamin Valentin
2e8f257171
nanocoap_link_format: don't drop characters in fragmented entries
2024-05-07 22:45:37 +02:00
mariemC
768ce5e443
sys/net/application_layer/gcoap/include: add internal proxy header
2024-04-25 13:36:11 +02:00
mariemC
a07a21b3de
sys/net/application_layer/gcoap: include header in path
2024-04-25 13:30:16 +02:00
mariemC
6454816676
sys/net/application_layer/gcoap: add proxy thread
2024-04-25 13:30:16 +02:00
mariemC
557f3c7bc8
sys/net/application_layer/gcoap: adjust proxy source file
2024-04-25 13:30:16 +02:00
benpicco
9761456363
Merge pull request #20564 from benpicco/go-coap_workaround
...
gnrc, nanocoap: add optional work-arounds for buggy CoAP servers
2024-04-24 13:46:41 +00:00
Martine Lenders
3bbb7c35a7
Merge pull request #20579 from maribu/coap/etag
...
sys/net/gcoap/forward_proxy: clean up code
2024-04-16 08:43:53 +00:00
Marian Buschsieweke
bb79f3e550
sys/net/gcoap/forward_proxy: clean up code
...
Introduce an _cep_set_req_etag() helper function and drop the
_cep_set_req_etag_len() helper to avoid use of preprocessor
conditionals in the code.
2024-04-15 18:31:24 +02:00
Teufelchen1
b05ae93e4b
net/gcoap: Fix typo, replacing _uri with _proxy
2024-04-15 12:56:27 +02:00
Benjamin Valentin
13fd806f4f
nanocoap_sock: add option to include token for block-wise
2024-04-10 12:36:53 +02:00
chrysn
9820a65846
cord_lc: Process truncated reads
...
Co-Authored-By: Marian Buschsieweke <maribu@users.noreply.github.com>
2024-04-05 23:45:50 +02:00
Teufelchen
b5f9772292
Merge pull request #20434 from benpicco/DTLS_MAX_BUF-fix
...
coap: ensure DTLS buffer is at least 200 bytes
2024-04-05 08:22:11 +00:00
Benjamin Valentin
11b4564462
sys/net/gcoap: ensure DTLS buffer is at least 200 bytes
2024-04-03 21:12:45 +02:00
Benjamin Valentin
39ba95a3ed
sys/net/nanocoap: ensure DTLS buffer is at least 200 bytes
2024-04-03 21:09:29 +02:00
Martine Lenders
a2e3ca07cb
Merge pull request #20514 from miri64/gcoap/cleanup/gcoap_req_send_aliasing
...
gcoap: make gcoap_req_send_tl() an alias of gcoap_req_send()
2024-03-27 17:00:50 +00:00
Martine Lenders
27308585c3
gcoap: make gcoap_req_send_tl() an alias of gcoap_req_send()
...
As per the deprecation notice from July 2021 ;-).
2024-03-27 12:21:57 +01:00
MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
Marian Buschsieweke
3d13f1fd19
Merge pull request #20499 from benpicco/coap_build_hdr-const
...
nanocoap: allow token to be const in coap_build_hdr()
2024-03-22 15:35:38 +00:00
Benjamin Valentin
6154c1270d
nanocoap: allow token to be const in coap_build_hdr()
2024-03-22 16:02:45 +01:00
MrKevinWeiss
575ab684fe
sys/net/coap: cast in non-config define
...
If we try to set the compile-time config we need to always remember casting, instead, just cast in the places that are not exposed to users
2024-03-21 14:26:45 +01:00
benpicco
e3ce765a04
Merge pull request #20191 from benpicco/coap_get_method
...
nanocoap: introduce coap_get_method()
2024-03-19 18:20:31 +00:00
Benjamin Valentin
408218f631
nanocoap_sock: support build with IPv4
2024-03-17 17:39:44 +01:00
Benjamin Valentin
446509c177
gcoap_fileserver: use coap_get_method()
2024-02-28 11:49:56 +01:00
Marian Buschsieweke
609ad44f39
Merge pull request #20245 from benpicco/nanocoap_sock-pathquery
...
nanocoap_sock: always use coap_opt_put_uri_pathquery()
2024-02-19 18:28:38 +00:00
Leandro Lanzieri
7745e233b3
Merge pull request #20073 from MichelRottleuthner/pr_gcoap_observe_improvments
...
gcoap: add some client-side observe handling
2024-02-14 10:01:31 +00:00
benpicco
d08fb3f144
Merge pull request #20043 from bergzand/pr/nanocoap_cache_options
...
nanocoap/cache: Extend with option-only cache keygen
2024-02-13 15:23:59 +00:00
011891b9cf
nanocoap/cache: Extend with option-only cache keygen
...
To generate cache keys based on only the options of a request. This for
matching requests of a blockwise transfer with each other
2024-02-12 21:20:39 +01:00
benpicco
55b6728224
Merge pull request #19738 from benpicco/stdio_dispatch
...
stdio_dispatch: allow to select multiple stdio methods at the same time
2024-02-09 16:13:27 +00:00
Benjamin Valentin
2d22cc8f49
sys/net/telnet: disable local echo
2024-02-09 15:31:21 +01:00
Benjamin Valentin
550d93f873
sys/net/telnet: properly detect disconnect
2024-02-09 15:31:21 +01:00
Benjamin Valentin
816aafdb5a
sys/net/telnet: fix race condition on disconnect
2024-02-09 15:31:21 +01:00
Benjamin Valentin
b575e2d35b
stdio_telnet: port to new interface
2024-02-09 15:24:22 +01:00
Michel Rottleuthner
45a84af346
gcoap: clear observe state on RST response to notification
...
In order to properly handle an observe cancellation of a client, the server has to keep track of the notification MIDs (to be able to match an RST to a notification), see [RFC7641, 3.6 Cancellation](https://www.rfc-editor.org/rfc/rfc7641.html#section-3.6 ) for mor details. An alternative to this would be to make either the client send an explicit observe deregister request, or make the server send the next notification via CON (which hten allows matching of the RST due to the CON state).
2024-02-08 15:48:32 +01:00