This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

dfu_dual_bank_ble_s132_pca10040 example doesn't connect when use sdk11 with softdevice v3.0

Recompile dfu_dual_bank_ble_s132_pca10040 example from SDK v11 with softdevice v3.0 header. DFU is advertised, but not able to connect to it. always timeout, There are three parts codes change due to compile error with new header.

Change 1: in dfu_transport_update_start(), change err_code = sd_ble_gap_address_set(BLE_GAP_ADDR_CYCLE_MODE_NONE, &addr); to err_code = sd_ble_gap_addr_set(&addr);

Change 2: in advertising_start(), remove ble_gap_whitelist_t whitelist;

Change 3: in ble_device_addr_encode(), change sd_ble_gap_address_get(&device_addr); to sd_ble_gap_addr_get(&device_addr);

Where may cause the connection timeout? or if the new Softdevice 3.0 doesn't support dual bank in bootloader at all.

Thanks

Parents Reply Children
No Data
Related