Martine Lenders
a8254d52b8
Merge pull request #16705 from miri64/gcoap_dns/feat/initial
...
gcoap_dns: initial import of a DNS over CoAP (DoC) client
2022-07-13 02:27:17 +02:00
MrKevinWeiss
3095afafd2
sys/test_utils: add netdev ieee802154 minimal processing
2022-07-11 09:25:01 +02:00
Martine Lenders
107a2a0753
gcoap_dns: initial import of a DNS over CoAP client
2022-07-01 18:44:02 +02:00
Martine Lenders
fda230eb7c
Merge pull request #18275 from maribu/sys/net/rpl/netstats
...
sys/net/gnrc/rpl: sync access to netstats
2022-07-01 12:24:24 +02:00
Firas Hamdi
bc0d3f9de3
drivers/mcp2515: apply the filter to a target mailbox
...
sys/include/can: add the mailbox target as a member to the filter structure
drivers/mcp2515: cleanup defines
2022-06-30 10:07:24 +02:00
Marian Buschsieweke
5a47d6a9b8
sys/net/gnrc/rpl: sync access to netstats
...
Synchronize the RPL thread updating the RPL netstats with the RPL
shell command reading it by disabling IRQs. This will prevent printing
corrupted data on non-32bit platforms as well as printing inconsistent
data (e.g. TX count of old state in conjunction with TX bytes of new
state) for all platforms.
Co-authored-by: Martine Lenders <mail@martine-lenders.eu>
2022-06-30 09:48:46 +02:00
Marian Buschsieweke
93d8bade8e
sys/net/gnrc/rpl: refactor netstats_rpl_t
...
There is a repeating pattern in the struct that is split out into a
subtype in this commit. This makes handling the data easier, as now
done in the print routine.
2022-06-30 09:48:45 +02:00
Martine Lenders
d9846e414f
Merge pull request #18269 from maribu/sys/net/netstats
...
sys/net/netopt: change NETOPT_STATS semantics
2022-06-29 15:52:03 +02:00
Marian Buschsieweke
973b6f69bf
sys/net/netopt: change NETOPT_STATS semantics
...
Instead of retrieving a pointer with NETOPT_STATS, retrieve the current
data. This avoids data corruptions when reading from one thread (e.g.
the thread running the shell (ifconfig command)) while another thread
is updating it (e.g. the netif thread).
The issue affects all boards, as users typically expect the count of
TX packets and the number of TX bytes to refer to the same state. For
16 bit and 8 bit platforms even a single netstat entry can read back
corrupted.
This fixes the issue by just copying the whole netstat_t struct over
without requiring explicit locking on the user side. A multi-threaded
network stack still needs to synchronize the thread responding to
netopt_get with the thread writing to the netstat_t structure, but that
is an implementation detail no relevant to the user of the API.
2022-06-28 16:57:43 +02:00
benpicco
5bb12f3e57
Merge pull request #18264 from jia200x/pr/submac_use_ieee802154_retrans_config
...
ieee802154: add default max frame retransmissions config
2022-06-28 16:00:51 +02:00
Jose Alamos
88e14f01a1
ieee802154/submac: use default config for max frame retransmissions
2022-06-27 14:51:16 +02:00
Jose Alamos
0a76a88dc8
ieee802154: add default max frame retransmissions config
2022-06-27 14:50:54 +02:00
Benjamin Valentin
de91fc4b3a
sys/vfs: FATFS_VFS_FILE_BUFFER_SIZE depends on VFS_NAME_MAX
...
e.g. try CFLAGS += -DVFS_NAME_MAX=39
2022-06-21 18:02:54 +02:00
Martine Lenders
03dfad899b
Merge pull request #17834 from haukepetersen/opt_skald_advitvlconfig
...
net/ble/skald: make advertising interval configurable per context
2022-06-21 13:31:57 +02:00
Gunar Schorcht
934c65fb2e
Merge pull request #18212 from benpicco/kernel_defines-CONST
...
core/kernel_defines: drop CONST definition
2022-06-17 17:45:46 +02:00
Benjamin Valentin
7bc1fea55a
sys/tm: drop CONST
2022-06-16 15:26:27 +02:00
benpicco
0a16f8266a
Merge pull request #17962 from benpicco/nanocoap_vfs-put
...
nanocoap_vfs: add nanocoap_vfs_put()
2022-06-16 11:53:36 +02:00
Benjamin Valentin
148651a94d
sys/fs/constfs: allow to host arbitrary data
...
Don't require data to be a uint8_t array to to be casted into one.
2022-06-12 19:39:27 +02:00
benpicco
d797b74b0b
Merge pull request #18196 from gschorcht/sys/rtc_utils_doc_fix
...
sys/rtc_utils: small doc fix of rtc_mktime
2022-06-12 17:14:21 +02:00
Gunar Schorcht
8a5e632b2f
sys/rtc_utils: small doc fix of rtc_mktime
2022-06-12 15:49:01 +02:00
Benjamin Valentin
bb42f6a2f4
nanocoap_vfs: add nanocoap_vfs_put()
2022-06-08 17:19:03 +02:00
Benjamin Valentin
3adda46cec
nanocoap: add coap_size2szx()
2022-06-08 17:19:03 +02:00
Benjamin Valentin
7029572ca7
sys/net/telnet: add telnet_server_disconnect()
2022-06-08 13:01:23 +02:00
Hendrik van Essen
ccc795133f
sys/shell: add pseudomodule shell_lock_auto_locking
...
Module to lock the shell after a given timeout of time x. When the
shell did not receive any input within time x, then the shell is
locked automatically.
2022-06-08 12:53:48 +02:00
Hendrik van Essen
2284f87fdb
sys/shell: add module shell_lock
...
Module to lock the running shell with a password. Shell is proceeded only
when the valid password was entered by the user. After 3 failed attempts,
the input is blocked for a few seconds to slow down brute force attacks.
Does not make use of any cryptographic features yet.
2022-06-08 12:53:48 +02:00
Marian Buschsieweke
20d3304077
Merge pull request #18152 from maribu/sys/shell_commands
...
sys/shell_commands: convert to SHELL_COMMAND()
2022-06-08 06:40:46 +02:00
benpicco
6019925c75
Merge pull request #17943 from fjmolinas/pr_suit_vfs_storage
...
sys/suit/storage/vfs: initial import
2022-06-07 09:33:37 +02:00
Marian Buschsieweke
5ea582b3dd
sys/shell_commands: convert to SHELL_COMMAND()
...
Make use of XFA for shell commands
2022-06-07 09:25:04 +02:00
Francisco
f6d5a54c3e
Merge pull request #18045 from benpicco/suit/transport-vfs
...
suit/transport/vfs: add VFS as source for firmware updates
2022-06-07 08:32:15 +02:00
Marian Buschsieweke
bfb8a55764
sys/net/netif: add helpers for IPv6 addresses
...
- add `netif_get_ipv6()` to query IPv6 (as a slim convenience wrapper
for `netif_get_opt()`)
- add `netifs_get_ipv6()` to query IPv6 addresses of all netifs
- add `netif_print_ipv6()` to print the IPv6 address(es) of a single
netif
- add `netifs_print_ipv6()` to print the IPv6 address(es) of all netifs
2022-06-06 20:46:48 +02:00
Marian Buschsieweke
a4d00df586
sys/net: add ipv6_addrs_print()
...
Also use `IS_USED(MODULE_FMT)` rather than the preprocessor and rely
on the optimizer to eliminate the dead branch.
2022-06-06 20:46:48 +02:00
Francisco Molina
f485e9b0d9
sys/storage/vfs: initial import
2022-06-03 08:49:44 +02:00
Benjamin Valentin
d9114f81c4
suit: replace SUIT_URL_MAX with CONFIG_SOCK_URLPATH_MAXLEN
2022-06-01 13:00:51 +02:00
Benjamin Valentin
8e5812d218
suit/transport: move common code to new file
2022-06-01 13:00:51 +02:00
Benjamin Valentin
dd4a578ef3
suit/transport/vfs: add VFS as source for firmware updates
2022-06-01 13:00:50 +02:00
benpicco
4b6da5c8e4
Merge pull request #17863 from benpicco/sam0_sdhc
...
cpu/samd5x: add SD Host Controller implementation
2022-05-31 15:33:24 +02:00
Benjamin Valentin
babee877ce
cpu/sam0_common: add SD Host Controller implementation
2022-05-31 11:07:20 +02:00
Benjamin Valentin
01eba05ca1
sys/net/sock: add a word of warning to sock_udp_create()
...
If a socket is created we must also call sock_udp_recv() on it as
otherwise messages will get stuck in it's queue until the socket is
closed (which might be never).
If applications only want to send without receiving, they must use
sock_udp_send().
2022-05-30 20:21:13 +02:00
Martine Lenders
2d67eaf7ef
Merge pull request #18105 from kfessel/p-deprecate-ztimer-now64-2
...
ztimer: add module removal information to doxygen and date it
2022-05-25 18:54:09 +02:00
benpicco
31b8518d20
Merge pull request #17965 from benpicco/coap_get_blockopt-uint8
...
nanocoap: use uint8_t for szx value
2022-05-25 14:00:04 +02:00
Benjamin Valentin
1662f0fa46
sys/suit: move suit_storage_helper() to handlers_command_seq.c
2022-05-25 12:17:48 +02:00
Martine Lenders
3e531801e6
Merge pull request #17678 from miri64/gnrc_netif/enh/optional-comp-ctx
...
gnrc_netif: make auto-config of compression context optional
2022-05-25 00:51:36 +02:00
Hauke Petersen
f10a28a7f7
net/ble/skald: let itvl be configured per context
2022-05-24 13:02:10 +02:00
Martine Lenders
3d819ce707
gnrc_netif: make auto-config of compression context optional
2022-05-24 12:30:36 +02:00
Benjamin Valentin
87359bb70a
nanocoap_vfs: add nanocoap_vfs_get()
2022-05-24 09:32:57 +02:00
Benjamin Valentin
ad7d974183
nanocoap: define default block size
2022-05-24 09:32:09 +02:00
Benjamin Valentin
00221818b6
nanocoap: use uint8_t for szx value
...
The value is an exponent, 8 bits totally suffice here
2022-05-23 23:41:21 +02:00
benpicco
08e430bee7
Merge pull request #17956 from benpicco/coapfileserver
...
gcoap: Add file server
2022-05-23 22:10:49 +02:00
Marian Buschsieweke
16f859dafd
drivers/saul: use const qualifier for data to write
...
This makes life easier when calling e.g. `saul_reg_write()` with data
stored in flash.
As now the signatures for reading and writing differ (in that `const`
qualifier only), `saul_notsup()` is split into `saul_write_notsup()`
and `saul_read_notsup()`. However, one is implemented as a symbol alias
of the other, so that ROM consumption remains unchanged.
2022-05-23 08:35:27 +02:00
chrysn
185dfea07f
gcoap_fileserver: New module to serve VFS via CoAP
2022-05-22 16:36:21 +02:00
chrysn
bb56b34c3a
Merge pull request #18117 from LP-HAW/fix-phydat_to_json
...
sys/phydat: fix phydat_to_json precondition
2022-05-19 23:24:25 +02:00
Karl Fessel
b7fef93f9c
ztimer: add module removal information to doxygen
2022-05-19 11:39:00 +02:00
benpicco
82fd89fa89
Merge pull request #18040 from benpicco/vfs_util-hash
...
sys/vfs_util: add vfs_file_<hash>() functions and md5sum, sha1sum and sha256sum shell commands
2022-05-19 09:08:23 +02:00
Lars Pfau
7a94b36430
sys/phydat: fix phydat_to_json dim precondition
2022-05-19 07:29:51 +02:00
Francisco
37da85f047
Merge pull request #18033 from thingsat/pr/sx1280_v2
...
drivers/sx1280: add driver for SX1280 transceiver v2
2022-05-18 22:10:38 +02:00
benpicco
7c62c8983d
Merge pull request #17958 from benpicco/nanocoap-blockwise_put
...
nanocoap_sock: add nanocoap_sock_block_request()
2022-05-18 10:40:24 +02:00
Benjamin Valentin
c20a1d04c8
net/nanocoap: improve documentation of coap_pkt_t
2022-05-17 23:07:23 +02:00
Benjamin Valentin
b99d4b58bd
nanocoap_sock: add nanocoap_sock_block_request()
2022-05-17 23:07:23 +02:00
Benjamin Valentin
f2279e43ae
nanocoap_sock: support sending CoAP packet with payload snips
2022-05-17 23:07:23 +02:00
benpicco
cabb0b7398
Merge pull request #18109 from benpicco/vfs_unmount_by_path
...
sys/vfs: add vfs_unmount_by_path()
2022-05-17 20:25:18 +02:00
Aymeric Brochier
8e86382e29
sys/include/net/lora: add 2.4Ghz BW definitions
2022-05-17 15:30:01 +02:00
Benjamin Valentin
427d06c987
sys/vfs_util: add vfs_file_sha256()
2022-05-17 11:30:51 +02:00
Benjamin Valentin
846adfc0cc
sys/vfs_util: add vfs_file_sha1()
2022-05-17 11:30:51 +02:00
Benjamin Valentin
65578269fc
sys/vfs_util: add vfs_file_md5()
2022-05-17 11:30:51 +02:00
benpicco
1c97eea8b9
Merge pull request #18038 from benpicco/vfs_util
...
sys/vfs_util: add VFS helper functions
2022-05-17 02:17:38 +02:00
chrysn
ee346fe628
sys/vfs: Point user to simplified functions
2022-05-16 13:52:29 +02:00
Benjamin Valentin
c15e87475b
sys/vfs_util: add VFS helper functions
2022-05-16 13:52:29 +02:00
benpicco
d28a45e939
Merge pull request #18089 from benpicco/NETOPT_RX_END_IRQ
...
net/netopt: drop NETOPT_RX_END_IRQ
2022-05-16 11:34:48 +02:00
Benjamin Valentin
ff4c738e2d
sys/vfs: add vfs_unmount_by_path()
2022-05-16 11:11:11 +02:00
benpicco
1e315c7308
Merge pull request #16748 from jia200x/pr/gnrc_netif/remove_netdev_event_isr_msg
...
gnrc_netif: use event loops by default to process ISR
2022-05-13 18:49:01 +02:00
Martine Lenders
dbed2b48ea
nanocoap_cache: add helper function to check if entry is stale
2022-05-13 12:14:55 +02:00
Martine Lenders
310ed649ae
gcoap: reflect truncation with caching
2022-05-13 12:14:55 +02:00
Martine Lenders
728c7d6088
gcoap: add nanocoap_cache support for clients
2022-05-13 12:14:54 +02:00
Martine Lenders
cbbde07cc6
gcoap: add helper function to get request header from a request memo
2022-05-12 15:22:05 +02:00
Martine Lenders
73bcd83543
nanocoap_cache, forward_proxy: add ETag validation support
2022-05-12 13:22:41 +02:00
Benjamin Valentin
aae9bb0a91
net/netopt: remove NETOPT_RX_END_IRQ
2022-05-11 23:44:24 +02:00
Cenk Gündoğan
8750605d26
nanocoap: add cache for response messages
2022-05-10 18:43:56 +02:00
Jose Alamos
38798cb877
gnrc_netif: use events instead of msg queue for ISR offload
2022-05-10 17:48:42 +02:00
Marian Buschsieweke
eadd282cf4
Merge pull request #18026 from benpicco/gcoap_add_fix
...
gcoap: ensure response address is the same as request address
2022-05-10 10:49:56 +02:00
Marian Buschsieweke
3dad6740da
Merge pull request #17990 from benpicco/nanocoap-void
...
nanocoap: use void * for payload bytes
2022-05-10 10:49:05 +02:00
Benjamin Valentin
6e1fb4c3aa
sys/net/sock: introduce SOCK_AUX_SET_LOCAL
2022-05-10 09:24:56 +02:00
Benjamin Valentin
f11899f6bb
sys/net: add local to sock_udp_aux_tx_t
2022-05-10 09:24:56 +02:00
Benjamin Valentin
bcd58bfd10
sys/net: add local to sock_ip_aux_tx_t
2022-05-10 09:24:56 +02:00
Benjamin Valentin
79987483e4
net/gnrc_netif: clarify documentation of gnrc_netif_ipv6_addrs_get()
...
Reformulate the documentation to make it clear that this returns the
*size* of the addresses, not the number of addresses.
2022-05-09 21:46:01 +02:00
benpicco
de23ba0d04
Merge pull request #18046 from benpicco/nanocoap-minor
...
nanocoap: minor fixes
2022-05-05 14:56:47 +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
Benjamin Valentin
0847c18a18
nanocoap: use size_t for payload_len
2022-05-03 11:32:20 +02:00
Benjamin Valentin
cabb2c912d
nanocoap: use void * for payload bytes
2022-05-03 11:32:20 +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
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
878596d393
gnrc_netif: improve documentation of gnrc_netif_ipv6_add_prefix()
2022-04-29 22:56:35 +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
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
Karl Fessel
dcac22eebb
net/nanocoap: deprecate coap_pkt token ptr
2022-04-27 12:31:28 +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
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
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
Benjamin Valentin
6113b79bdb
ztimer64_xtimer_compat: fix ztimer_msleep()
2022-04-22 18:12:45 +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
7307923703
Merge pull request #17960 from benpicco/sock_urlpath
...
nanocoap_sock: add nanocoap_sock_url_connect()
2022-04-22 08:26:12 +02:00
Benjamin Valentin
e627d25752
nanocoap: constify get functions
2022-04-21 15:39:25 +02:00
Benjamin Valentin
328d46277d
nanocoap: add coap_get_token()
2022-04-21 15:34:31 +02:00
56fdc90ef4
Merge pull request #17952 from leandrolanzieri/pr/sys/event/add_doc_and_assert
...
sys/event: Add documentation and enforce waiter on wait
2022-04-19 09:24:53 +02:00
Benjamin Valentin
2ea6c81217
nanocoap_sock: add nanocoap_sock_url_connect()
2022-04-18 01:53:23 +02:00
Benjamin Valentin
f6be7d6ffe
sys/net/sock_util: add sock_urlpath()
2022-04-18 01:36:50 +02:00
benpicco
c610b1fa2f
Merge pull request #17939 from fjmolinas/pr_suit_manifest_ram_seq_no
...
sys/suit: save seq_number when parsing manifest
2022-04-15 14:22:57 +02:00
Leandro Lanzieri
b3b76bf6f3
sys/event: ensure that a queue has a waiter before waiting for flags
...
Document and enforce that a queue has a waiter (i.e. it is claimed)
before waiting for thread flags.
2022-04-14 17:10:24 +02:00
Leandro Lanzieri
d3ee32fe97
sys/event: add queue initialization pre-cond to event_post
...
Document that a queue should have been initialized before posting events
to it.
2022-04-14 17:08:42 +02:00
benpicco
2790e361d8
Merge pull request #17946 from fjmolinas/pr_net_af_cleanup_doc
...
sys/include/net/af: fix doc comment
2022-04-14 13:46:29 +02:00
Francisco Molina
7e520b1194
sys/include/net/af: fix doc comment
2022-04-14 09:23:27 +02:00
Francisco Molina
6a1b472a06
sys/suit: save seq_number when parsing manifest
2022-04-14 08:27:30 +02:00
benpicco
32790eb8f2
Merge pull request #17509 from benpicco/nanocoap-rework
...
sys/net/nanocoap: refactor to remove work-buffer requirement
2022-04-14 01:17:30 +02:00
Benjamin Valentin
dbbb602522
net/coap: refactor nanocoap_request for zero-copy operation
...
This removes the need for a user provied work buffer from nanocoap.
Instead we let the user operate directly on network stack internal
memory and provide a callback mechanism to make sure the memory is
properly freed again.
2022-04-13 19:33:00 +02:00
Joshua DeWeese
7f8bf30b70
sys/can: fix typo in documentation
...
The documentation mentions the can module's interaction with the can
tranciver driver (can_trx), but incorrectly calls it trx_can. This patch
fixes the documentation.
2022-04-13 11:48:43 -04:00
Peter Kietzmann
5a8654ecab
Merge pull request #17096 from Ollrogge/fido2_follow_up
...
Fido2 follow up
2022-04-13 12:14:43 +02:00
Benjamin Valentin
21cba5771d
nanocoap: constify helper functions
2022-04-12 16:07:32 +02:00
Ollrogge
deeea2b5f2
sys/fido2: documentation changes && code cleanup
2022-04-12 16:01:50 +02:00
Dario Petrillo
f5e6268418
net/loramac: use enum type in lora_time_on_air()
2022-04-12 12:16:44 +02:00
Ollrogge
3306dffe23
sys/fido2: update flash handling && bug fixes
2022-04-11 13:03:41 +02:00
Martine Lenders
0f1674379a
congure_reno: initial import of TCP Reno congestion control
2022-04-08 14:37:47 +02:00
Oleg Hahm
755ea30da7
Merge pull request #17871 from HendrikVE/pr/sock_dns_mock
...
sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns
2022-04-08 14:20:17 +02:00
Oleg Hahm
f3ffe134b0
Merge pull request #17895 from benpicco/pm_blocker_array
...
sys/pm_layered: use array representation, get rid of implicit IDLE mode
2022-04-08 14:04:46 +02:00
Oleg Hahm
a687552ac9
Merge pull request #17794 from fabian18/auto_init_using_xfa_simple
...
sys/auto_init: custom auto-initialization sequence (simple)
2022-04-07 12:32:01 +02:00
Benjamin Valentin
7fb8f3b7c5
sys/pm_layered: rename val_u8 -> blockers
2022-04-06 12:29:25 +02:00
Benjamin Valentin
79de7ea5e5
sys/pm_layered: use array representation, get rid of implicit IDLE mode
2022-04-06 12:29:25 +02:00
Hendrik van Essen
a9fb3388ca
sys/net/application_layer/sock_dns_mock: add module for mocking sock_dns
2022-04-03 17:29:10 +02:00
3a83c380f7
Merge pull request #17824 from geonnave/set_channels_mask
...
pkg/semtech-loramac: enable setting channels mask
2022-04-02 18:56:11 +02:00
Martine Lenders
00fdd8a146
nanocoap: introduce coap_opt_remove()
2022-03-31 09:47:57 +02:00
Fabian Hüßler
8d7a7593e8
sys/auto_init: use XFA to insert custom modules
2022-03-30 15:00:21 +02:00
benpicco
9ca3dd5d4b
Merge pull request #17656 from benpicco/vfs_default-test
...
vfs_default: add compile test and add default mount for more boards
2022-03-29 13:47:08 +02:00
Benjamin Valentin
7ba58d4461
sys/vfs: add vfs_default.h
2022-03-29 10:24:01 +02:00
benpicco
1133d04de1
Merge pull request #17813 from leandrolanzieri/pr/tests/eth_drivers_rework
...
tests: rework eth drivers
2022-03-28 18:15:27 +02:00
Martine Lenders
76935ddbf5
Merge pull request #17510 from benpicco/sock_tl_str2ep-dns
...
sys/net/sock_util: add sock_tl_name2ep() to optionally perform DNS lookups
2022-03-24 15:59:59 +01:00
Leandro Lanzieri
48ae24b545
sys/test_utils: add netdev Ethernet minimal processing
2022-03-24 09:44:52 +01:00
Benjamin Valentin
3f95f39d88
sys/net/sock_util: add sock_{udp,tcp}_name2ep() wrapper
2022-03-22 11:03:12 +01:00
Benjamin Valentin
1ef6da7de4
sys/net/sock_util: add sock_tl_name2ep()
2022-03-22 11:03:12 +01:00
Benjamin Valentin
a6a8356385
nanocoap: add nanocoap_get_blockwise_url_to_buf() function
...
This moves the internal convenience function suit_coap_get_blockwise_url_buf()
into nanocoap to make it globally available.
2022-03-22 10:36:50 +01:00
Geovane Fedrecheski
eabeee0ebe
sys/shell+pkg/semtech-loramac: add get ch_mask
...
Also, set LORAMAC_CHANNELS_MASK_LEN based on the
selected LORA_REGION configuration.
2022-03-18 14:26:01 -03:00
Geovane Fedrecheski
26c55a91bd
sys/shell: add 'loramac set ch_mask' command
2022-03-18 10:48:18 -03:00
benpicco
9f73630ed9
Merge pull request #17798 from benpicco/pkg/fatfs-exfat
...
pkg/fatfs: enable exFAT support
2022-03-11 22:02:28 +01:00
Cenk Gündoğan
9746c3a830
nanocoap: add COAP_IGNORE for when method parsing is not important
2022-03-11 14:53:17 +01:00
Cenk Gündoğan
fa19b62cdb
gcoap/forward_proxy: add submodule
2022-03-11 14:53:17 +01:00
Benjamin Valentin
805bfc754a
pkg/fatfs: enable exFAT support
...
Enabling exFAT requires enabling long file names, so enable LFN if
exFAT is enabled.
exFAT (and LFN) also requires bumping the per-file/per-dir buffer.
Can be tested with
CFLAGS += -DFATFS_FFCONF_OPT_FS_EXFAT=1
2022-03-11 13:21:46 +01:00
b29a658555
Merge pull request #17719 from fjmolinas/pr_sys_posix_convert
...
sys/sema: add sema_ztimer64 to implement old api, deprecate sema
2022-03-10 15:36:06 +01:00
Francisco Molina
2e2daae5d0
sys/sema: use sema_ztimer64 to implement old sema api
...
This PR removes the old xtimer based implementation for sema. Since
this implementation used 64bit timeout, backweard compatibility is
kept by having `sema_wait_timed` be implemented by `ztimer64_usec`
which is enabled by selecting `sema_deprecated`
With this 64bit `sema` api is now deprecated.
2022-03-10 14:19:44 +01:00
Francisco
8fa2687880
Merge pull request #17753 from fjmolinas/pr_fido2_all_ztimer
...
sys/fido2: use ztimer instead of xtimer
2022-03-10 08:08:30 +01:00
benpicco
9896071bb9
Merge pull request #17493 from HendrikVE/pr/auto_init_sock_dns
...
sys/net/application_layer/sock_dns: add pseudomodule auto_init_sock_dns
2022-03-10 00:53:32 +01:00
benpicco
60fb36eb1e
Merge pull request #17710 from benpicco/sys/bitfield-ops
...
sys/bitfield: add support for bit-wise bitfield operations
2022-03-09 22:09:34 +01:00
Hendrik van Essen
0b0910f82a
sys/net/application_layer/sock_dns: add pseudomodule auto_init_sock_dns
2022-03-09 20:05:20 +01:00
benpicco
f83fa88ccd
Merge pull request #17764 from HendrikVE/pr/netutils_netutils_get_ipv4
...
sys/net/netutils: add netutils_get_ipv4()
2022-03-09 11:30:38 +01:00
benpicco
34ea5c31d1
Merge pull request #17758 from chrysn-pull-requests/ztimer_periodic_callback_t
...
sys/ztimer: Name callback types
2022-03-08 17:23:01 +01:00
Hendrik van Essen
ffd93c9b1b
sys/net/netutils: add netutils_get_ipv4()
2022-03-08 13:35:32 +01:00
benpicco
888b2aa098
Merge pull request #17762 from HendrikVE/pr/const_ipv4_addr_t_pointer
...
sys/net/ipv4: ipv4_addr_t pointer should be const
2022-03-08 12:10:42 +01:00
Benjamin Valentin
d406f12028
sys/bitfield: improve documentation of bf_get_unset()
2022-03-08 10:28:31 +01:00
Benjamin Valentin
f3e519e27a
sys/bitfield: add support for bitfield operations
2022-03-08 10:28:16 +01:00
chrysn
f3e462d039
sys/ztimer: Name callback types
2022-03-08 09:12:20 +01:00
benpicco
8a67aaba91
Merge pull request #17744 from leandrolanzieri/sys/chunked_ringbuffer/kconfig
...
sys/chunked_ringbuffer: model Kconfig
2022-03-07 18:20:38 +01:00
Hendrik van Essen
60153eed4c
sys/net/ipv4: ipv4_addr_t pointer should be const
2022-03-05 14:39:50 +01:00
Francisco Molina
8e3422781d
sys/fido2: use ztimer instead of xtimer
...
- for ctap hid timeouts xtimer was used, use ztimer64_msec instead
since the code is using absolute times, an already using ztimer_msec
- use event_timeout_ztimer instead of event_timeout to not pull in
xtimer
2022-03-04 17:04:28 +01:00
Benjamin Valentin
91ad8ec403
sys/net/ipv6: add ipv6_addr_init() helper function
...
Setting a compile-time const IP address can be a bit cumbersome.
Add a helper function to easy the process.
2022-03-04 15:34:15 +01:00
Leandro Lanzieri
0d4dae9c38
sys/chunked_ringbuffer: move config to CONFIG_ namespace
2022-03-04 09:35:39 +01:00
benpicco
21205bd6ce
Merge pull request #17351 from benpicco/ztimer_periodic-return
...
ztimer_periodic: make callback function return bool
2022-03-03 14:42:33 +01:00
benpicco
c411edef55
Merge pull request #16688 from miri64/gcoap/enh/multitransport
...
gcoap: multi-transport support
2022-03-03 12:15:48 +01:00
97174015ac
Merge pull request #17730 from fjmolinas/pr_sixlowpan_frag_fb_include_guard
...
sys/gnrc/sixlowpan/frag/fb: guard sfr_types.h header include
2022-03-02 14:25:44 +01:00
Francisco Molina
c8045dc815
sys/gnrc/sixlowpan/frag/fb: guard sfr_types.h header include
...
The included header references evtimer which is not a direct
dependency for gnrc_sixlowpan_frag, but only for
gnr_sixlowpan_frag_sfr
2022-03-02 08:42:36 +01:00
Benjamin Valentin
2034fa5101
sys/net/application_layer: add telnet server module
2022-03-01 23:07:22 +01:00
Martine Lenders
287bfdc10d
gcoap: multi-transport support for listeners
2022-03-01 19:33:15 +01:00
Martine Lenders
90eae8e0a4
gcoap: multi-transport support for clients
...
23a8659bdf
introduced DTLS support for
CoAP, but did not make it possible to select the transport on request.
Since switching between CoAP and CoAPS (CoAP-over-DTLS) as client is a
valid use case (one might want to e.g. talk to one server over CoAP and
to another over CoAPS), this change makes that possible.
2022-03-01 19:26:10 +01:00
a17ff53ecf
Merge pull request #17485 from benpicco/sock_udp_sendv
...
sys/net/sock: add sock_udp_sendv() API
2022-03-01 14:05:21 +01:00
Karl Fessel
35107ec4ba
sys/net: add missing includes
2022-02-28 14:53:07 +01:00
Karl Fessel
d03175c2ae
net/gnrc: avoid *timer creeping though header
2022-02-28 14:53:07 +01:00
benpicco
bbfa69153e
Merge pull request #17474 from benpicco/nanocoap-suit
...
sys/net/nanocoap: introduce `nanocoap_sock_*()`, use in suit/transport/coap
2022-02-27 02:07:50 +01:00
Karl Fessel
f3d935e31f
Merge pull request #17705 from kfessel/p-fix-ztimer-compat
...
sys/ztimer/xtimer_compat: fix bug introduced in #17690 and ..
also adds missing
dummy XTIMER_BACKOFF
xtimer_init
xtimer_is_set
xtimer_rmutex_lock_timeout
2022-02-25 23:44:30 +01:00
benpicco
51e47e70cb
Merge pull request #17631 from benpicco/pkg/fatfs-non_tiny
...
pkg/fatfs_vfs: support FF_FS_TINY=0
2022-02-25 23:43:54 +01:00
Karl Fessel
08442dbc83
sys/ztimer/xtimer_comapt: add missing define and functions
...
- dummy XTIMER_BACKOFF
- xtimer_init
- xtimer_is_set
- xtimer_rmutex_lock_timeout
2022-02-25 16:32:35 +01:00
Karl Fessel
eb87cb7d3a
sys/ztimer/xtimer_compat: fix bug introduced in #17690
2022-02-25 13:52:18 +01:00
Francisco
d895a29c79
Merge pull request #17690 from kfessel/p-ztimer-xtimer-compat32
...
sys/ztimer: cleanup xtimer_compat.h for 32Bit only
2022-02-25 08:37:34 +01:00
benpicco
67b98fd741
sys/net/nanocoap: introduce nanocoap_sock_*()
...
Co-authored-by: Jan Romann <jan.romann@uni-bremen.de>
2022-02-24 12:20:47 +01:00
Benjamin Valentin
0b768e5602
nanocoap: add nanocoap_request_simple()
2022-02-24 12:20:05 +01:00
Benjamin Valentin
7dc2f730d2
nanocoap: check if all critical options were handled
2022-02-24 12:20:05 +01:00
df8086091f
sys/ztimer: add ztimer64_xtimer_compat
...
The ztimer64_xtimer_compat modules implements the whole xtimer api
on top of ztimer64_usec
2022-02-24 09:10:58 +01:00
Karl Fessel
822dbc718d
sys/ztimer: xtimer_compat (32) remove xtimer_now_timex()
2022-02-23 16:21:37 +01:00
Karl Fessel
d81fbf044b
sys/ztimer: cleanup xtimer_compat.h for 32Bit only
2022-02-23 16:01:05 +01:00
d43ad768f1
Merge pull request #17689 from fjmolinas/pr_event_timeout_deprecate_xtimer
...
sys/event/timeout: remove alternative xtimer implementation
2022-02-23 13:37:30 +01:00
Francisco Molina
b4a70fc29c
sys/event/timeout: remove alternative xtimer implementation
...
The old event_timeout API is no soley implemented on top of ztimer_usec.
2022-02-23 12:14:30 +01:00
c6151226ad
Merge pull request #17633 from fjmolinas/pr_ztimer_auto_adjust
...
sys/ztimer: add auto_adjust module
2022-02-23 10:01:05 +01:00
Benjamin Valentin
8322110f84
pkg/fatfs: support FF_USE_FASTSEEK=1
2022-02-22 15:03:55 +01:00
Benjamin Valentin
635016baf9
pkg/fatfs: support FF_FS_TINY=0
...
For increased performance it can be desireable to disable the tiny option.
The config option enables a per-file cache which increases the size
of `fatfs_file_desc_t`.
2022-02-22 15:03:55 +01:00
Benjamin Valentin
2a129fc327
sys/net/sock: add sock_udp_sendv() API
2022-02-22 10:05:41 +01:00
d758cb93ef
sys/ztimer: add auto_adjust module
2022-02-18 13:07:49 +01:00
benpicco
34b11e032d
Merge pull request #17675 from benpicco/net/dhcpv6-doc
...
sys/net/dhcpv6: enhance doc of CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX
2022-02-17 23:00:53 +01:00
chrysn
40f7c66625
Merge pull request #17660 from chrysn-pull-requests/vfs-drop-per-fs-fstatvfs
...
vfs: Introduce reliable disk enumeration
2022-02-17 18:47:41 +01:00
Benjamin Valentin
effa879a56
sys/net/dhcpv6: enhance doc of CONFIG_DHCPV6_CLIENT_PFX_LEASE_MAX
...
I always keep forgetting which option to tweak when I want multiple
downstream networks.
2022-02-17 18:46:28 +01:00