Francisco Molina
fc616a9916
sys/stdio_nimble: fiter conn_handle
2022-04-27 10:10:32 +02:00
Francisco Molina
d474b8ff8a
pkg/nimble/autoadv: add shell
2022-04-27 10:10:32 +02:00
Francisco Molina
1de00ba504
makefiles/pkg/nimble.adv.mk: add utility to assign adv instance
2022-04-27 08:22:58 +02:00
Francisco Molina
81cd99980e
pkg/nimble/netif: make advertisement instance configurable
2022-04-27 08:22:58 +02:00
Francisco Molina
3702087084
pkg/nimble/autoadv: add support for ext_adv
2022-04-27 08:22:58 +02:00
Francisco Molina
da9a37a984
pkg/nimble/autoadv: prefix configurations with CONFIG_
2022-04-25 08:43:51 +02:00
Francisco
65c15f7276
Merge pull request #17987 from fjmolinas/pr_git_quiet
...
pkg/pkg: add GIT_QUIET
2022-04-25 08:33:18 +02:00
benpicco
b31de65de2
Merge pull request #13698 from bergzand/pr/nanocoap/subtree_handler
...
nanocoap: Add handler for resource-based subtrees
2022-04-24 21:07:21 +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
benpicco
c831a998fe
Merge pull request #17950 from benpicco/nanocoap-fixes
...
nanocoap: follow-up fixes
2022-04-22 23:13:03 +02:00
Benjamin Valentin
6113b79bdb
ztimer64_xtimer_compat: fix ztimer_msleep()
2022-04-22 18:12:45 +02:00
Francisco Molina
1340a5e867
pkg/pkg: add GIT_QUIET
2022-04-22 15:22:34 +02:00
benpicco
a427d630f1
Merge pull request #16787 from maribu/periph/gpio_ng
...
periph/gpio_ll: New Peripheral GPIO API
2022-04-22 12:27:54 +02:00
Benjamin Valentin
5deea31502
tests/nanocoap_cli: add optional DNS support
2022-04-22 11:35:52 +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
Marian Buschsieweke
28791c42a4
tests/bench_periph_gpio_ll: add benchmark for periph/gpio_ll
2022-04-22 08:39:05 +02:00
Marian Buschsieweke
22a17731ea
tests: Add tests for periph/gpio_ll
...
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
2022-04-22 08:39:04 +02:00
Marian Buschsieweke
23855e140e
drivers: Add periph/gpio_ll API
...
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: chrysn <chrysn@fsfe.org>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2022-04-22 08:39:04 +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
Marian Buschsieweke
d909d41df1
Merge pull request #17977 from benpicco/nanocoap-fixes-min
...
nanocoap: follow-up fixes (uncontroversial parts)
2022-04-22 06:58:30 +02:00
Francisco Molina
01196b99b7
examples/suit_update/tests: use current version as invalid one
...
If the current version was 0 then previously an invalid <0 seq_no
would be used.
2022-04-21 16:59:32 +02:00
Francisco Molina
c31d0e102d
examples/suit_update/tests: use 'suit seq_no' cmd
2022-04-21 16:59:32 +02:00
Francisco Molina
ee9bf559fe
sys/sc_suit: aligh seq_no format with riotboot_hdr
2022-04-21 16:59:32 +02:00
Francisco
c5b3b967a2
Merge pull request #16771 from fjmolinas/pr_suit_override_manifest_payloads
...
makefiles: allow to override suit manifest payloads
2022-04-21 16:54:28 +02:00
Benjamin Valentin
e627d25752
nanocoap: constify get functions
2022-04-21 15:39:25 +02:00
Benjamin Valentin
5c1ff580d6
nanocoap_sock: don't decrement retries twice
2022-04-21 15:39:25 +02:00
Benjamin Valentin
845a757eed
nanocoap: don't set lastonum if no option was added
2022-04-21 15:39:25 +02:00
Benjamin Valentin
76e2500b7d
nanocoap_sock: use random message IDs
2022-04-21 15:39:25 +02:00
Benjamin Valentin
c4f6249992
nanocoap: make use of coap_get_token()
2022-04-21 15:34:31 +02:00
Benjamin Valentin
3d0c1d09c4
gcoap: make use of coap_get_token()
2022-04-21 15:34:31 +02:00
Benjamin Valentin
328d46277d
nanocoap: add coap_get_token()
2022-04-21 15:34:31 +02:00
Benjamin Valentin
8d391a4f5f
nanocoap_sock: use random timeout
2022-04-21 15:03:31 +02:00
Oleg Hahm
843c16ad64
Merge pull request #17974 from benpicco/PM_NUM_MODES-count
...
pm: don't (un)block IDLE mode
2022-04-21 14:39:07 +02:00
56359d6fb1
Merge pull request #17930 from aabadie/pr/drivers/lcd_rotation_rework
...
drivers/lcd: rework rotation management and enable it for st7735
2022-04-21 14:31:49 +02:00
Benjamin Valentin
520aa2d27d
examples/lorawan: don't unblock IDLE mode
...
This is already unblocked and will trigger an assertion.
The code is still broken as other modes might be unblocked too,
but at least it is just as broken as it was before #17895
2022-04-21 12:03:47 +02:00
Benjamin Valentin
237a44760a
pkg/openwsn: don't block IDLE mode
2022-04-21 12:03:34 +02:00
Francisco Molina
76ee54e69c
makefiles: use memoized for EPOCH, also define for suit
...
APP_VER must also be defined for suit.inc.mk in case non-fw payloads
are used (e.g. no riotboot)
Use memoized so the shell call happens only if needed
2022-04-21 11:39:25 +02:00
Francisco Molina
993af3d96a
examples/suit_update/README.hardware.md: update logs
2022-04-21 11:39:25 +02:00
Francisco Molina
ac5c316361
makefiles/suit.inc.mk: refactor file storage and naming
...
- move all generated manifests under $(BINDIR)/suit_files (this can be
overwritten.
- rename signed manifests so that they are of the form:
<somename>.<version>.bin, where <somename> is by default riot.suit.
This avoids cluterring BINDIR while as well having a naming scheme that
allows custom names for manifests addresssing different types of
payloads.
2022-04-21 11:39:25 +02:00