summaryrefslogtreecommitdiff
path: root/tests/multi_bluetooth/perf_l2cap.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/multi_bluetooth/perf_l2cap.py')
-rw-r--r--tests/multi_bluetooth/perf_l2cap.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/multi_bluetooth/perf_l2cap.py b/tests/multi_bluetooth/perf_l2cap.py
index 9b07bb1dc..0603a02a8 100644
--- a/tests/multi_bluetooth/perf_l2cap.py
+++ b/tests/multi_bluetooth/perf_l2cap.py
@@ -3,6 +3,10 @@
from micropython import const
import time, machine, bluetooth, random
+if not hasattr(bluetooth.BLE, "l2cap_connect"):
+ print("SKIP")
+ raise SystemExit
+
TIMEOUT_MS = 1000
_IRQ_CENTRAL_CONNECT = const(1)