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

Current Time Service not found on server

Hi,

In y project, I want to implement CTS. Until now it's been working, but I don't know why, I now have this problem: Current Time Service not found on server, which means the event calls the current time service is BLE_CTS_C_EVT_DISCOVERY_FAILED. why is the current time service not found by the server? 
To solve this, I saw that I have to forget the device on the Bluetooth parameters of my phone, but I can't. When I'm not connected, the device name doesn't appear and when I'm connected, I can't forget the device, I have this: 

Normally, I click on the button "i" and after I can't click on forget the device.

So I tried to add this line: 

memset(&m_ble_db_discovery,0,sizeof(m_ble_db_discovery));
in the case BLE_GAP_EVT_CONNECTED of the function ble_evt_handler(). It works at first but now I have the same problem.

Is it my code which has a problem or a bug of the device?

Parents Reply Children
No Data
Related