1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-20 03:53:49 +01:00

2699 Commits

Author SHA1 Message Date
mguetschow
f572bbeef9
Merge pull request #21610 from mguetschow/unicoap-test-stack-overflow
unittests/unicoap: statically allocate option buffers
2025-07-24 16:05:06 +00:00
benpicco
4f9f755f99
Merge pull request #20197 from benpicco/coap_iterate_uri_query
nanocoap: add coap_iterate_uri_query()
2025-07-24 11:35:51 +00:00
Benjamin Valentin
824d3ea71d nanocoap: add coap_iterate_uri_query() 2025-07-24 13:18:06 +02:00
Mikolai Gütschow
50a5d17f50
sys/net/unicoap: add UNICOAP_OPTIONS_ALLOC_STATIC 2025-07-24 11:18:10 +02:00
Marian Buschsieweke
091acb39f6
Merge pull request #21002 from benpicco/netstats_nb-new_api
gnrc_netif: fix neighbor statistics with netdev_new_api
2025-07-23 16:14:32 +00:00
Benjamin Valentin
5e18262ad7 sys/include/net/netstats: re-order result codes 2025-07-23 17:21:27 +02:00
Teufelchen1
944eb05727 net/mac: Remove deprecated 802.15.4 module 2025-07-21 12:57:15 +02:00
Teufelchen
1345452bbe
Merge pull request #21603 from Teufelchen1/deprecate/lwmac
net/lwmac: Remove deprecated lwmac module
2025-07-18 08:34:57 +00:00
Marian Buschsieweke
40e5627981
Merge pull request #21602 from Teufelchen1/fix/l2filter
net/l2filter: fix incorrect length check
2025-07-15 11:28:12 +00:00
Teufelchen1
f6f7de4ccc net/l2filter: fix incorrect length check
Co-authored-by: namberino <namnb2402@gmail.com>
2025-07-15 12:10:44 +02:00
Teufelchen1
8970d751c4 net/lwmac: Remove deprecated lwmac module 2025-07-15 11:38:37 +02:00
Teufelchen1
f027626f3c net/gomach: Remove deprecated GoMach module 2025-07-14 13:18:20 +02:00
Carl Seifert
531c0971bd net/unicoap: add typed accessors for IANA-defined options 2025-07-07 17:27:40 +02:00
Carl Seifert
d184a1af0f net/unicoap: implement option accessors 2025-07-07 17:27:39 +02:00
Carl Seifert
70350216ba net/unicoap: add base config 2025-07-07 17:27:39 +02:00
Carl Seifert
12c7e07839 net/unicoap: add CoAP constants 2025-07-07 17:27:39 +02:00
Carl Seifert
3a71d2271e net/unicoap: add message interface 2025-07-07 17:27:39 +02:00
Carl Seifert
6b9e5433e6 net/unicoap: add module basics 2025-07-07 17:27:39 +02:00
Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
e6b17fa5cb sys: replace header guards with #pragma once 2025-05-16 19:40:06 +02:00
Benjamin Valentin
a08a0814f9 sys/net/sockutil: Do not use undefined structs
sock_tcp_ep_t may not be defined if sock_tcp is not used.
2025-05-06 15:05:02 +02:00
benpicco
c937969224
Merge pull request #21419 from maribu/sys/net/sock_util
sys/net/sock_util: Do not depend on network stack
2025-05-05 17:18:46 +00:00
Marian Buschsieweke
41c8f5112b
sys/net/sockutil: use #pragma once
Co-authored-by: benpicco <benpicco@googlemail.com>
2025-05-05 18:09:29 +02:00
Marian Buschsieweke
62e553ad6c
sys/net/sock_util: Do not depend on network stack
This allows using and compiling the URL handling functions of sock_util
without a network stack used.

Co-authored-by: benpicco <benpicco@googlemail.com>
2025-05-05 18:09:22 +02:00
Benjamin Valentin
989d8485de gnrc/ipv6/nib: convert conf.h to new indentation style 2025-04-28 14:12:49 +02:00
Benjamin Valentin
ba23c77a4d gnrc/ipv6/nib: add option to disable router solicitations 2025-04-25 00:23:00 +02:00
Marian Buschsieweke
4ce7ab2133
tree-wide: fix documentation issues
This should fix compilation with -Wdocumentation on LLVM.
2025-04-10 13:37:13 +02:00
Mikolai Gütschow
1e74114c7b
sys/net/gcoap: remove deprecated gcoap_req_send_tl()
Use alias `gcoap_req_send()` instead

