Skip to content

Commit 037c83b

Browse files
committed
tests/multi_bluetooth: Fix typo printing wrong IRQ type.
1 parent e2def20 commit 037c83b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/multi_bluetooth/ble_characteristic.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
_IRQ_GATTS_WRITE = const(1 << 2)
1111
_IRQ_PERIPHERAL_CONNECT = const(1 << 6)
1212
_IRQ_PERIPHERAL_DISCONNECT = const(1 << 7)
13-
_IRQ_GATTC_SERVICE_RESULT = const(1 << 8)
1413
_IRQ_GATTC_CHARACTERISTIC_RESULT = const(1 << 9)
1514
_IRQ_GATTC_READ_RESULT = const(1 << 11)
1615
_IRQ_GATTC_WRITE_STATUS = const(1 << 12)
@@ -50,7 +49,7 @@ def irq(event, data):
5049
elif event == _IRQ_GATTC_CHARACTERISTIC_RESULT:
5150
# conn_handle, def_handle, value_handle, properties, uuid = data
5251
if data[-1] == CHAR_UUID:
53-
print("_IRQ_GATTC_SERVICE_RESULT", data[-1])
52+
print("_IRQ_GATTC_CHARACTERISTIC_RESULT", data[-1])
5453
value_handle = data[2]
5554
elif event == _IRQ_GATTC_READ_RESULT:
5655
print("_IRQ_GATTC_READ_RESULT", data[-1])

tests/multi_bluetooth/ble_characteristic.py.exp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ _IRQ_CENTRAL_DISCONNECT
77
--- instance1 ---
88
gap_connect
99
_IRQ_PERIPHERAL_CONNECT
10-
_IRQ_GATTC_SERVICE_RESULT UUID128('00000000-1111-2222-3333-444444444444')
10+
_IRQ_GATTC_CHARACTERISTIC_RESULT UUID128('00000000-1111-2222-3333-444444444444')
1111
gattc_read
1212
_IRQ_GATTC_READ_RESULT b'periph0'
1313
gattc_write

0 commit comments

Comments
 (0)