Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #88 from NordicSemiconductor/fix/incorrect-ble-dfu…
Browse files Browse the repository at this point in the history
…-reconnection

Fix incorrect reconnection to BLE device during DFU
  • Loading branch information
mrodem authored Sep 4, 2017
2 parents 9b2f8ff + 18731e1 commit 7ee0e35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nordicsemi/dfu/dfu_transport_ble.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ def on_gap_evt_adv_report(self, ble_driver, conn_handle, peer_addr, rssi, adv_ty
logger.info('BLE: Found target advertiser, address: 0x{}, name: {}'.format(address_string, dev_name))
logger.info('BLE: Connecting to 0x{}'.format(address_string))
self.adapter.connect(address = peer_addr, conn_params = conn_params)
# store the name and address for subsequent connections
self.target_device_name = dev_name
# store the address for subsequent connections
self.target_device_addr = address_string


Expand Down

0 comments on commit 7ee0e35

Please sign in to comment.