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

24 Commits

Author SHA1 Message Date
Hauke Petersen
c7b3d8416d nimble/autoconn: allow to select PHY mode 2022-01-27 10:30:30 +01:00
Hauke Petersen
ca98df258c nimble/autoconn: fix scanning 2021-12-06 09:48:32 +01:00
Hauke Petersen
650445812a nimble/autoconn: adapt to scanner API changes 2021-12-03 08:43:14 +01:00
Hauke Petersen
bcec748911 nimble_autoconn: fix scan event type 2021-10-06 17:01:52 +02:00
Hauke Petersen
dadd7028d3 nimble/autoconn: adapt to new return values 2021-09-10 21:11:30 +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
Hauke Petersen
c3c4b64f83 pkg/nimble/autoconn: allow conn interval range 2021-06-17 14:10:16 +02: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
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
2e8186f4f4 pkg/nimble/autoconn: minor debug message cleanup 2020-03-02 15:24:32 +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
11a0e3efa0 pkg/nimble_autoconn: handle new events 2020-01-10 17:14:51 +01:00
Hauke Petersen
357ba259bd pkg/nimble_autoconn: optimize debug output 2020-01-10 13:44:25 +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
004eb5e0b6 pkg/nimble: add 'autoconn' connection manager 2019-11-13 12:59:35 +01:00