Deprecated in https://github.com/RIOT-OS/RIOT/pull/20514
2025-04-08 14:59:38 +02:00
Marian Buschsieweke
db0be36345
tree-wide: mixed back of documentation fixes
This fixes a number of documentation issues that LLVM/clang would flag
with `-Wdocumentation`.
2025-04-07 15:59:13 +02:00
Marian Buschsieweke
c1aee234ee
Merge pull request #21357 from maribu/tree-wide/dox-fixes
tree wide: various doc fixes
2025-04-05 17:57:43 +00:00
benpicco
3621be5041
Merge pull request #21160 from benpicco/sys/net/nanocoap/observe-client
nanocoap_sock: implement observe (Client-Side)
2025-04-04 17:32:10 +00:00
Marian Buschsieweke
1ff982a664
tree wide: various doc fixes
This fixes a batch of incorrect Doxygen comments that building with
LLVM/clang and `-Wdocumentation` uncovered.
2025-04-04 11:44:53 +02:00
Marian Buschsieweke
7ac196f5de
sys/net/ipv6: use markdown links in doc
This makes the header a lot more readable and `clang -Wdocumentation`
happy, which does not like HTML tags (`<a href="...">...</a>`) to
contain random line breaks.
2025-04-04 08:16:17 +02:00
Benjamin Valentin
6cb40183a0 nanocoap_sock: implement observe client 2025-04-03 13:23:07 +02:00
fabian18
9e55e5611f
Merge pull request #21270 from fabian18/pr/nanocoap_static_buffers
nanocoap: avoid non `static` buffers of configurable size
2025-03-31 22:46:38 +00:00
Fabian Hüßler
49243a5ef2 nanocoap/sock: move request header buffer to socket 2025-03-31 19:12:19 +02:00
Fabian Hüßler
7e4afa4436 nanocoap: supply response buffer for nanocoap_link_format_get 2025-03-31 19:12:19 +02:00
benpicco
a756dcf1c9
Merge pull request #19213 from benpicco/socket_zep_hal-fix
socket_zep: properly implement the radio HAL
2025-03-20 08:30:12 +00:00
Marian Buschsieweke
5869c2c271
Merge pull request #21180 from derMihai/mir/sock_udp/cancel_async_mainline
net_sock_async_event: cancel async event on sock_*_close()
2025-03-20 06:10:26 +00:00
Marian Buschsieweke
685acb9a35
Merge pull request #21293 from MrKevinWeiss/pr/fixsplling
Fix spelling found by codespell
2025-03-13 13:07:53 +00:00
MrKevinWeiss
f770f72202
treewide: Fix spelling mistakes 2025-03-13 13:59:07 +01:00
Benjamin Valentin
7a5cd93bf7 sys/net/telnet: align API with stdio API 2025-03-13 09:58:48 +01:00
Marian Buschsieweke
da0218323b
sys/net/nanocoap: improve coap_build_reply
- The responsibility for handling matching CoAP No-Response Options
  has been split:
    - `coap_build_reply()` only needs to report this and return
      `-ECANCLED`
    - `coap_handle_req()` does generate the empty ACK is needed.
  ==> As a result, writing CoAP request handlers correctly becomes a
      lost easier. Correct error handling to be present is now
      sufficient for correct handling of No-Response options.
  ==> This change is backward compatible with existing code.
- The API doc has been cleaned up and straightened

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-03-12 08:56:20 +01:00
Marian Buschsieweke
05289a7d1f
sys/include/net/coap.h: Add COAP_PAYLOAD_MARKER_SIZE
Using a constant is easier than explaining where the magic 1 came from
in size estimations.
2025-03-12 08:33:58 +01:00
Marian Buschsieweke
be27eafc4f
sys/net/nanocoap: fix API inconsistency
For in-band signalling that a content format is not valid / present,
the magic number `COAP_FORMAT_NONE` was introduced and the type
`uint16_t` was used. Some APIs however used different in-band signalling
values and types:

- coap_reply_simple(): No signal available, `unsigned int`
- coap_build_reply_header(): negative values, `int`
    (Using `int` would prevent using larger content format numbers on
    8-bit and 16-bit archs, where `int` and `int16_t` have the same
    range.)

This changes the behavior to consistently use `COAP_FORMAT_NONE` as
"no content format" signal and `uint16_t` as type.
2025-02-24 12:05:35 +01:00
benpicco
f67055c3b2
Merge pull request #19668 from benpicco/ieee802154_symbol_time_on_demand
ieee802154/submac: calculate symbol time on demand
2025-02-20 12:04:10 +00:00
Benjamin Valentin
73e45dd6ca ieee802154/submac: implement MR-FSK timings 2025-02-20 12:00:00 +01:00
krzysztof-cabaj
a2dfd78b27 treewide: fix double the in doc and comments 2025-02-18 13:25:02 +01:00
Marian Buschsieweke
4de6aa10e9
Merge pull request #21212 from mguetschow/examples-rename-match
treewide: fix example references in docs
2025-02-14 18:44:12 +00:00
Mikolai Gütschow
ca5fe72bf8
treewide: fix example references in docs
adapt to folder structure from #21135
2025-02-14 19:14:22 +01:00