Home
last modified time | relevance | path

Searched refs:s_dev (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidd.c749 static esp_ble_hidd_dev_t *s_dev = NULL; variable
753 if (!s_dev) { in esp_hidd_gatts_event_handler()
763 s_dev->info_svc.gatt_if = gatts_if; in esp_hidd_gatts_event_handler()
765 s_dev->bat_svc.gatt_if = gatts_if; in esp_hidd_gatts_event_handler()
766 …_id >= ESP_GATT_UUID_HID_SVC && param->reg.app_id < (ESP_GATT_UUID_HID_SVC + s_dev->devices_len)) { in esp_hidd_gatts_event_handler()
768s_dev->devices[param->reg.app_id - ESP_GATT_UUID_HID_SVC].hid_svc.gatt_if = gatts_if; in esp_hidd_gatts_event_handler()
779 if (s_dev->bat_svc.gatt_if && gatts_if == s_dev->bat_svc.gatt_if) { in esp_hidd_gatts_event_handler()
780 bat_event_handler(s_dev, event, gatts_if, param); in esp_hidd_gatts_event_handler()
781 } else if (s_dev->info_svc.gatt_if && gatts_if == s_dev->info_svc.gatt_if) { in esp_hidd_gatts_event_handler()
782 info_event_handler(s_dev, event, gatts_if, param); in esp_hidd_gatts_event_handler()
[all …]