Hauke Petersen
c3c4b64f83
pkg/nimble/autoconn: allow conn interval range
2021-06-17 14:10:16 +02:00
Hauke Petersen
2a0f1ac634
pkt/nimble/statconn: use netifs rand conn intervals
2021-06-17 14:10:16 +02:00
Hauke Petersen
402bd20ec9
pkg/nimble/netif: use random connection intervals
2021-06-17 14:10:16 +02:00
Francisco Molina
3e4e664071
ztimer: remove duplicate dependencies
2021-06-16 11:18:25 +02:00
Hauke Petersen
4ab3827ce0
pkg/nimble/netif: fix buffer sizes
2021-06-10 10:02:10 +02:00
Francisco Molina
5d627c5554
pkg/nimble: use tinycrypt pkg
2021-06-08 14:26:46 +02:00
Francisco
922611b224
Merge pull request #16338 from haukepetersen/fix_nimble_tmpfixrandseed
...
pkg/nimble: temporary fix to NimBLE PRNG seed issue
2021-04-16 09:32:15 +02:00
Hauke Petersen
05f0105a90
pkg/nimble: switch back to upstream master
2021-04-15 14:49:36 +02:00
Hauke Petersen
8213e6ca4b
pkg/nimble: temporary fix to NimBLE PRNG seed issue
2021-04-15 12:50:09 +02:00
Hauke Petersen
ec8d8703ab
pkg/nimble/scanlist: fix missing stdio.h include
2021-04-15 08:21:56 +02:00
Hauke Petersen
c94f61596e
pkg/nimble/scanlist: switch to ZTIMER_USEC
2021-04-15 08:21:56 +02:00
Hauke Petersen
b4ff5aae3a
pkg/nimble: switch from xtimer to ztimer
2021-04-15 08:21:56 +02:00
Hauke Petersen
7e22f644da
pkg/nimble: update to temporary upstream branch
2021-04-15 08:21:56 +02:00
Hauke Petersen
6a8b6ca3f5
pkg/nimble/netif: use global MSYS memory pool
2021-04-12 16:26:23 +02:00
Hauke Petersen
91bf7bc376
Merge pull request #15920 from haukepetersen/add_nimble_netifscchanmap
...
pkg/nimble/netif: allow to read used channel map
2021-03-31 10:10:35 +02:00
Francisco
3e32d55c33
Merge pull request #15922 from haukepetersen/opt_nimble_statconn_randconnitvl
...
pkg/nimble/statconn: allow random connection interval
2021-03-30 10:59:47 +02:00
9bd22dba79
pkg: silent make commands with RIOT_CI_BUILD=1
2021-03-12 16:05:18 +01:00
Hauke Petersen
ef4cecae25
pkg/nimble/netif: add function to get used channels
2021-02-26 10:21:21 +01:00
Hauke Petersen
faf7a7dabc
pkg/nimble/statconn: allow random conn interval
2021-02-04 09:55:23 +01:00
Hauke Petersen
ee9a573455
pkg/nimble/autoconn: add missing 'random' dep
2021-02-04 09:30:42 +01:00
Hauke Petersen
101bc6184c
pkg/nimble/netif: improve _send() error return val
2021-02-03 12:30:58 +01:00
Hendrik van Essen
fe4f0a69ee
sys/nimble_autoadv: add new module
...
module for automated bluetooth advertising
2020-11-05 10:53:21 +01:00
Bas Stottelaar
9dd3b7a3ec
pkg/*: replace #if ENABLE_DEBUG with IS_ACTIVE
2020-11-02 21:49:39 +01:00
Bas Stottelaar
38a5ff7d4b
pkg/*: realign ENABLE_DEBUG
2020-10-23 02:43:10 +02:00
Bas Stottelaar
970c72a0cb
pkg/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
4792ff1f23
pkg/nimble: fix typo 'mater' -> 'master'
2020-10-02 08:07:37 +02:00
Francisco
11d51def4b
Merge pull request #14965 from haukepetersen/fix_nimnetif_deadlockonconndrop
...
pkt/nimble/netif: fix deadlock on connection loss
2020-09-21 10:18:42 +02:00
Marian Buschsieweke
90177889b7
treewide: Cleanup access to internal variables
...
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:
1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
functions
2020-09-07 12:59:55 +02:00
Hauke Petersen
6ee2c1025b
pkt/nimble/netif: fix deadlock on connection loss
2020-09-07 11:05:32 +02:00
Hauke Petersen
32f086e98d
pkg/nimble/statconn: cleanup timing params
2020-07-08 08:46:43 +02:00
Hauke Petersen
29640252b7
pkg/nimble/autoconn: cleanup timing params
2020-07-08 08:46:43 +02:00
Hauke Petersen
bd48f06de4
pkg/nimble/autoconn: fix conn timeout calculation
...
The timeout parameter for nimble_netif_connect() is given in ms
and the same is true for NIMBLE_AUTOCONN_CONN_TIMEOUT. So there
should be no conversion between the autoconn parameter and the
value passed to nimble_netif.
2020-07-08 08:45:09 +02:00
Hauke Petersen
28b595e72e
pkt/nimble: version bump to cd7d7aa
2020-07-08 08:45:09 +02:00
Hauke Petersen
3591206cbb
pkt/nimble: add statconn static connection manager
2020-07-06 08:14:09 +02:00
385ad95701
pkg: adapt 'simple' packages to the new organization
2020-06-26 09:25:43 +02:00
Leandro Lanzieri
2546f92d37
Merge pull request #14251 from aabadie/pr/pkg/make_enh
...
pkg: avoid copying Makefiles in package source when possible
2020-06-16 17:00:30 +02:00
Francisco
3935c7630f
Merge pull request #14266 from haukepetersen/opt_nimble_mbufinit
...
pkg/nimble/netif: simplify mbuf pool initialization
2020-06-16 14:02:55 +02:00
c25f611258
pkg/nimble: use Makefile.base to build pkg modules when possible
2020-06-14 12:04:21 +02:00
Hauke Petersen
f316f71abb
pkg/nimble/netif: set host thread prio to ctrl+1
2020-06-12 14:50:42 +02:00
Hauke Petersen
a0d34a707e
pkg/nimble/netif: simplify mbuf pool initialization
2020-06-11 16:24:38 +02:00
Hauke Petersen
f024b4cd30
pkg/nimble/netif: remove redundant netif ptr
2020-06-09 12:27:08 +02:00
Leandro Lanzieri
16113afb1e
Merge pull request #14026 from miri64/gnrc_netif/fix/deps
...
gnrc_netif: use gnrc_netif-submodules to pull in upper-layer struct members
2020-05-19 16:36:18 +02:00
Martine S. Lenders
9801a439fc
gnrc_netif: introduce gnrc_netif_6lo pseudo-module for 6LoWPAN members
...
This aims to reduce circular dependencies in GNRC.
2020-05-19 16:10:59 +02:00
Hauke Petersen
a063512bb4
pkt/nimble/netif: do not block sending mcast
2020-04-27 15:16:27 +02:00
Hauke Petersen
d335c75855
pkt/nimble/netif_conn: add non-blocking iter func
2020-04-27 15:15:50 +02:00
Leandro Lanzieri
ce931f179c
gnrc/nib: Move GNRC_IPV6_NIB_CONF_SLAAC to 'CONFIG_' namespace
...
Also evaluate it using IS_ACTIVE macro.
2020-03-31 18:07:05 +02:00
Jose Alamos
67ed9defbe
gnrc_netif_xxx_create: use external netif allocation
2020-03-26 11:12:23 +01:00
bdeae779c3
Merge pull request #13528 from haukepetersen/opt_nimble_autoconndbgmsgfix
...
pkg/nimble/autoconn: minor debug message cleanup
2020-03-03 09:46:08 +01:00
Hauke Petersen
2e8186f4f4
pkg/nimble/autoconn: minor debug message cleanup
2020-03-02 15:24:32 +01:00
Hauke Petersen
093b7e2337
pkg/nimble/netif: minor API doc improvement
2020-03-02 11:13:09 +01:00
Hauke Petersen
6537a04b97
pkg/nimble/autoconn: improve en/disable code
2020-01-23 17:24:33 +01:00
Hauke Petersen
fddcd928d7
pkg/nimble/autoconn: fix internal slave conn state
2020-01-23 17:23:49 +01:00
Hauke Petersen
e6513924a3
pkg/nimble/autoconn: handle ACCEPT_STOP event
2020-01-23 17:22:08 +01:00
Hauke Petersen
5b6b28ab09
pkg/nimble/autoconn: fix conn_params
2020-01-23 17:19:39 +01:00
Hauke Petersen
8c4e70ebfd
pkg/nimble/autoconn: make conn_timeout configurable
2020-01-23 17:18:36 +01:00
Hauke Petersen
5c5ba9f740
pkg/nimble/netif: add ACCEPT_STOP event
2020-01-23 17:16:29 +01:00
Martine Lenders
04a673fc8b
Merge pull request #12716 from miri64/gnrc_netif/enh/use-netif_hdr-setter
...
nimble/netif: use gnrc_netif_hdr_set_netif()
2020-01-15 18:18:20 +01:00
Hauke Petersen
723aadcc87
pkg/nimble: bump version and remove obsolete patch
2020-01-13 21:00:48 +01:00
Hauke Petersen
001a216e9e
Merge pull request #13084 from haukepetersen/opt_nimble_netifl2capabort
...
pkg/nimble_netif: catch L2CAP connection failures
2020-01-13 14:40:32 +01:00
MichelRottleuthner
53cb3b087c
Merge pull request #9530 from Hyungsin/forupstream_xtimer
...
sys: xtimer concurrency/robustness improvement
2020-01-13 08:24:15 +01:00
Hyungsin
3e4a86d84b
pkg/nimble: add a patch to reflect xtimer's member change
2020-01-10 13:22:01 -08:00
Hauke Petersen
11a0e3efa0
pkg/nimble_autoconn: handle new events
2020-01-10 17:14:51 +01:00
Hauke Petersen
dbb8e9e52b
pkg/nimble_netif: add additional events
2020-01-10 16:36:12 +01:00
Hauke Petersen
dcb0840260
pkg/nimble_netif: catch L2CAP connection failures
2020-01-10 15:50:53 +01:00
Hauke Petersen
357ba259bd
pkg/nimble_autoconn: optimize debug output
2020-01-10 13:44:25 +01:00
Gaëtan Harter
ca5d13cc2a
pkg/*: adapt to new state file targets
...
Prepare for handling pkg state with files. So it requires having the
path defined before declaring targets. In addition, it cleans up the
old git-download target.
2020-01-08 20:55:19 +01:00
Hauke Petersen
0676fc4ba1
pkg/nimble/autoconn: improve debug output
2019-12-18 17:06:57 +01:00
Hauke Petersen
16468acadc
pkg/nimble/autoconn: add user event callback
2019-12-18 17:05:48 +01:00
Hauke Petersen
49491bee3c
pkt/nimble/netif: pass BLE addr to event callback
2019-12-18 17:05:48 +01:00
Hauke Petersen
fe2293b601
pkg/nimble/autoconn: add startup delay
2019-12-18 16:27:33 +01:00
Hauke Petersen
ffd8fc9976
pkg/nimble: bump version to 946cfb7
2019-12-16 13:47:44 +01:00
Hauke Petersen
51a65b256d
pkg/nimble: used LL data length ext. with netif
2019-12-16 13:47:44 +01:00
f827e0c3d1
pkg/nimble: fix typos
2019-11-23 22:39:38 +01:00
Martine S. Lenders
b5b035ca14
nimble/netif: use gnrc_netif_hdr_set_netif()
2019-11-15 15:10:52 +01:00
Hauke Petersen
18a133944c
pkg/nimble: depend netif on ble_nimble_netif feat.
2019-11-13 13:10:12 +01:00
Hauke Petersen
004eb5e0b6
pkg/nimble: add 'autoconn' connection manager
2019-11-13 12:59:35 +01:00
Martine Lenders
14a2f6bc18
gnrc: use gnrc_netif_default_init() for all implementations
2019-11-07 11:00:36 +01:00
Marian Buschsieweke
d879739665
drivers/nimble: Use NETOPT_MAX_PDU_SIZE
...
Replaced deprecated NETOPT_MAX_PACKET_SIZE by NETOPT_MAX_PDU_SIZE
2019-10-18 17:57:36 +02:00
Martine Lenders
238ebe3d37
Merge pull request #12350 from haukepetersen/opt_nimble_verokt19
...
pkg/nimble: bump NimBLE version
2019-10-09 11:18:07 +02:00
Martine Lenders
70dddfd775
Merge pull request #12354 from haukepetersen/opt_nimble_netifmaxconn
...
pkg/nimble/netif: set max conn explicitly
2019-10-07 19:18:40 +02:00
Hauke Petersen
a595f89bbe
pkg/nimble/netif: set max conn explicitly
2019-10-07 14:50:57 +02:00
Hauke Petersen
f8112e2164
pkg/nimble/netif_conn: improve debug messages
2019-10-01 17:33:23 +02:00
Hauke Petersen
b7885428ce
pkg/nimble: bump NimBLE version
2019-10-01 16:40:08 +02:00
Hauke Petersen
7f4f323d78
pkg/nimble/scanlist: save and print adv pkt type
2019-09-05 17:04:32 +02:00
Hauke Petersen
825710e489
pkb/nimble/scanner: pass adv pkt type to callback
2019-09-05 17:04:21 +02:00
Hauke Petersen
eadc0e62f2
pkg/nimble: fix doxygen group name prefix
2019-08-29 10:04:08 +02:00
Hauke Petersen
891294d3b7
pkg/nimble: temporary LLVM workaround for NimBLE
2019-08-28 16:49:21 +02:00
Hauke Petersen
eb6673f769
pkg/nimble: add README on how to connect to Linux
2019-08-28 16:49:20 +02:00
Hauke Petersen
a3b8c87ab5
sys/shell: add 'ble' shell cmd for nimble_netif
2019-08-28 16:48:42 +02:00
Hauke Petersen
6bbe16601a
pkg/nimble: add netif wrapper
2019-08-28 16:48:42 +02:00
Hauke Petersen
e1e62ffff7
pkg/nimble/scanlist: implement _get_by_pos()
2019-08-28 16:48:42 +02:00
701ba9c608
pkg/nimble: adapt to nrf51 family
2019-08-07 09:53:55 +02:00
Benjamin Valentin
66117601bb
pkg: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Hauke Petersen
4016eeb1ad
pkg/nimble: bump version to 997dad8
2019-08-01 13:55:47 +02:00
ce9b1e3826
pkg: remove not needed git-downloaded dependencies
...
This is implicitly done by the "pkg-prepare"-step of the main make
instance.
2019-06-28 09:38:44 +02:00
2260f0996b
pkg/nimble: add dependency to radio_nrfble feature
2019-06-12 17:41:31 +02:00
Hauke Petersen
5d96471abf
pkg/nimble: cleanup doxygen groups for submodules
2019-06-04 16:14:41 +02:00
Hauke Petersen
fb3febab7f
ble/nimble: add support for build-in IPSS service
2019-06-04 14:48:42 +02:00
Hauke Petersen
88f9cf780a
ble/nimble: bump version to 9d4bda2
2019-05-17 10:34:26 +02:00
Hauke Petersen
42c6702433
ble/nimble: add scanner submodule
2019-03-27 18:11:37 +01:00
Hauke Petersen
bce0381c6f
ble/nimble: add scanlist submodule
2019-03-27 16:45:25 +01:00
Hauke Petersen
310cdab3d3
ble/nimble: add addr helper module
2019-03-26 22:20:01 +01:00
Hauke Petersen
4907d56185
ble/nimble: fix missing stdint incl in riot_nimble
2019-03-26 14:24:15 +01:00
Martine Lenders
97c4fef19e
Merge pull request #11232 from haukepetersen/fix_nimble_includeguardsriotinit
...
pkg/nimble: fix include guards in nimble_riot.c
2019-03-26 14:18:28 +01:00
Hauke Petersen
f5467ef9f1
net/ble: cleanup doxygen grouping
2019-03-25 19:04:05 +01:00
Hauke Petersen
eca26c91cd
pkg/nimble: fix include guards in nimble_riot.c
2019-03-21 21:39:15 +01:00
Hauke Petersen
4ec250b24f
pkg/nimble: bump version to a7b3c93
...
- version update to a7b3c93
- remove patches (merged to changes to nimble upstream)
- adapt initialization order to upstream changes
2019-03-20 13:36:00 +01:00
Hauke Petersen
8a849be118
pkg/nimble: auto initialize build-in services
2019-03-07 16:21:08 +01:00
Hauke Petersen
f3257f0bfe
pkg/nimble: extract own addr type during init
2019-03-07 16:20:36 +01:00
Hauke Petersen
fe56b73e07
pkg/nimble: wait for host/ctrl sync during init
2019-03-07 16:19:23 +01:00
Hauke Petersen
51aa8fe407
examples/nimble_gatt: use gatt/gap svcs explicitly
2019-03-06 18:21:52 +01:00
Hauke Petersen
2f46f8c732
pkg/nimble: improve Makefile structure
2019-03-06 18:21:52 +01:00
Juan Carrano
d7789c08f2
nimble/Makefile: remove unnecessary warning suppression.
...
The -Wno-sometimes-uninitialized suppression seems to no longer be
necessary. Removing it as it may mask a real bug.
If the problem reappears, and if the comment is correct about it
being only in an unused function, then instead of adding the CFLAG,
it should be fixed locally via a patch.
2018-11-29 14:11:07 +01:00
Juan Carrano
2ffb83af6f
pkg/nimble: add patch to fix pointer alignment issue.
...
Nimble contains a couple of casts that discard alignment information.
This causes a warning with clang's -Wno-address-of-packed-member.
A previous PR (#10503 ) supressed that warning. This commit re-enables
them and provides a patch to fix the offending code.
The fix has been submitted upstream, see
https://github.com/apache/mynewt-nimble/pull/252
2018-11-29 14:04:01 +01:00
Sebastian Meiling
47a662652e
pkg/nimble: disable -Waddress-of-packed-member for llvm
2018-11-29 12:06:12 +01:00
Hauke Petersen
8f2a825b58
pkg/nimble: ipmrove host initialization
2018-11-08 14:40:52 +01:00
Hauke Petersen
d5b019fdc2
pkg/nimble: disable selected compiler warnings
2018-11-08 14:10:58 +01:00
Hauke Petersen
af57afe3ac
pkg/nimble: bump version to current master
2018-11-08 12:40:48 +01:00
Hauke Petersen
7351cba054
pkg/nimble: create ctrl thread with FLAG_STACKTEST
2018-10-17 20:26:42 +02:00
Martine Lenders
2f15aa9747
nimble: deactivate -Wunused-function with LLVM/clang
...
When building `nimble` with LLVM/clang the function
`ble_ll_adv_active_chanset_is_sec()` in `ble_ll_adv.c` is reported to
be unused, it is used within an assertions and `ifdef`s within that
file though. So this just disables that warning.
2018-08-16 17:19:29 +02:00
Hauke Petersen
24a7f26eee
pkg: add support for NimBLE as package
2018-06-06 13:52:58 +02:00