Gunar Schorcht
e3b2b75aff
pkg/nimble: add module for HCI UART H4 transport protocol
...
If the package is used for a controller that supports the HCI UART H4 transport layer protocol, the functions implemented in `nimble/transport/common/hci_h4` are very useful to deal with H4 formatted packages. If required, they can be enabled by module `nimble_transport_hci_h4`.
2022-08-24 09:03:38 +02:00
Gunar Schorcht
367707a158
pkg/nimble: derive used address type in statconn from peer address
...
Using a `BLE_ADDR_RANDOM` as the peer address type allows connecting only to peers that have a static random address. Deriving the peer address type from the peer address is simple and allows connections to be established with peers that have either a public or
static random address.
2022-08-18 18:45:13 +02:00
Gunar Schorcht
2635af9a20
pkg/nimble: fix event queue size for nimble_adv_ext
...
If the Bluetooth 5 Advertising Extension is enabled by the `nimble_adv_ext` module, up to 3 events come in from the controller during connection establishment before they are processed by the host. The default size of the event queue `MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT` with only 2 entries is therefore too small and the connection establishment fails.
2022-08-18 07:51:39 +02:00
Gunar Schorcht
7b1e0c005f
pkg/nimble: fix legacy advertising in statconn
2022-08-16 13:49:23 +02:00
Gunar Schorcht
20f3e8b4fc
pkg/nimble: add feature ble_adv_ext
...
To control the compilation of NimBLE modules `nimble_*_ext` that require the Bluetooth 5 Advertising Extension, the `ble_adv_ext` is introduced to indicate that a platform supports this feature.
2022-08-12 16:15:14 +02:00
Gregory Holder
25a476ff48
pkg/nimble: Replace double quotes with single quotes for two CFLAGS
...
Using double quotes can cause issue when the final cmake command is called, and you end up with un-escpaed nested double quotes.
2022-07-27 09:43:17 +02:00
Francisco
e5c7e3b633
Merge pull request #18029 from haukepetersen/verbump_nimble_nrfx2022
...
pkg/nimble: version bump to NimBLE 1.5.0 RC1
2022-06-10 04:11:26 +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
Hauke Petersen
930a880896
pkg/nimble: optimize HCI config to save RAM
2022-06-07 09:24:00 +02:00
Hauke Petersen
948b4c9db0
pkg/nimble: remove cast-align path
...
This patch was applied to upstram NimBLE, so no need to have it in RIOT.
2022-06-02 14:59:50 +02:00
Hauke Petersen
568576de04
pkg/nimble: version bump to 1.5.0 RC1
2022-06-02 14:59:50 +02:00
Francisco Molina
439cf969b9
pkg/nimble/contrib: add utility to convert to BLE HCI phy enum
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
ca6b273400
nimble: Use sysctl in docs
2022-02-08 19:50:05 +01:00
Francisco
dbae3ed706
Merge pull request #16860 from haukepetersen/add_nimble_netifextadv
...
nimble/netif: add support for BT5 PHY modes
2022-02-04 11:16:11 +01:00
Hendrik van Essen
e840b61091
pkg/nimble: configure nimble values for stdio_nimble
2022-01-28 19:26:38 +01:00
Hendrik van Essen
72a6ca6366
sys/stdio_nimble: add new stdio module using nimble
...
Implement a new module stdio_nimble, which uses nimble
for stdio. The characteristic for stdin is writable and
the characteristic for stdout uses the indicate mechanism
to publish the system's output to a connected device.
Data will be sent out asynchronously via callout functions.
The module can be enabled with "USEMODULE += stdio_nimble"
Co-authored-by: Francisco Molina <femolina@uc.cl>
2022-01-28 19:26:38 +01:00
Hauke Petersen
c7b3d8416d
nimble/autoconn: allow to select PHY mode
2022-01-27 10:30:30 +01:00
Hauke Petersen
0a4585d4c8
nimble/rpble: allow to select PHY mode
2022-01-27 10:30:30 +01:00
Hauke Petersen
2634063f5f
nimble/statconn: allow to define PHY mode
2022-01-27 10:30:29 +01:00
Hauke Petersen
0ea7bf33d0
nimble/netif: support ext adv and BLE 5 PHY modes
2022-01-27 10:30:29 +01:00
Hauke Petersen
56c4460785
nimble/scanner: include CODED PHY only if featured
2022-01-27 10:10:09 +01:00
Hauke Petersen
1b15b203cc
pkt/nimble/contrib: add enum for PHY modes
2022-01-27 10:10:09 +01:00
Hauke Petersen
f5aba5301d
pkg/nimble: cleanup dep resolution for PHY modes
2022-01-27 10:10:09 +01:00
Jose Alamos
49527fc994
pkg/nimble/netif: adapt ops->init to handle driver initialization
2022-01-10 13:59:25 +01:00
Jose Alamos
e7fac9f661
net/gnrc_netif: add return values to init
2022-01-10 13:59:01 +01:00
benpicco
1efc53b598
Merge pull request #17344 from haukepetersen/opt_nimble_statconnerrno
...
nimble/statconn: use errno return values
2021-12-06 14:11:23 +01:00
Hauke Petersen
d36879c6bc
nimble/statconn: return errno values
2021-12-06 11:27:46 +01:00
Hauke Petersen
40579c6598
nimble/rpble: fix scanning
2021-12-06 09:48:32 +01:00
Hauke Petersen
ca98df258c
nimble/autoconn: fix scanning
2021-12-06 09:48:32 +01:00
Hauke Petersen
2f70f17962
nimble/scanner: fix scan duration for HS_FOREVER
2021-12-06 09:48:32 +01:00
Francisco
3afa47d8f2
Merge pull request #14955 from maribu/cflags-cast-align
...
makefiles/cflags.inc.mk: Add -Wcast-align
2021-12-03 17:47:24 +01:00
Marian Buschsieweke
79103d3156
pkg/nimble: add -Wno-cast-align
...
Also brutally silence -Wcast-align warnings in OS_MBUF_PKTHDR()
and OS_MBUF_PKTHDR_TO_MBUF(), as those are used by nimble users.
It might make sense to check if the silenced / disabled warnings do
indeed point out unaligned memory accesses.
2021-12-03 10:12:33 +01:00
Hauke Petersen
ad8ddf5748
nimble/rpble: adapt to scanner API changes
2021-12-03 08:43:31 +01:00
Hauke Petersen
650445812a
nimble/autoconn: adapt to scanner API changes
2021-12-03 08:43:14 +01:00
Hauke Petersen
d2c46e8a4b
nimble/npl: add hfxo_request wrappers
2021-12-02 23:31:33 +01:00
Hauke Petersen
b65c80c37b
nimble_netif: remove l2cap_ping from API
...
Upstream NimBLE removed the l2cap ping call from its L2CAP API,
as it was not standard conformant, so we can't use it for
nimble_netif...
2021-12-02 23:31:33 +01:00
Hauke Petersen
79eea21b77
pkg/nimble: version bump to include ext adv fixes
2021-12-02 23:31:33 +01:00
Hauke Petersen
4520fc67a5
pkg/nimble/scanlist: adapt to scanner changes
2021-12-02 23:31:33 +01:00
Hauke Petersen
586ba70c5b
pkg/nimble/scanner: rework to enable BLE5 scanning
2021-12-02 23:31:32 +01:00
Hauke Petersen
34b009fcc1
pkg/nimble: add config options for BLE5 PHYs
2021-12-02 23:31:32 +01:00
Hauke Petersen
f5e7de2564
pkg/nimble: improve readablility in Makefile.dep
2021-12-02 23:31:32 +01:00
Marian Buschsieweke
48fc63e0ae
Merge pull request #17294 from benpicco/doc-ping
...
doc: replace ping6 with ping
2021-12-01 17:00:09 +01:00
Hauke Petersen
1a570caacc
nimble: allow to override netif thread priority
2021-11-30 08:21:27 +01:00
Hauke Petersen
d94b4af0d3
nimble: allow to override host thread priority
2021-11-30 08:21:27 +01:00
Benjamin Valentin
a23fa5253f
doc: replace ping6 with ping
2021-11-29 17:32:37 +01:00