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 <damien@micropython.org>
This commit is contained in:
parent
77bd8fe5b8
commit
847ee20d9b
@ -110,9 +110,9 @@ def instance1():
|
||||
((char_handle,),) = ble.gatts_register_services(SERVICES)
|
||||
multitest.next()
|
||||
try:
|
||||
# Connect to peripheral and then disconnect.
|
||||
# Connect to peripheral, with a short connection interval to reduce notify latency.
|
||||
print("gap_connect")
|
||||
ble.gap_connect(*BDADDR)
|
||||
ble.gap_connect(BDADDR[0], BDADDR[1], 2000, 12500, 12500)
|
||||
conn_handle = wait_for_event(_IRQ_PERIPHERAL_CONNECT, TIMEOUT_MS)
|
||||
|
||||
# Discover characteristics.
|
||||
|
Loading…
Reference in New Issue
Block a user