Skip to content

Commit f0e1f98

Browse files
committed
Increase timeout of DFU characteristic discovery to fix failed attempts to OTA with dfu.py.
1 parent 0e97db1 commit f0e1f98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bootloader/ota-dfu-python/nrf_ble_dfu_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _get_handles(self, uuid):
162162
self.ble_conn.sendline('characteristics')
163163

164164
try:
165-
self.ble_conn.expect([uuid], timeout=2)
165+
self.ble_conn.expect([uuid], timeout=10)
166166
handles = re.findall(b'.*handle: (0x....),.*char value handle: (0x....)', self.ble_conn.before)
167167
(handle, value_handle) = handles[-1]
168168
except pexpect.TIMEOUT as e:

0 commit comments

Comments
 (0)