diff options
| author | Jim Mussared | 2020-07-20 16:58:10 +1000 |
|---|---|---|
| committer | Damien George | 2020-07-20 23:26:41 +1000 |
| commit | 9d823a5d9a6730edde8e1df1e5ff4add1ad17094 (patch) | |
| tree | ebad885e38b5d7edde4ad0cd16d7eb5447890df1 /tests/multi_bluetooth/ble_characteristic.py.exp | |
| parent | 3c7ca2004c78ec386e136b947ed5e05a39b61aaf (diff) | |
extmod/modbluetooth: Add event for "indicate acknowledgement".
This commit adds the IRQ_GATTS_INDICATE_DONE BLE event which will be raised
with the status of gatts_indicate (unlike notify, indications require
acknowledgement).
An example of its use is added to ble_temperature.py, and to the multitests
in ble_characteristic.py.
Implemented for btstack and nimble bindings, tested in both directions
between unix/btstack and pybd/nimble.
Diffstat (limited to 'tests/multi_bluetooth/ble_characteristic.py.exp')
| -rw-r--r-- | tests/multi_bluetooth/ble_characteristic.py.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/multi_bluetooth/ble_characteristic.py.exp b/tests/multi_bluetooth/ble_characteristic.py.exp index 7f66a4d90..25b5544ef 100644 --- a/tests/multi_bluetooth/ble_characteristic.py.exp +++ b/tests/multi_bluetooth/ble_characteristic.py.exp @@ -9,6 +9,7 @@ gatts_notify _IRQ_GATTS_WRITE b'central2' gatts_write gatts_indicate +_IRQ_GATTS_INDICATE_DONE 0 _IRQ_CENTRAL_DISCONNECT --- instance1 --- gap_connect |
