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

36629 Commits

Author SHA1 Message Date
Martine Lenders
5d59065b09
gcoap: provide buffer version of gcoap_req_init()
This simplifies the usage of `gcoap` with modules such as `uri_parser`
greatly.
2021-08-05 13:31:07 +02:00
Martine Lenders
adce90343c
nanocoap: provide buffer version of coap_opt_add_uri_path()
This simplifies the usage of `nanocoap` with modules such as
`uri_parser` greatly.
2021-08-05 11:25:13 +02:00
Martine Lenders
1b0152bd73
Merge pull request #16709 from leandrolanzieri/pr/net/netif_get_by_name_buf
net/netif: add function to get interface by name from a buffer
2021-08-04 19:37:55 +02:00
Leandro Lanzieri
d2d1c7ede9
tests/gnrc_netif: add test for netif_get_by_name_buffer 2021-08-04 18:12:56 +02:00
Leandro Lanzieri
d8cf157b26
sys/net/netif: add netif_get_by_name_buffer function 2021-08-04 18:12:56 +02:00
Francisco Molina
3cc4a8ed15 pkg/edhoc: bump version
Bumps EDHOC-C version to fix broken state due to Nanocbor return
code values change.
2021-08-04 17:09:02 +02:00
Francisco Molina
6198604e3e examples/default: use Makefile.boards.netif 2021-08-04 17:09:02 +02:00
Francisco Molina
ebe40a1000 tests/netstats_l2: use Makefile.boards.netif 2021-08-04 17:09:02 +02:00
Francisco Molina
e6bf97dca0 tests/Makefile.boards.netif: add non-exhaustive list of BOARDs providing netif 2021-08-04 17:09:02 +02:00
José Alamos
39d27c2f7c
Merge pull request #16533 from jia200x/pr/submac_fixes
ieee802154/submac: fix initialization code
2021-08-04 16:53:58 +02:00
Peter Kietzmann
e1a8280e2b
Merge pull request #16689 from Ollrogge/usb_hid_pr2
usbus/hid_io: add missing header file, add RX callback function
2021-08-04 15:56:33 +02:00
Ollrogge
2c2eb88c0e usbus/hid: uncrustify files 2021-08-04 14:54:33 +02:00
Ollrogge
834ac3f5a5 usbus/hid_io: add missing header file, add RX callback function 2021-08-04 14:54:33 +02:00
Benjamin Valentin
b068d9245d uri_parser: constify result
`uri_parser_process()` takes a `const char *` as input parameter but
the result is a struct of `char *` to the original string.

This may lead a user to modifying the strings in `uri_parser_result_t`
which will cause a crash if the original string resides in read-only
memory (and violates the no-modifications promise of the const parameter
in `uri_parser_process()`).

To fix this, make the resulting strings `const` as well, so nobody dares
to touch them in a writing way.
2021-08-04 14:01:28 +02:00
Martine Lenders
5c2b599efa
Merge pull request #16695 from miri64/uri_parser/enh/query-split
uri_parser: provide function to split query
2021-08-04 13:54:19 +02:00
Martine Lenders
4d2a942b5e
tests/unittests: amend uri_parser tests for query-splitter 2021-08-04 12:47:28 +02:00
Martine Lenders
af03ba4aa8
uri_parser: provide function to split query 2021-08-04 12:47:28 +02:00
José Alamos
91fe57a4d1
Merge pull request #16654 from jia200x/pr/gnrc_lorawan_tests
tests/gnrc_lorawan: add initial tests
2021-08-04 10:33:33 +02:00
Martine Lenders
8492bd7b12
Merge pull request #16568 from benpicco/gnrc_ipv6_nib-rio
gnrc_ipv6_nib: handle route information option and add config to add to final RAs
2021-08-03 15:44:01 +02:00
Francisco Molina
fd63142ea2 pkg/mynewt-core: change task start log level 2021-08-03 11:31:01 +02:00
Francisco Molina
3361f92202 pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
When a connection is aborted and the node in question is a slave
then it can be advertising/scanning at the time. The incoming
event triggers the state to be changed to IDLE but ongoing adv/scan
which will cause 'nimble_netif_conn_start_adv' to fail to allocate
a handle as the netif will still be busy. Therefore when
stop scan/stop before switching the state.
2021-08-03 09:21:47 +02:00
Benjamin Valentin
71ae768e56 net/gnrc/ipv6/nib: add option to include RIO with final RA
Sending a RA with ltime = 0 does not get us added to the default router
list, but the options (and therefore the RIO) are still parsed.

