Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/esp_hid/src/
Dble_hidd.c151 uint8_t bat_level; // 0 - 100 - battery percentage member
213 …_BATT_LVL_VAL, (uint8_t *)&s_bat_level_uuid, ESP_GATT_PERM_READ, 1, 1, (uint8_t *)&dev->bat_level); in create_bat_db()
404 ESP_LOGD(TAG, "Battery READ %d", dev->bat_level); in bat_event_handler()
416 … ESP_LOGD(TAG, "Battery SET %d, status: 0x%02x", dev->bat_level, param->set_attr_val.status); in bat_event_handler()
828 dev->bat_level = level; in esp_ble_hidd_dev_battery_set()
835 …ate(dev->bat_svc.gatt_if, dev->conn_id, dev->bat_level_handle, 1, &dev->bat_level, dev->bat_ccc.in… in esp_ble_hidd_dev_battery_set()
960 s_dev->bat_level = 100; in esp_ble_hidd_dev_init()
Dbt_hidd.c48 uint8_t bat_level; // 0 - 100 - battery percentage member
814 s_hidd_param.dev->bat_level = 100; in esp_bt_hidd_dev_init()