This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

p_client->is_notification_enabled value keeps enable when disconnect and reconnect.

Hi, Nordic,

I am using the ble_app_uart example in the SDK15.2.

I find a issue that when the device,  which p_client->is_notification_enabled is already true, is disconnect by the phone, then reconnect again without enabling notification action,the device's p_client->is_notification_enabled value still keeps true, but at this condition, when sending the data by using the  ble_nus_data_send function, will cause Fatal error, err_code= 0x3401.

I want to know how to get the real state of the notification.

TKS!

Related