summaryrefslogtreecommitdiff
path: root/tools/verifygitlog.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2021-02-19 14:47:51 +1100
committerJim Mussared <jim.mussared@gmail.com>2021-02-19 17:53:43 +1100
commita76604afba109d990e466cdcd5a69a82077a7f56 (patch)
treeede34bd4be246f918a13c745705511a012541d33 /tools/verifygitlog.py
parentd28dbcd6c783bc45bc4661abbb53d2b6c5397102 (diff)
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>
Diffstat (limited to 'tools/verifygitlog.py')
0 files changed, 0 insertions, 0 deletions