Page 1 of 1

ESP_GATTC_SEARCH_CMPL_EVT vs ESP_GATTC_DIS_SRVC_CMPL_EVT

Posted: Fri Feb 21, 2020 10:05 am
by paddy_b
Could somebody explain the difference between ESP_GATTC_DIS_SRVC_CMPL_EVT and ESP_GATTC_SEARCH_CMPL_EVT.

According to https://docs.espressif.com/projects/esp ... gattc.html:

ESP_GATTC_SEARCH_CMPL_EVT = 6
When GATT service discovery is completed, the event comes

ESP_GATTC_DIS_SRVC_CMPL_EVT = 46
When the ble discover service complete, the event comes

Which to me sounds like different ways of saying the same thing.