uart not accepting my static passkey when i added dfu in my project. using ios app nrftoolbox. programed soft device s110. programed dfu dual bank example project then uploaded my app using nrftoolbox dfu.
uart not accepting my static passkey when i added dfu in my project. using ios app nrftoolbox. programed soft device s110. programed dfu dual bank example project then uploaded my app using nrftoolbox dfu.
Hi Nomi,
It was the issue that you added the handle for app_context_load, so that the app can send service changed indication when needed. However you forgot to change the DEVICE_MANAGER_APP_CONTEXT_SIZE to match with your need ( should be =16 as in our ble_app_hrs_dfu example). This resulted dm_application_context_get return FEATURE_NOT_ENABLED and then cause your trip to reset.
When you want to debug you should avoid letting the chip restart when issue occurs. You should add DEBUG in the pre-processor define. And add a break point in app_error_handler() in app_error.c to find the error code, line and file name that cause the error.
Hi Nomi,
It was the issue that you added the handle for app_context_load, so that the app can send service changed indication when needed. However you forgot to change the DEVICE_MANAGER_APP_CONTEXT_SIZE to match with your need ( should be =16 as in our ble_app_hrs_dfu example). This resulted dm_application_context_get return FEATURE_NOT_ENABLED and then cause your trip to reset.
When you want to debug you should avoid letting the chip restart when issue occurs. You should add DEBUG in the pre-processor define. And add a break point in app_error_handler() in app_error.c to find the error code, line and file name that cause the error.