1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

9665 Commits

Author SHA1 Message Date
benpicco
de23ba0d04
Merge pull request #18046 from benpicco/nanocoap-minor
nanocoap: minor fixes
2022-05-05 14:56:47 +02:00
a32b01a0af
Merge pull request #18032 from aabadie/pr/sys/quad_math_remove
sys/quad_math: remove unused module for quad arithmetic
2022-05-05 12:57:25 +02:00
Marian Buschsieweke
08ae9bd771
sys/include/time_units.h: add more constants
Added all sensible conversion factors up to days and ordered them.
2022-05-05 11:31:45 +02:00
Karl Fessel
3680198619 ztimer: deprecate ztimer_now64 and ztimer_now_t 2022-05-04 15:57:57 +02:00
1b16ad1e9a
sys/auto_init: model auto_init_security in Kconfig 2022-05-03 16:06:22 +02:00
Benjamin Valentin
76090d98d4 nanocoap: fix doc of coap_blockwise_cb_t return code
see 04a8a36734
2022-05-03 03:54:17 +02:00
Benjamin Valentin
d03c6390c8 nanocoap_sock: release rx buffer on RESET
We must not return without calling sock_udp_recv_buf() again.
2022-05-03 03:53:56 +02:00
Benjamin Valentin
e55f0f8831 sys/net/grnc: make use of iolist_to_buffer() 2022-05-02 23:23:52 +02:00
Benjamin Valentin
42e5d0d402 sys/vfs: add vfs_write_iol() 2022-05-02 23:23:52 +02:00
Benjamin Valentin
501ca7e34d sys/iolist: introduce iolist_to_buffer() 2022-05-02 23:23:52 +02:00
benpicco
1b92fb9858
Merge pull request #17350 from benpicco/gnrc_rpl/auto_init_on_prefix
gnrc/ipv6_auto_subnets: init RPL root when adding a prefix
2022-05-02 21:38:21 +02:00
Benjamin Valentin
a881af8b08 gnrc/ipv6_auto_subnets: bail out early if prefix stays the same 2022-05-01 21:37:32 +02:00
Benjamin Valentin
5785856fe7 gnrc/ipv6_auto_subnets: bail out early if adding prefix fails 2022-04-29 22:56:35 +02:00
Benjamin Valentin
3993fd75d0 gnrc/ipv6_auto_subnets: auto init RPL root 2022-04-29 22:56:35 +02:00
Benjamin Valentin
878596d393 gnrc_netif: improve documentation of gnrc_netif_ipv6_add_prefix() 2022-04-29 22:56:35 +02:00
Benjamin Valentin
04a8a36734 nanocoap_sock: only abort nanocoap_sock_get_blockwise() on negative error
Some user callbacks might just return the result of some other operation
that returns written bytes or negative error.

