I have used sofdevice v7.1.0 and nrf51 sdk 6.1.0 the ble_app_hrs project which has support of dfu is not discovering the dfu services. i have enabled the BLE_DFU_APP_SUPPORT flag , then also facing same issue.
I have used sofdevice v7.1.0 and nrf51 sdk 6.1.0 the ble_app_hrs project which has support of dfu is not discovering the dfu services. i have enabled the BLE_DFU_APP_SUPPORT flag , then also facing same issue.
@komal: Which project have you used? Have you used the ble_app_hrs_dfu.uvproj project ? The project should have the following file included : bootloader_util_arm.c, ble_dfu.c, dfu_app_handler.c
You can check if ble_dfu_init() is called.
I suspect it was because the ATT table has been cached and the central didn't do a service discovery after you switched to DFU. Have you made sure you enable IS_SRVC_CHANGED_CHARACT_PRESENT = 1 in your code, both in the application and the DFU bootloader ?
Which central device did you used ? Was the link encrypted (bonded)?
On SDK v8.0 we fixed this issue, you can try that.
I suspect it was because the ATT table has been cached and the central didn't do a service discovery after you switched to DFU. Have you made sure you enable IS_SRVC_CHANGED_CHARACT_PRESENT = 1 in your code, both in the application and the DFU bootloader ?
Which central device did you used ? Was the link encrypted (bonded)?
On SDK v8.0 we fixed this issue, you can try that.