1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 13:33:49 +01:00

11404 Commits

Author SHA1 Message Date
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
Teufelchen
3fd5c9afd9
Merge pull request #21363 from benpicco/gnrc_sock-fix-create
gnrc_sock/udp: zero-init sock struct on create
2025-04-04 17:41:42 +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
Benjamin Valentin
291c064ab5 gnrc_sock/udp: zero-init sock struct on create 2025-04-04 15:53:37 +02: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
fb7acf5c6c
Merge pull request #21356 from maribu/sys/net/ipv6/markdown-links
sys/net/ipv6: use markdown links in doc
2025-04-04 07:47:18 +00: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
Marian Buschsieweke
c0cd66d2b4
Merge pull request #20849 from benpicco/event_loop_debug
sys/event: add `event_loop_debug` pseudo-module
2025-04-03 15:26:26 +00:00
Benjamin Valentin
bc8687695c sys/event: add event_loop_debug pseudo-module 2025-04-03 15:56:05 +02:00
Benjamin Valentin
6cb40183a0 nanocoap_sock: implement observe client 2025-04-03 13:23:07 +02:00
mguetschow
57de45cf89
Merge pull request #21308 from benpicco/dec_as_hex
sys/bcd: add bcd_buf_from_u32()
2025-04-03 10:48:33 +00:00
Benjamin Valentin
284845e6ea sys/bcd: add bcd_buf_from_u32() 2025-04-02 18:57:26 +02:00
Marian Buschsieweke
ca781c2f12
Merge pull request #21242 from mguetschow/native-alias
boards: introduce board alias and make native default to host target
2025-04-02 09:14:12 +00:00
Mikolai Gütschow
69c15e1754
boards: make BOARD=native an alias for BOARD=native32 2025-04-01 12:39:06 +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
7a1a8d1aef
Merge pull request #21323 from mguetschow/doc-auto-init
sys/auto_init: fix documentation
2025-03-31 13:20:18 +00:00
mguetschow
04a169867e
Merge pull request #20876 from Ollrogge/fido2_update_tests
Fido2 update tests
2025-03-25 19:32:39 +00:00
Mikolai Gütschow
354da566e2
sys/auto_init: fix documentation
`auto_init` is part of `DEFAULT_MODULE` and can be disabled in an application via `DISABLE_MODULE`
2025-03-25 19:37:08 +01:00
Ollrogge
cec805284c sys/fido2: Remove redundant #ifdef macros 2025-03-25 18:41:42 +01:00
Lukas-Luger
8d13b869e7 sys/psa_crypto: Adding hmac hashing on psa_import_key
Update sys/psa_crypto/psa_crypto_algorithm_dispatch.c

Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de>
2025-03-21 14:35:26 +01: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
Benjamin Valentin
1fdcaac52f sys/string_utils: add reverse_buf() 2025-03-20 01:52:58 +01:00
Michael Richardson
44cb7f1bc8 psa_crypto: shorten @brief description, (not wrappable) 2025-03-19 13:24:42 +07:00
Michael Richardson
3dccb6c58c psa_crypto: fold some long lines 2025-03-19 13:24:42 +07:00
Detlef Justen
3c322eb1a7 sys/malloc_monitor: Fix documentation
In the description the compiler switch -D is missing for setting the
corresponding macro.
2025-03-19 13:24:42 +07:00
Marian Buschsieweke
f54d012534
Merge pull request #21225 from DeJusten/patch-2
sys/malloc_monitor: Fix documentation
2025-03-14 13:03:22 +00:00
Detlef Justen
e7e39a6fd4
sys/malloc_monitor: Fix documentation
In the description the compiler switch -D is missing for setting the
corresponding macro.
2025-03-14 13:15:33 +01: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
benpicco
a042d66e68
Merge pull request #21283 from carl-tud/native-gardening
cpu/native: Gardening/QoL
2025-03-12 17:54:07 +00: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
Ollrogge
3e3ad836a1 sys/fido2: Fix bug in user presence test
The authenticator did not wait for user presence when user
presence tests were enabled, but LED animations were disabled.
2025-03-11 21:01:13 +01:00
carl
90a3f3ffcc cpu/native: docs and descriptive naming 2025-03-11 16:19:39 +01:00
benpicco
1e29887660
Merge pull request #21219 from benpicco/event/periodic_callback
sys/event: add `event_deferred_callback_post()` helper
2025-02-28 12:49:57 +00:00
mguetschow
5018dc6bbf
Merge pull request #21241 from maribu/sys/net/nanocoap/fix-api-inconsistency
sys/net/nanocoap: fix API inconsistency
2025-02-24 12:56:32 +00: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
chrysn
0e6f92eba1 rust: Remove explicit panic=abort in Cargo.toml 2025-02-22 00:10:02 +01:00
Oleg Hahm
4d41dda9a7
Merge pull request #21221 from mguetschow/examples-names-short
examples: shorten subfolders' names
2025-02-21 09:07:48 +00:00
Mikolai Gütschow
9a45c30222
examples: shorten subfolders' names 2025-02-21 09:55:24 +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
Marian Buschsieweke
546b87a2e8
sys/net/nanocoap: fix dereferencing a null pointer
`coap_request_ctx_get_local()` may return `NULL` depending on module
selection. If it does, we cannot pass `NULL` to
`sock_udp_ep_is_multicast()`.

This changes the code assume the request is not received via multicast
when module `sock_aux_local` is not in use.

When the user binds the CoAP server to multiple endpoints (as needed
for using multicast), it is required that `sock_aux_local` is in use
anyway, as otherwise the server may not respond using the endpoint it
received the request on. (That in turn would render the client unable to
correlate the response to the request.)
2025-02-19 11:05:46 +01:00
krzysztof-cabaj
a2dfd78b27 treewide: fix double the in doc and comments 2025-02-18 13:25:02 +01:00
Benjamin Valentin
48f66692ef sys/event: add event_deferred_callback_post() helper 2025-02-17 13:04:03 +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