4 posts / 0 new
Last post
wpc
Offline
Last seen:1 month 2 weeks ago
加入:2020-11-26 01:35
DA14531 disconnect error

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:
Martin.Ge
Offline
Last seen:2 months 1 week ago
工作人员
加入:2020-01-06 06:51
HI wpc,

HI wpc,

Which BLE project are you useing to develop your application?

Br

Martin

wpc
Offline
Last seen:1 month 2 weeks ago
加入:2020-11-26 01:35
My project are based on empty

My project are based on empty_peripheral_template.

wpc
Offline
Last seen:1 month 2 weeks ago
加入:2020-11-26 01:35
更新:我切cked app

更新:我切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.