Let's not break those, only consider negative callback returns an error.
2022-04-29 21:29:36 +02:00
Teufelchen1
4f60140014 net/gnrc: Fixing whitespace in the documentation 2022-04-29 14:19:25 +02:00
Laurin Wolf
2d9a7e27c3 /net/sock/udp: designated iolist_t intializer 2022-04-28 23:47:45 +02:00
Kevin "Tristate Tom" Weiss
7731e6ab62
Merge pull request #17995 from aabadie/pr/tests/pkg_utensor_kconfig
tests/pkg_utensor: model in Kconfig + fix utensor package dependencies
2022-04-28 17:25:56 +02:00
7ca86edec5
sys/quad_math: remove unused module for quad arithmetic 2022-04-28 14:48:10 +02:00
benpicco
42f0d0d24c
Merge pull request #18013 from kfessel/p-coap_pkt-token-deprecate
net/nanocoap: deprecate coap_pkt token ptr
2022-04-28 11:25:47 +02:00
dcbcc53343
sys/posix/pthread: improve Kconfig dependency resolution 2022-04-28 08:49:54 +02:00
Martine Lenders
b167d6931c
Merge pull request #17774 from fjmolinas/pr_nimble_auto_adv_extended
pkg/nimble/autoadv: add support for ext_adv
2022-04-27 16:44:46 +02:00
e9faabd018
Merge pull request #18020 from fjmolinas/pr_suit_storage_flashwrite_log
sys/suit/storage: change log to LOG_DEBUG
2022-04-27 15:10:25 +02:00
Karl Fessel
dcac22eebb net/nanocoap: deprecate coap_pkt token ptr 2022-04-27 12:31:28 +02:00
Francisco Molina
fc616a9916 sys/stdio_nimble: fiter conn_handle 2022-04-27 10:10:32 +02:00
Francisco Molina
8114974ea7 sys/suit/storage: change log to LOG_DEBUG 2022-04-27 09:52:16 +02:00
cdf1d43e15
Merge pull request #17984 from fjmolinas/pr_suit_install_once
sys/suit: avoid installing payload twice
2022-04-27 09:44:58 +02:00
Martine Lenders
aa5a18f833
Merge pull request #16974 from yarrick/lwip_netif
pkg/lwip: Add netif_t struct, register all netifs
2022-04-26 23:49:49 +02:00
chrysn
0a72fc9255
Merge pull request #16812 from chrysn-pull-requests/cord-doc-discoverability
net/cord doc: Usability fixes
2022-04-26 21:10:52 +02:00
Alexandre Moguilevski
17afe9cb1f sys/include/ztimer64: fix for xtimer_msg_receive_timeout64 in xtimer_compat.h 2022-04-25 17:12:11 +02:00
Francisco Molina
e66ad95c4c sys/suit: avoid installing payload twice 2022-04-25 15:21:22 +02:00
Francisco Molina
da9a37a984 pkg/nimble/autoadv: prefix configurations with CONFIG_ 2022-04-25 08:43:51 +02:00
1db89df391
sys: add Kconfig support for cpp11-compat module 2022-04-24 21:23:34 +02:00
c38eb27fe0
sys/posix: add Kconfig file for pthread module 2022-04-24 21:23:33 +02:00
cbcda7c2bf
sys: make MODULE_LIBC_GETTIMEOFDAY prompt visible 2022-04-24 21:23:33 +02:00
677871d717 suit/transport/coap: Use generic subtree handler
The SUIT CoAP code can make use of the generic subtree handler. This
commit removes the obsolete code to make use of the more generic
nanocoap subtree handlers.
2022-04-23 10:21:37 +02:00
eecac6945b nanocoap: Add handler for resource-based subtrees
This adds a coap_handler_t function that can be used to parse new
subtrees. The subtree information is included in the context pointer of
the call and must be of type coap_resource_subtree_t. This object then
contains the pointer and length of a different coap_resource_t instance.
2022-04-23 10:12:18 +02:00
e56f86d594
Merge pull request #17989 from benpicco/ztimer64-msleep-fix
ztimer64_xtimer_compat: fix ztimer_msleep()
2022-04-23 07:40:05 +02:00
Benjamin Valentin
6113b79bdb ztimer64_xtimer_compat: fix ztimer_msleep() 2022-04-22 18:12:45 +02:00
Benjamin Valentin
bb4c597681 nanocoap_sock: document (ab)use of sock_udp_recv_buf(), add asssert() 2022-04-22 11:34:19 +02:00
Benjamin Valentin
b20f89976d nanocoap_sock: pass on error code from user callback 2022-04-22 10:35:52 +02:00
Benjamin Valentin
85833ab58c nanocoap_sock: clean up the request function 2022-04-22 10:35:52 +02:00
Benjamin Valentin
bd7fe3bc5c nanocoap_sock: calculate deadline from interval
So we don't have to wait a full interval again if we got a wrong
message without resend.
2022-04-22 10:35:52 +02:00
Benjamin Valentin
e2fe9d0268 nanocoap_sock: compare response token 2022-04-22 10:35:52 +02:00
Benjamin Valentin
c22b1242ae nanocoap_sock: ensure ctx is reset before receiving new frame 2022-04-22 10:35:52 +02:00
Benjamin Valentin
3ac258ccdf nanocoap_sock: set more false if response was not blockwise 2022-04-22 10:12:27 +02:00
Benjamin Valentin
a5bc3cc069 nanocoap_sock: pass on error code 2022-04-22 10:12:27 +02:00
benpicco
c032e40fba
Merge pull request #17976 from benpicco/coap_get_token
nanocoap: add coap_get_token()
2022-04-22 10:08:30 +02:00
Francisco
21be49a16a
Merge pull request #17973 from fjmolinas/pr_examples_suit_seq_no
examples/suit_update/test: use 'suit seq_no' to get version
2022-04-22 08:47:32 +02:00