Francisco Molina
ea86dad7fd
pkg/edhoc-c: ignore llvm flagged error
2021-09-20 11:34:30 +02:00
Martine Lenders
7bf1fad7cc
Merge pull request #16839 from haukepetersen/opt_nimble_scannererrno
...
nimble/scanner: migrate to errno return values
2021-09-17 16:22:29 +02:00
benpicco
bcb46460b7
Merge pull request #16859 from haukepetersen/fix_nimble_addr_byteorder
...
nimble/addr|scanlist: fix nimble_addr_sprint() and use in nimble_scanlist_print()
2021-09-17 14:53:26 +02:00
Hauke Petersen
2de3275c1e
nimble/scanner: migrate to use errno return values
2021-09-17 14:46:05 +02:00
Hauke Petersen
8694af52c6
nimble/scanner: rename and optimize status func
2021-09-17 14:46:05 +02:00
Martine Lenders
e16925aab3
Merge pull request #16838 from haukepetersen/opt_nimblenetif_errno
...
pkg/nimble/netif: migrate to use errno return values
2021-09-16 16:53:43 +02:00
94e314c914
pkg/nimble: fix if(IS_ACTIVE(..) && CONSTANT)
with llvm
...
Fixes
```
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: error: use of logical '&&' with constant operand [-Werror,-Wconstant-logical-operand]
if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: use '&' for a bitwise operation
if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
^~
&
/home/kaspar/src/riot.rs/pkg/nimble/autoadv/nimble_autoadv.c:163:46: note: remove constant to silence this warning
if (IS_ACTIVE(NIMBLE_AUTOADV_FLAG_FIELD) && BLUETIL_AD_FLAGS_DEFAULT) {
~^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2021-09-16 14:01:33 +02:00
Hauke Petersen
1486c419fa
nimble/scanlist: use nimble_addr_print()
2021-09-16 10:29:04 +02:00
Hauke Petersen
0b8af3a3bc
nimble/addr: fix byte-order and string termination
2021-09-16 10:23:43 +02:00
Hauke Petersen
dadd7028d3
nimble/autoconn: adapt to new return values
2021-09-10 21:11:30 +02:00
Hauke Petersen
819bc54aae
nimble/rpble: adapt to new return values
2021-09-10 21:11:19 +02:00
Hauke Petersen
6ffbd2a046
pkg/nimble/netif: fix doxygen leftover
2021-09-10 21:10:16 +02:00
Hauke Petersen
8982fdb0fc
pkg/nimble/netif_conn: fix doxygen
2021-09-10 21:08:57 +02:00
Hauke Petersen
2a65637853
pkg/nimble/netif: migrate return values to errno
2021-09-10 21:07:33 +02:00
Hauke Petersen
32212df463
Merge pull request #16603 from haukepetersen/add_nimble_diradv
...
pkg/nimble/netif: add nimble_netif_accept_direct()
2021-09-09 23:29:43 +02:00
Hauke Petersen
e4b76b2ac4
Merge pull request #16830 from fjmolinas/pr_nimble_bump_ver_cleanup
...
pkg/nimble: bump version, rmv patches
2021-09-09 18:48:41 +02:00
Hauke Petersen
5959d0de2c
pkg/nimble/netif: add nimble_netif_accept_direct()
2021-09-09 15:19:10 +02:00
Francisco Molina
24a131ebe0
pkg/nimble: bump version, rmv patches
2021-09-09 13:48:52 +02:00
Benjamin Valentin
e80cedf6a8
pkg/nanocbor: bump version
2021-09-09 13:42:41 +02:00
Peter Kietzmann
b98fa6d9d0
Merge pull request #16489 from Ollrogge/fido2_pr
...
FIDO2 support in RIOT
2021-09-08 21:14:52 +02:00
benpicco
bcaaaec66f
Merge pull request #16814 from dylad/pr/cpu/nrf9160_add_twi_and_spi_support
...
cpu/nrf9160: add twi and spi support
2021-09-08 19:11:37 +02:00
Ollrogge
e127a4d865
FIDO2 support in RIOT
2021-09-08 15:22:40 +02:00
Francisco Molina
da0b06ddee
pkg/edhoc-c: remove nimble blacklist
2021-09-07 09:35:12 +02:00
Francisco Molina
ca9198183d
pkg/tinycryp: supress llvm warning
2021-09-07 09:35:00 +02:00
Francisco
a6f3bc9c3b
Merge pull request #16540 from fjmolinas/pr_nimble_tinycrypt
...
pkg/nimble: use tinycrypt pkg
2021-09-07 09:31:49 +02:00
Dylan Laduranty
633ddee360
pkg/uwb-core: don't pull unwanted dependencies for nRF9160
...
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:39 +02:00
Dylan Laduranty
ed655ab29b
pkg/mynewt-core: don't pull unwanted dependencies for nRF9160
...
As nRF9160 doesn't have a bluetooth radio, we should not pull the same dependencies as nRF52, thus ensure these dependencies are only added for nrf5x families
2021-09-07 09:27:11 +02:00
Karl Fessel
672a34e2be
Merge pull request #16805 from kfessel/p-spelling-minor
...
doc: cleanup some minor spelling error found by codespell
2021-09-03 15:35:30 +02:00
Karl Fessel
42b191318a
doc: cleanup some minor spelling error found by codespell
2021-09-03 13:02:08 +02:00
Martine Lenders
13cc189a8a
Revert "Remove which
from shell invocations"
2021-09-03 11:27:03 +02:00
chrysn
6b50033766
makefiles: Replace which
with command -v
...
As the POSIX documentation[1] of `command -v` guarantees that on error
there will be no output (and there will be output in the other cases),
the tests in Makefiles were simplified to test for output equality to
the empty string.
Redirects swallowing error outputs were removed, as the command produces
no error output there (as recommended at [2]).
Existing uses of `command` are simplified as well.
[1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html
[2]: https://salsa.debian.org/debian/debianutils/-/blob/master/debian/NEWS
2021-09-02 16:30:46 +02:00
Francisco
65d717f5a0
Merge pull request #16623 from fjmolinas/pr_riot_initialize_timers
...
pkg/nimble: have RIOT always initialize nimble timers
2021-09-02 08:54:53 +02:00
Francisco Molina
f4a3af4c44
pkg/mynewt-core/contrib: use same initializaion as Nimble for timers
2021-09-01 09:26:28 +02:00
Francisco Molina
ba3567ade6
pkg/nimble: have RIOT always initialize nimble timers
2021-09-01 09:14:47 +02:00
chrysn
de768b5d23
Merge pull request #16775 from chrysn-pull-requests/shell-make-fixes
...
makefiles: Sort >/dev/null and 2>&1
2021-08-27 10:37:51 +02:00
benpicco
0b69747389
Merge pull request #16023 from maribu/max_pdu_size
...
sys/net/netopt: Drop deprecated NETOPT_MAX_PACKET_SIZE
2021-08-26 14:40:18 +02:00
benpicco
149de73160
Merge pull request #16741 from benpicco/net_lwip_netif_get_name
...
pkg/lwip: implement netif_get_name()
2021-08-26 14:37:58 +02:00
Benjamin Valentin
b6b48535fb
pkg/lwip: implement netif_get_name()
2021-08-26 13:20:24 +02:00
Benjamin Valentin
b3cda605a5
pkg/paho-mqtt: remove workaround for stm32
2021-08-25 18:42:40 +02:00
Benjamin Valentin
7cc19d19a0
pkg/ccn-lite: bump version
2021-08-25 18:42:40 +02:00
Benjamin Valentin
a586d1ba4c
pkg/pkg.mk: allow for custom patch dir
2021-08-25 15:35:50 +02:00
Martine Lenders
be6115447e
Merge pull request #16364 from haukepetersen/add_nimble_rpble_pr
...
net/BLE: add support for RPL-over-BLE
2021-08-24 18:30:32 +02:00
chrysn
648e014184
makefiles: Sort >/dev/null and 2>&1
...
Redirecting `2>&1 >/dev/null` moves stderr to stdout first and then
stdout to /dev/null; when checking for command existence or otherwise
silencing output, this is usually not desired (but only starts producing
errors when the actual command fails, which is often not tested).
2021-08-24 14:41:54 +02:00
benpicco
16f7c94875
Merge pull request #16761 from benpicco/pkg/lwip/init_devs
...
pkg/lwip: add auto-init for DOSE & at86rf215, cc2538_rf
2021-08-24 12:16:14 +02:00
Hauke Petersen
42f033afb9
pkg/nimble: add RPL-over-BLE impl. (nimble_rpble)
2021-08-24 11:33:13 +02:00
Francisco Molina
fb3860dd05
pkg/nimble/autoadv: make AD flag optionnal
...
These fields can be omitted if all other FLAGS are 0 and the advertising
packets is not connectable, allowing for 3 extra bytes for advertisement
payload.
Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-24 09:12:58 +02:00
Francisco
8ca1520342
Merge pull request #16701 from fjmolinas/pr_nimble_scanner_set_duration
...
pkg/nimble/scanner: add function to set scan duration
2021-08-23 10:07:31 +02:00
Francisco
b6475b5370
Merge pull request #16699 from fjmolinas/pr_nimble_autoconn_slave_abort
...
pkg/nimble/autoconn: stop scan/adv on NETIF_ABORT_SLAVE
2021-08-23 10:06:34 +02:00
Erik Ekman
adccbc9f2a
pkg/lwip: Fix compilation without IPv6
...
RIOT/pkg/lwip/init_devs/init.c:65:61: error: 'tcpip_6lowpan_input' undeclared (first use in this function)
return netif_add_noaddr(netif, state, lwip_netdev_init, tcpip_6lowpan_input);
^
2021-08-20 17:52:37 +02:00
Benjamin Valentin
5b83475ffe
pkg/lwip: add auto-init for cc2538_rf
2021-08-20 16:48:25 +02:00
Benjamin Valentin
6d468f8044
pkg/lwip: add auto-init for at86rf215
2021-08-20 16:48:25 +02:00
Benjamin Valentin
b39390ed93
pkg/lwip: add auto-init for DOSE
2021-08-20 16:37:53 +02:00
Erik Ekman
9459dfaf68
pkg/lwip: Use XFA to initialize network interfaces
2021-08-20 14:58:29 +02:00
Erik Ekman
11f8ba89ae
pkg/lwip: Move ethos to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
06dfcdd3fa
pkg/lwip: Move socket_zep to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
9002da3d80
pkg/lwip: Move nrf802154 to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
1897b57d8e
pkg/lwip: Move at86rf2xx to netif auto init
2021-08-20 14:57:39 +02:00
Erik Ekman
fff95fc882
pkg/lwip: Add 6lowpan helper, do auto init for mrf24j40
2021-08-20 14:57:37 +02:00
Erik Ekman
cdc8c35e13
pkg/lwip: Move stm32_eth to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
c631c0fddd
pkg/lwip: Move sam0_eth to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
e8c5ff162a
pkg/lwip: Move enc28j60 to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
fea0c8d453
pkg/lwip: Move atwinc15x0 to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
a18b24c7ed
pkg/lwip: Move esp_wifi to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
c9116f5570
pkg/lwip: Move esp_eth to netif auto init
2021-08-20 14:56:48 +02:00
Erik Ekman
9a089d412b
pkg/lwip: Set first netif as default
...
Set at create time, as all netifs will no longer be in one array.
2021-08-20 14:56:48 +02:00
Erik Ekman
2816ade5f8
pkg/lwip: Start rework of netif initialisation
...
Use separate files with auto_init
Proof of concept with only moving netdev_tap
2021-08-20 14:56:46 +02:00
Francisco Molina
4d01b3815f
pkg/nimble/scanner: add function to set scan duration
...
Co-authored-by: Roudy Dagher <roudy.dagher@inria.fr>
2021-08-19 12:44:24 +02:00
benpicco
71953c984c
Merge pull request #16534 from jia200x/pr/detach_radio_hal_descriptor
...
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 18:15:51 +02:00
Jose Alamos
ddc9c7c686
ieee802154/radio_hal: detach hal descriptor from driver
2021-08-18 15:24:10 +02:00
benpicco
64aac3a2b2
Merge pull request #16700 from fjmolinas/pr_mynewt_core_log_level
...
pkg/mynewt-core: change task start log level
2021-08-17 00:00:44 +02:00
Francisco
c1d28d69a7
Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP
...
lwip_tcp: fix build with DEVELHELP=0
2021-08-16 08:37:14 +02:00
Benjamin Valentin
5117da1cb0
lwip_tcp: fix build with DEVELHELP=0
...
If DEVELHELP is not set `LOCK_TCPIP_CORE()`/`UNLOCK_TCPIP_CORE()`
are not defined, leading to a build failure.
Defining them to no-op leads to a run-time segmentation fault, so
better always use those functions.
2021-08-15 12:50:33 +02:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines
2021-08-13 19:50:38 +02:00
Francisco
c4df2cca51
Merge pull request #16708 from fjmolinas/pr_edhoc_c_bump
...
pkg/edhoc: bump version
2021-08-06 09:26:28 +02:00
Benjamin Valentin
9bce87d6da
pkg/wakaama: don't modify result of uri_parser
2021-08-05 14:05:31 +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
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
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
Erik Ekman
e04da0d828
pkg/lwip: Lock core before calling netif_get_ip6_addr_match in sock
2021-07-15 15:46:10 +02:00
Erik Ekman
c50604b63c
pkg/lwip: Add assert on incorrect thread usage
2021-07-15 15:46:10 +02:00
Leandro Lanzieri
9ca9efd15b
Merge pull request #16640 from jia200x/pr/revert/rx_symbol
...
net/lorawan: Revert #16604 and fix NETOPT_RX_SYMBOL_TIMEOUT documentation
2021-07-14 16:42:38 +02:00
Jose Alamos
6ffecfe8d6
Revert "pkg/semtech-loramac: use uint8_t for NETOPT_RX_SYMBOL_TIMEOUT"
...
This reverts commit 79e194783c
.
2021-07-13 21:14:19 +02:00
benpicco
2e7b111c9e
Merge pull request #16636 from yarrick/lwip_nefif
...
pkg/lwip: Fix DHCP autostart
2021-07-13 17:23:30 +02:00
Erik Ekman
4e01900108
pkg/lwip: Start DHCP on correct interface
...
Fix for #16229
2021-07-13 13:45:16 +02:00
Erik Ekman
c7d24f7912
pkg/lwip: Add patch to fix netif_is_flag_set macro
...
Had spelling mistake: `nefif` instead of `netif`.
2021-07-13 13:07:38 +02:00
Leandro Lanzieri
327da03314
pkg/wakaama/client_connection: cleanup
...
Use URI parser and common resource access functions.
2021-07-13 08:11:23 +02:00
Leandro Lanzieri
e0896afddc
pkg/wakaama: add functions to interact with resources
2021-07-13 08:11:23 +02:00
Leandro Lanzieri
bfc81ae967
pkg/wakaama/contrib: remove unneeded reference to security object
2021-07-13 08:11:22 +02:00
Leandro Lanzieri
fcd582eff2
pkg/wakaama: move sock_udp dependency to package
2021-07-13 08:11:20 +02:00
José Alamos
934c875aba
Merge pull request #16579 from akshaim/pr/wl55jc_lorawan_final
...
drivers/sx126x: Add support for Nucleo -WL55JC
2021-07-09 14:48:11 +02:00
Jose Alamos
084bcf3ea6
semtech-loramac: avoid explicit cast to netdev
2021-07-09 11:35:20 +02:00
Jose Alamos
513b13b8de
openwsn: avoid explicit cast to netdev
2021-07-09 11:35:17 +02:00
Jose Alamos
6e12cf34f8
openthread: avoid explicit cast to netdev
2021-07-09 11:35:17 +02:00
Jose Alamos
4e6f299af0
lwip: avoid explicit cast to netdev
2021-07-09 11:35:16 +02:00
Akshai M
29c392d52d
drivers/sx126x : Uncrustify
2021-07-09 11:16:41 +02:00
Akshai M
8870a885cb
drivers/sx126x : Add stm32wl variant
2021-07-09 11:16:41 +02:00
benpicco
46323cdaf3
Merge pull request #16624 from benpicco/pkg/tinydtls-bump
...
pkg/tinydtls: bump version
2021-07-08 16:00:11 +02:00
Hauke Petersen
3cc6c68ec4
Merge pull request #16602 from haukepetersen/opt_nimble_slotsize
...
pkg/nimble: configure BLE_LL_INIT_SLOT_SIZE to 1
2021-07-07 19:38:14 +02:00