summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-08-19 12:55:38 +1000
committerDamien George <damien@micropython.org>2020-09-08 12:53:24 +1000
commit126f972c34f25bffc07d0d1cb3e536921fec0979 (patch)
treea335c247c2075ca93a1cddb52ac002c11fc46c5f /lib
parent311b8519af75be9fe4215b5ee8f77e91d089d5df (diff)
extmod/nimble: Add timeout for HCI sync on startup.
This allows `ble.active(1)` to fail correctly if the HCI controller is unavailable. It also avoids an infine loop in the NimBLE event handler where NimBLE doesn't correctly detect that the HCI controller is unavailable and keeps trying to reset. Furthermore, it fixes an issue where GATT service registrations were left allocated, which led to a bad realloc if the stack was activated multiple times.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions