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

How are CTS (0x1805) services discovered when acting as a GATT Server with an ESP32 GATT Client

Hi, 

I'm using a nrf52832 based beacon with some sensors attached. To retrive the current time I use the CTS client. Actually, I'm following the ble_app_cts_c example to advertise, then perform a db_discovery and, if available e.g. from an iPhone, update the time.

Now i'm trying to understand the way the esp32 (ISP-IDF v4.2) acting as a GATT client is asked for the time. There is no current time server, so char 0x1805 is not found at all. But, I don't see any request in the gattc callback function. 

How is the process flow? Is the nrf52 (as soon as connected with all the security handled) asking the GATT client for the time?

On an iPhone everything is fine, NRF Connect app is obviously serving the time and nrf52 can retrieve this.

Regards

Andreas

Related