aboutsummaryrefslogtreecommitdiff
path: root/tests/multi_bluetooth/ble_characteristic.py
diff options
context:
space:
mode:
authorDamien George2020-05-08 13:23:45 +1000
committerDamien George2020-05-08 13:23:45 +1000
commit037c83b0ed47abe68c47c8fa617fdc0041b699f0 (patch)
tree877f696f0128597c6432ee47bbf621751407f288 /tests/multi_bluetooth/ble_characteristic.py
parente2def200bfb6f68801568c6b26f73ee86b549be2 (diff)
tests/multi_bluetooth: Fix typo printing wrong IRQ type.
Diffstat (limited to 'tests/multi_bluetooth/ble_characteristic.py')
-rw-r--r--tests/multi_bluetooth/ble_characteristic.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/multi_bluetooth/ble_characteristic.py b/tests/multi_bluetooth/ble_characteristic.py
index 2f6fe404f..b5dfefc84 100644
--- a/tests/multi_bluetooth/ble_characteristic.py
+++ b/tests/multi_bluetooth/ble_characteristic.py
@@ -10,7 +10,6 @@ _IRQ_CENTRAL_DISCONNECT = const(1 << 1)
_IRQ_GATTS_WRITE = const(1 << 2)
_IRQ_PERIPHERAL_CONNECT = const(1 << 6)
_IRQ_PERIPHERAL_DISCONNECT = const(1 << 7)
-_IRQ_GATTC_SERVICE_RESULT = const(1 << 8)
_IRQ_GATTC_CHARACTERISTIC_RESULT = const(1 << 9)
_IRQ_GATTC_READ_RESULT = const(1 << 11)
_IRQ_GATTC_WRITE_STATUS = const(1 << 12)
@@ -50,7 +49,7 @@ def irq(event, data):
elif event == _IRQ_GATTC_CHARACTERISTIC_RESULT:
# conn_handle, def_handle, value_handle, properties, uuid = data
if data[-1] == CHAR_UUID:
- print("_IRQ_GATTC_SERVICE_RESULT", data[-1])
+ print("_IRQ_GATTC_CHARACTERISTIC_RESULT", data[-1])
value_handle = data[2]
elif event == _IRQ_GATTC_READ_RESULT:
print("_IRQ_GATTC_READ_RESULT", data[-1])