micropython/extmod
Jim Mussared a76604afba extmod/modbluetooth: Separate enabling of "client" from "central".
Previously, the MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE macro
controlled enabling both the central mode and the GATT client
functionality (because usually the two go together).

This commits adds a new MICROPY_PY_BLUETOOTH_ENABLE_GATT_CLIENT
macro that separately enables the GATT client functionality.
This defaults to MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE.

This also fixes a bug in the NimBLE bindings where a notification
or indication would not be received by a peripheral (acting as client)
as gap_event_cb wasn't handling it. Now both central_gap_event_cb
and peripheral_gap_event_cb share the same common handler for these
events.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2021-02-19 17:53:43 +11:00
..
axtls-include
btstack extmod/modbluetooth: Separate enabling of "client" from "central". 2021-02-19 17:53:43 +11:00
crypto-algorithms
lwip-include
nimble extmod/modbluetooth: Separate enabling of "client" from "central". 2021-02-19 17:53:43 +11:00
re1.5
uasyncio
uzlib
webrepl
extmod.cmake
extmod.mk
machine_i2c.c
machine_i2c.h
machine_mem.c
machine_mem.h
machine_pinbase.c
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_signal.c
machine_signal.h
machine_spi.c
machine_spi.h
misc.h
modbluetooth.c extmod/modbluetooth: Separate enabling of "client" from "central". 2021-02-19 17:53:43 +11:00
modbluetooth.h extmod/modbluetooth: Separate enabling of "client" from "central". 2021-02-19 17:53:43 +11:00
modbtree.c
modframebuf.c
modlwip.c
modonewire.c
moduasyncio.c
modubinascii.c
moducryptolib.c
moductypes.c
moduhashlib.c
moduheapq.c
modujson.c
modurandom.c
modure.c
moduselect.c
modussl_axtls.c
modussl_mbedtls.c
modutimeq.c
moduwebsocket.c
moduwebsocket.h
moduzlib.c
modwebrepl.c
mpbthci.c
mpbthci.h
network_cyw43.c
network_cyw43.h
uos_dupterm.c
utime_mphal.c
utime_mphal.h
vfs.c
vfs.h
vfs_blockdev.c
vfs_fat.c
vfs_fat.h
vfs_fat_diskio.c
vfs_fat_file.c
vfs_lfs.c
vfs_lfs.h
vfs_lfsx.c
vfs_lfsx_file.c
vfs_posix.c
vfs_posix.h
vfs_posix_file.c
vfs_reader.c
virtpin.c
virtpin.h