Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c210 tGAP_ATTR *p_db_attr = gap_cb.gap_attr; in gap_read_attr_value() local
215 for (i = 0; i < GAP_MAX_CHAR_NUM; i ++, p_db_attr ++) { in gap_read_attr_value()
216 if (handle == p_db_attr->handle) { in gap_read_attr_value()
217 if (p_db_attr->uuid != GATT_UUID_GAP_DEVICE_NAME && in gap_read_attr_value()
222 switch (p_db_attr->uuid) { in gap_read_attr_value()
242 UINT16_TO_STREAM(p, p_db_attr->attr_value.icon); in gap_read_attr_value()
247 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.int_min); /* int_min */ in gap_read_attr_value()
248 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.int_max); /* int_max */ in gap_read_attr_value()
249 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.latency); /* latency */ in gap_read_attr_value()
250 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.sp_tout); /* sp_tout */ in gap_read_attr_value()
[all …]
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/profile/std/dis/
Ddis_profile.c126 tDIS_DB_ENTRY *p_db_attr = dis_cb.dis_attr; in dis_s_read_attr_value() local
133 for (i = 0; i < DIS_MAX_CHAR_NUM; i ++, p_db_attr ++) { in dis_s_read_attr_value()
134 if (handle == p_db_attr->handle) { in dis_s_read_attr_value()
135 if ((p_db_attr->uuid == GATT_UUID_PNP_ID || p_db_attr->uuid == GATT_UUID_SYSTEM_ID) && in dis_s_read_attr_value()
142 switch (p_db_attr->uuid) { in dis_s_read_attr_value()
150 pp = dis_cb.dis_value.data_string[p_db_attr->uuid - GATT_UUID_MODEL_NUMBER_STR]; in dis_s_read_attr_value()
231 tDIS_DB_ENTRY *p_db_attr = &dis_cb.dis_attr[0]; in dis_AddChar() local
233 uuid.uu.uuid16 = p_db_attr->uuid = dis_attr_uuid[i]; in dis_AddChar()
236 p_db_attr ++; in dis_AddChar()