circuitpython/tests/multi_bluetooth/ble_gap_device_name.py.exp
Jim Mussared ccfd535af4 tests/multi_bluetooth: Improve reliability of event waiting.
Use the same `wait_for_event` in all tests that doesn't hold a reference to
the event data tuple and handles repeat events.

Also fix a few misc reliability issues around timeouts and sequencing.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2020-11-13 17:19:05 +11:00

26 lines
548 B
Plaintext

--- instance0 ---
b'GAP_NAME'
gap_advertise
b'GAP_NAME0'
_IRQ_CENTRAL_CONNECT
_IRQ_CENTRAL_DISCONNECT
b'GAP_NAME1'
_IRQ_CENTRAL_CONNECT
_IRQ_CENTRAL_DISCONNECT
--- instance1 ---
gap_connect
_IRQ_PERIPHERAL_CONNECT
gattc_discover_characteristics
_IRQ_GATTC_CHARACTERISTIC_RESULT UUID(0x2a00)
_IRQ_GATTC_CHARACTERISTIC_DONE
gattc_read
_IRQ_GATTC_READ_RESULT b'GAP_NAME0'
gap_disconnect: True
_IRQ_PERIPHERAL_DISCONNECT
gap_connect
_IRQ_PERIPHERAL_CONNECT
gattc_read
_IRQ_GATTC_READ_RESULT b'GAP_NAME1'
gap_disconnect: True
_IRQ_PERIPHERAL_DISCONNECT