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);
in gapc_disconnect_ind_handler at app_task.c when 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?
Keywords:
Device:
HI wpc,
Which BLE project are you useing to develop your application?
Br
Martin
My project are based on empty_peripheral_template.
An update: I checked app state after connected and it's already APP_DISABLED, even if I set the state to APP_CONNECTED manually in user_app_on_connection.