micropython/extmod/nimble
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
..
bsp extmod/nimble: Add nimble bindings. 2019-10-01 09:51:02 +10:00
hal extmod/nimble/hal/hal_uart: Fix HCI_TRACE format specifiers. 2021-02-17 11:24:48 +11:00
logcfg extmod/modbluetooth: Refactor stack/hci/driver/port bindings. 2020-09-08 11:41:31 +10:00
nimble extmod/modbluetooth: Add API for L2CAP channels. 2020-11-24 01:07:17 +11:00
syscfg extmod/modbluetooth: Allow configuration of pairing/bonding parameters. 2020-12-02 14:40:49 +11:00
modbluetooth_nimble.c extmod/modbluetooth: Separate enabling of "client" from "central". 2021-02-19 17:53:43 +11:00
modbluetooth_nimble.h extmod/modbluetooth: Add API for L2CAP channels. 2020-11-24 01:07:17 +11:00
nimble.mk extmod/modbluetooth: Add support for bonding (key persistence). 2020-12-02 14:41:41 +11:00