micropython/ports/unix
Jim Mussared 126f972c34 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.
2020-09-08 12:53:24 +10:00
..
variants
.gitignore
Makefile
alloc.c
coverage.c
fatfs_port.c
gccollect.c
input.c
input.h
main.c
modffi.c
modjni.c
modmachine.c
modos.c
modtermios.c
modtime.c
moduos_vfs.c
moduselect.c
modusocket.c
mpbthciport.c extmod/nimble: Add timeout for HCI sync on startup. 2020-09-08 12:53:24 +10:00
mpbtstackport.h
mpbtstackport_common.c
mpbtstackport_h4.c
mpbtstackport_usb.c
mpconfigport.h
mpconfigport.mk
mphalport.h
mpnimbleport.c
mpnimbleport.h
mpthreadport.c
mpthreadport.h
qstrdefsport.h
unix_mphal.c