Skip to content

Commit 7ee0e35

Browse files
authored
Merge pull request NordicSemiconductor#88 from NordicSemiconductor/fix/incorrect-ble-dfu-reconnection
Fix incorrect reconnection to BLE device during DFU
2 parents 9b2f8ff + 18731e1 commit 7ee0e35

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

nordicsemi/dfu/dfu_transport_ble.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ def on_gap_evt_adv_report(self, ble_driver, conn_handle, peer_addr, rssi, adv_ty
173173
logger.info('BLE: Found target advertiser, address: 0x{}, name: {}'.format(address_string, dev_name))
174174
logger.info('BLE: Connecting to 0x{}'.format(address_string))
175175
self.adapter.connect(address = peer_addr, conn_params = conn_params)
176-
# store the name and address for subsequent connections
177-
self.target_device_name = dev_name
176+
# store the address for subsequent connections
178177
self.target_device_addr = address_string
179178

180179

0 commit comments

Comments
 (0)