Skip to content

Commit 847ee20

Browse files
committed
tests/multi_bluetooth/perf_gatt_notify.py: Reduce connection interval.
To test that the notification ping-pong can be low latency. Signed-off-by: Damien George <[email protected]>
1 parent 77bd8fe commit 847ee20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/multi_bluetooth/perf_gatt_notify.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ def instance1():
110110
((char_handle,),) = ble.gatts_register_services(SERVICES)
111111
multitest.next()
112112
try:
113-
# Connect to peripheral and then disconnect.
113+
# Connect to peripheral, with a short connection interval to reduce notify latency.
114114
print("gap_connect")
115-
ble.gap_connect(*BDADDR)
115+
ble.gap_connect(BDADDR[0], BDADDR[1], 2000, 12500, 12500)
116116
conn_handle = wait_for_event(_IRQ_PERIPHERAL_CONNECT, TIMEOUT_MS)
117117

118118
# Discover characteristics.

0 commit comments

Comments
 (0)