tests/multi_bluetooth: Fix typo printing wrong IRQ type.
This commit is contained in:
parent
e2def200bf
commit
037c83b0ed
@ -10,7 +10,6 @@ _IRQ_CENTRAL_DISCONNECT = const(1 << 1)
|
|||||||
_IRQ_GATTS_WRITE = const(1 << 2)
|
_IRQ_GATTS_WRITE = const(1 << 2)
|
||||||
_IRQ_PERIPHERAL_CONNECT = const(1 << 6)
|
_IRQ_PERIPHERAL_CONNECT = const(1 << 6)
|
||||||
_IRQ_PERIPHERAL_DISCONNECT = const(1 << 7)
|
_IRQ_PERIPHERAL_DISCONNECT = const(1 << 7)
|
||||||
_IRQ_GATTC_SERVICE_RESULT = const(1 << 8)
|
|
||||||
_IRQ_GATTC_CHARACTERISTIC_RESULT = const(1 << 9)
|
_IRQ_GATTC_CHARACTERISTIC_RESULT = const(1 << 9)
|
||||||
_IRQ_GATTC_READ_RESULT = const(1 << 11)
|
_IRQ_GATTC_READ_RESULT = const(1 << 11)
|
||||||
_IRQ_GATTC_WRITE_STATUS = const(1 << 12)
|
_IRQ_GATTC_WRITE_STATUS = const(1 << 12)
|
||||||
@ -50,7 +49,7 @@ def irq(event, data):
|
|||||||
elif event == _IRQ_GATTC_CHARACTERISTIC_RESULT:
|
elif event == _IRQ_GATTC_CHARACTERISTIC_RESULT:
|
||||||
# conn_handle, def_handle, value_handle, properties, uuid = data
|
# conn_handle, def_handle, value_handle, properties, uuid = data
|
||||||
if data[-1] == CHAR_UUID:
|
if data[-1] == CHAR_UUID:
|
||||||
print("_IRQ_GATTC_SERVICE_RESULT", data[-1])
|
print("_IRQ_GATTC_CHARACTERISTIC_RESULT", data[-1])
|
||||||
value_handle = data[2]
|
value_handle = data[2]
|
||||||
elif event == _IRQ_GATTC_READ_RESULT:
|
elif event == _IRQ_GATTC_READ_RESULT:
|
||||||
print("_IRQ_GATTC_READ_RESULT", data[-1])
|
print("_IRQ_GATTC_READ_RESULT", data[-1])
|
||||||
|
@ -7,7 +7,7 @@ _IRQ_CENTRAL_DISCONNECT
|
|||||||
--- instance1 ---
|
--- instance1 ---
|
||||||
gap_connect
|
gap_connect
|
||||||
_IRQ_PERIPHERAL_CONNECT
|
_IRQ_PERIPHERAL_CONNECT
|
||||||
_IRQ_GATTC_SERVICE_RESULT UUID128('00000000-1111-2222-3333-444444444444')
|
_IRQ_GATTC_CHARACTERISTIC_RESULT UUID128('00000000-1111-2222-3333-444444444444')
|
||||||
gattc_read
|
gattc_read
|
||||||
_IRQ_GATTC_READ_RESULT b'periph0'
|
_IRQ_GATTC_READ_RESULT b'periph0'
|
||||||
gattc_write
|
gattc_write
|
||||||
|
Loading…
Reference in New Issue
Block a user