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
benpicco
cdfdd215f4
Merge pull request #21454 from benpicco/gnrc_ipv6_nib_get_next_hop_l2addr-cleanup
...
gnrc/ipv6/nib: clean up `gnrc_ipv6_nib_get_next_hop_l2addr()`
2025-07-24 11:35:14 +00:00
Benjamin Valentin
824d3ea71d
nanocoap: add coap_iterate_uri_query()
2025-07-24 13:18:06 +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
crasbe
d271fc88a4
Merge pull request #21617 from Teufelchen1/deprecate/gnrc_mac
...
net/mac: Remove deprecated 802.15.4 MAC module
2025-07-21 20:45:24 +00:00
Teufelchen1
944eb05727
net/mac: Remove deprecated 802.15.4 module
2025-07-21 12:57:15 +02:00
Teufelchen
1c1bbf324b
Merge pull request #21585 from elenaf9/rpl/fix-local-repair
...
gnrc/rpl: check old rank before removing parents
2025-07-21 08:12:31 +00: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
Gunar Schorcht
fe448a44f4
Merge pull request #21590 from gschorcht/cpu/esp32/add_esp32h2_ieee802154
...
cpu/esp32: add IEEE 802.15.4 support for ESP32-H2
2025-07-16 06:18:59 +00:00
Gunar Schorcht
98469c0175
sys/net/gnrc/netif: add ESP32x IEEE802.15.4 auto init
2025-07-15 14:35:31 +02: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
5e353a3967
net/unicoap: add documentation
2025-07-08 22:41:45 +02:00
Elena Frank
2d4542ebc9
gnrc/rpl: check old rank before removing parents
...
`gnrc_rpl_dodag_remove_all_parents` sets the node's rank in the DODAG to
`GNRC_RPL_INFINITE_RANK`, so checking the (old) rank should be done
before that function call.
2025-07-08 20:10:06 +02:00
Carl Seifert
63980bcf02
net/unicoap: add header for private API
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
f666e1aa04
net/unicoap: implement RFC 7252 PDU framing
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
501822f560
net/unicoap: driver modules for CoAP transports
2025-07-07 17:27:39 +02:00
Carl Seifert
6b9e5433e6
net/unicoap: add module basics
2025-07-07 17:27:39 +02:00
Fabian Hüßler
3e38157196
submac: add TX power to retrievable netopts
2025-07-03 10:12:29 +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
80cfb41da1
gnrc/ipv6/nib: clean up gnrc_ipv6_nib_get_next_hop_l2addr()
2025-05-07 16:16:08 +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
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
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
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
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
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
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
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
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
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
Mikolai Gütschow
ca5fe72bf8
treewide: fix example references in docs
...
adapt to folder structure from #21135
2025-02-14 19:14:22 +01:00