Martine Lenders
653417d895
gnrc_gomach: deprecate module
2024-03-27 11:07:31 +01:00
Martine Lenders
2deb8882dd
gnrc_lwmac: deprecate module
2024-03-27 11:07:12 +01:00
Martine Lenders
0acb666da6
gnrc_mac: deprecate module
2024-03-27 10:50:23 +01:00
benpicco
222a2e1d99
Merge pull request #20478 from mariemC/Mariem/dtls_default_user_params_fix
...
pkg/tinydtls: enforce the default dtls user params to be configurable
2024-03-26 17:48:08 +00: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
mariemC
863fe9b50b
sys/include/net/sock: add Macros for dtls extensions
2024-03-22 12:19:15 +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
Teufelchen
741d6b3d4a
Merge pull request #20048 from leandrolanzieri/pr/tinydtls/check_public_key
...
net/sock_dtls: add public key verification
2024-03-19 10:32:16 +00:00
Leandro Lanzieri
868d8390f4
sys/net/sock_dtls: add public key verification
2024-03-19 07:44:50 +01:00
Benjamin Valentin
3e3f18eeda
sys/net/sock: add sock_udp_ep_is_v6()
2024-03-17 17:38:58 +01:00
Benjamin Valentin
2e7cdfb345
nanocoap: introduce 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
Joshua DeWeese
c3a4beb200
treewide: make use of new IPv4 static init macro
...
This commit makes use of the newly added static initializer for IPv4
addresses.
2024-02-08 10:14:24 -05:00
Michel Rottleuthner
12982a0f14
gcoap: update documentation on supported features
2024-02-08 15:48:32 +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
Michel Rottleuthner
ab821a1dda
gcoap: add api to forget a client-side observe request
2024-02-08 15:48:32 +01:00
Joshua DeWeese
bcc0d01c08
sys/net/ipv4: add IPV4_ADDR_INIT() macro
...
This patch adds a macro to statically initialize an IPv4 address.
2024-02-07 10:08:16 -05:00
Fabian Hüßler
c4ae9063e9
ipv6/nib: fix gnrc_ipv6_nib_ft_add API and catch overflovs
2024-02-06 18:35:05 +01:00
benpicco
d00fdcb301
Merge pull request #20030 from benpicco/nanocoap_fileserver
...
gcoap_fileserver: rename to nanocoap_fileserver
2024-02-01 09:08:49 +00:00
Benjamin Valentin
be399d59d0
gcoap_fileserver: rename to nanocoap_fileserver
2024-01-30 16:59:00 +01:00
Benjamin Valentin
158c1b8fa8
nanocoap: add coap_build_reply_header()
2024-01-23 19:16:59 +01:00
Benjamin Valentin
fdc722f842
net/coap: define COAP_PAYLOAD_MARKER
2024-01-23 13:56:10 +01:00
Benjamin Valentin
1c24462cd9
nanocoap: implement coap_find_uri_query()
2024-01-19 10:53:03 +01:00
Benjamin Valentin
eb76b8ea62
nanocoap: allow lastonum=NULL in coap_opt_put_uri_pathquery()
2024-01-11 16:51:18 +01:00
Benjamin Valentin
a470c1cb44
nanocoap_sock: always use coap_opt_put_uri_pathquery()
2024-01-11 16:51:18 +01:00
Benjamin Valentin
7240f707a5
nanocoap_sock: implement FETCH methods
2024-01-09 12:40:10 +01:00
Benjamin Valentin
4a5757b9af
gnrc/ipv6/nib: add Kconfig for static link-local address
2024-01-04 17:45:23 +01:00
Benjamin Valentin
7196b0a2ae
gnrc/ipv6/nib: allow for predictable static link-local addresses
2024-01-04 16:13:37 +01:00
Oleg Hahm
724e6e0098
Merge pull request #20167 from benpicco/gnrc_ipv6_classic
...
gnrc_ipv6_nib: fix config for mixed 6lo/classic setup
2023-12-20 12:12:40 +00:00
Benjamin Valentin
a1c3d5a4ea
nanocoap: rename coap_get_uri_query() -> coap_get_uri_query_string()
...
Free up the name for a function that will do something actually useful
2023-12-19 14:01:53 +01:00
Benjamin Valentin
f56edf5849
nanocoap: defuse footgun in coap_get_uri_query()
2023-12-19 14:00:04 +01:00
Benjamin Valentin
fa1f60f4ac
gnrc_ipv6_nib: fix config for mixed 6lo/classic setup
2023-12-19 10:47:54 +01:00
Benjamin Valentin
2f9c68dabc
sys/net/netif: constify netif access
2023-12-15 16:50:21 +01:00
Marian Buschsieweke
d252eb7395
Merge pull request #19998 from fabian18/gnrc_static_messge_queues
...
gnrc: make message queues static
2023-12-04 11:21:08 +00:00
Fabian Hüßler
0cc2bdaf5b
sys/include/net/gnrc: reduce stack by previously allocated message queue
2023-12-03 17:53:44 +01:00
Benjamin Valentin
4bfd87ffa2
nanocoap: rename coap_get_code() -> coap_get_code_decimal()
2023-11-28 13:11:11 +01:00
6425fda812
gcoap: Use millisecond timer for observe option values
2023-11-10 16:00:00 +01:00
bors[bot]
c0ae75b339
Merge #20003 #20028 #20036 #20041
...
20003: coap: create typedef for CoAP methods r=benpicco a=benpicco
20028: nanocoap: fix incorrect uses of coap_get_code() r=benpicco a=benpicco
20036: boards/nucleo-l4r5zi : add PWM configuration r=benpicco a=krzysztof-cabaj
### Contribution description
This PR adds to the Nucleo-l4r5zi PWM configuration
### Testing procedure
Flash the board using `tests/periph/pwm` program. Check if you could, for example, change LED
intensity using PWM.
### Issues/PRs references
None.
20041: pkg/littlefs2: bump to v2.8.1 r=benpicco a=bergzand
### Contribution description
Minor version number bump.
### Testing procedure
- Check if I copied the correct commit hash.
- Run the tests.
### Issues/PRs references
None
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Co-authored-by: krzysztof-cabaj <kcabaj@gmail.com>
Co-authored-by: Koen Zandberg <koen@bergzand.net>
2023-11-02 11:01:23 +00:00
Benjamin Valentin
db3294a481
nanocoap_sock: make use of coap_method_t
2023-10-26 11:37:14 +02:00
Benjamin Valentin
1e854ec187
coap: create typedef for CoAP methods
2023-10-26 11:37:14 +02:00
Martine Lenders
63fd5643e4
coap: Set COAP_FORMAT_DNS_MESSAGE to 553
...
Set since draft-ietf-core-dns-over-coap-03
2023-10-25 11:00:56 +02:00
Martine Lenders
410be58f36
gcoap_dns: Update draft URL
...
The DoC draft is a working group draft since September 2022
2023-10-25 10:54:31 +02:00
Marian Buschsieweke
edc43201db
tree-wide: fix typos in doc and comments
...
This should not change any generated binary
2023-10-16 12:17:48 +02:00
Erik Ekman
4f6b2759be
sys/net: Add NETOPT_ACTIVE for netif on/off state
...
Similar to forcing interface up/down on Linux.
In lwIP this is separate to link state.
2023-10-11 21:46:55 +02:00
Benjamin Valentin
0572a9571b
gnrc_ipv6_nib: disable router advertisements on interface startup
...
Router Advertisements are enabled automatically for routing nodes
as soon as they obtain a prefix (e.g. via DHCPv6, UHCP, …).
Enabling router advertisements without a prefix to advertise is
wrong and causes no router solicitations to be send on an upstream
interface.
Also from https://www.rfc-editor.org/rfc/rfc4861#section-6.2.1
Note that AdvSendAdvertisements MUST be FALSE by
default so that a node will not accidentally start
acting as a router unless it is explicitly
configured by system management to send Router
Advertisements.
2023-09-11 16:03:54 +02:00