Hi dialog:
I use DA14531 as peripheral device and found that my program would usually enter
//We are not in Connected State ASSERT_ERROR(0);
ingapc_disconnect_ind_handleratapp_task.cwhen the central disconnects. I checked the state of app task and it's APP_DISABLED. I searched the project and didn't found where the code set the state. So what should I do to locate the problem?
Device:
HI wpc,
Which BLE project are you useing to develop your application?
Br
Martin
My project are based on empty_peripheral_template.
更新:我切cked app state after connected and it's already APP_DISABLED, even if I set the state to APP_CONNECTED manually inuser_app_on_connection.