This even appears to work with Linux as a receiver.
2021-08-02 21:44:55 +02:00
Martine Lenders
3ddb0463ea
Merge pull request #16691 from leandrolanzieri/pr/pkg/wakaama_fix_obj_common
pkg/wakaama: fix object common `get` functions
2021-08-02 19:33:39 +02:00
Jose Alamos
68fb49b607
tests/gnrc_lorawan: add initial tests 2021-08-02 18:29:46 +02:00
Jose Alamos
179a2c2780
net/gnrc_lorawan: fix random_uint32_range upper bound 2021-08-02 10:28:17 +02:00
Dylan Laduranty
54a76ab2ce
Merge pull request #16694 from benpicco/boards/saml21-xpro_EXT3
boards/saml21-xpro: configure UART & SPI on EXT2, 3
2021-07-30 14:55:28 +02:00
Dylan Laduranty
e922412342
Merge pull request #16693 from benpicco/cpu/saml21-SERCOM5
cpu/saml21: uart: use arithmetic baud rate mode
2021-07-30 13:50:46 +02:00
Benjamin Valentin
f5622afeb6 boards/saml21-xpro: configure UART & SPI on EXT2, 3 2021-07-30 13:12:42 +02:00
Benjamin Valentin
ddf96f7000 cpu/saml21: uart: disable fractional baud rate
SERCOM5 on SAM L21 does not support fractional baud rate mode.
Instead of special-casing it, just use arithmetic baud rate mode
in general on this CPU, as I'm not sure what the advantages of fractional
baud rate mode are.

fixes #16692
2021-07-30 11:28:02 +02:00
Leandro Lanzieri
1d74a0341b
pkg/wakaama/common: return length when reading strings and opaques
This fixes the API to be able to return the read length of string and
opaque resources.
2021-07-30 09:45:20 +02:00
Leandro Lanzieri
113ae64a55
pkg/wakaama/common: fix lwm2m_set_objlink_by_path 2021-07-30 09:44:21 +02:00
Martine Lenders
6b5a1818f1
Merge pull request #16672 from benpicco/gnrc_util_conf_prefix
gnrc_netif: add gnrc_netif_ipv6_add_prefix() & helper functions
2021-07-29 18:01:26 +02:00
Benjamin Valentin
6e3c09eb78 sys/net/uhcp: make use of gnrc_netif_ipv6_add_prefix() 2021-07-29 16:04:28 +02:00
Benjamin Valentin
a18f123ff1 gnrc_dhcpv6_client: make use of gnrc_netif_ipv6_add_prefix() 2021-07-29 16:04:28 +02:00
Benjamin Valentin
d99972791a gnrc/rpl: add gnrc_rpl_configure_root() convenience function 2021-07-29 16:04:28 +02:00
Benjamin Valentin
3dad587307 gnrc/rpl: allow const dodag ID 2021-07-29 16:04:28 +02:00
Benjamin Valentin
b90c6ed373 gnrc_netif: add gnrc_netif_ipv6_add_prefix() 2021-07-29 16:04:28 +02:00
Martine Lenders
485eb741e2
Merge pull request #16644 from benpicco/gnrc_ipv6_nib-evtimer_del-fix
gnrc_ipv6_nib: don't stop sending router solicitations when receiving last router advertisement from router
2021-07-29 12:23:14 +02:00
benpicco
57987210bd
Merge pull request #16650 from dylad/pr/cpu/nrf9160_add_support
cpu/nrf9160: add initial support for nRF9160DK board
2021-07-29 12:22:42 +02:00
Dylan Laduranty
9582ec9b5c kconfig: add Kconfig support for nRF9160 cpu and nRF9160DK board 2021-07-28 20:11:26 +02:00
dylad
f602c17303 boards/nrf9160dk: add initial support 2021-07-28 20:11:26 +02:00
dylad
5b85a5750e cpu/nrf9160: add initial support 2021-07-28 20:11:26 +02:00
benpicco
feac187d54
Merge pull request #16506 from benpicco/drivers/dose-rx_start
drivers/dose: make use of start condition received interrupt
2021-07-28 17:21:29 +02:00
Benjamin Valentin
1cacb11a26 tests/periph_uart: add automated test 2021-07-28 16:19:04 +02:00
Benjamin Valentin
d48f673597 drivers/dose: make use of periph_uart_rx_start feature 2021-07-28 16:19:04 +02:00
Benjamin Valentin
02269ef869 cpu/sam0_common: implement periph_uart_rx_start feature 2021-07-28 16:19:04 +02:00
benpicco
dceb8a7ac8
Merge pull request #16682 from benpicco/rtt_rtc_settimeofday
rtt_rtc: add rtt_rtc_settimeofday() & rtt_rtc_gettimeofday()
2021-07-28 15:02:02 +02:00
benpicco
c023be1299
Merge pull request #16686 from dylad/pr/doc/increase_dot_graph_max_nodes
doc/doxygen: increase dot graph max nodes
2021-07-28 14:11:15 +02:00
Benjamin Valentin
eecc166180 rtt_rtc: fix rtc_now access 2021-07-28 00:35:47 +02:00
Benjamin Valentin
6178325b5b rtt_rtc: fix rtc_get_time_ms() 2021-07-28 00:35:47 +02:00