diff options
Diffstat (limited to 'tests/multi_bluetooth/ble_gap_pair_bond.py')
-rw-r--r-- | tests/multi_bluetooth/ble_gap_pair_bond.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/multi_bluetooth/ble_gap_pair_bond.py b/tests/multi_bluetooth/ble_gap_pair_bond.py index a29c217887..d7224cc127 100644 --- a/tests/multi_bluetooth/ble_gap_pair_bond.py +++ b/tests/multi_bluetooth/ble_gap_pair_bond.py @@ -5,6 +5,10 @@ from micropython import const import time, machine, bluetooth +if not hasattr(bluetooth.BLE, "gap_pair"): + print("SKIP") + raise SystemExit + TIMEOUT_MS = 4000 _IRQ_CENTRAL_CONNECT = const(1) |