mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-12-24 10:13:56 +03:00
Increase timeout of DFU characteristic discovery to fix failed attempts to OTA with dfu.py.
This commit is contained in:
parent
0e97db1c30
commit
f0e1f98823
@ -162,7 +162,7 @@ class NrfBleDfuController(object, metaclass=ABCMeta):
|
||||
self.ble_conn.sendline('characteristics')
|
||||
|
||||
try:
|
||||
self.ble_conn.expect([uuid], timeout=2)
|
||||
self.ble_conn.expect([uuid], timeout=10)
|
||||
handles = re.findall(b'.*handle: (0x....),.*char value handle: (0x....)', self.ble_conn.before)
|
||||
(handle, value_handle) = handles[-1]
|
||||
except pexpect.TIMEOUT as e:
|
||||
|
Loading…
Reference in New Issue
Block a user