Searched refs:p_db_attr (Results 1 – 2 of 2) sorted by relevance
/system/bt/stack/gap/ |
D | gap_ble.c | 217 tGAP_ATTR *p_db_attr = gap_cb.gatt_attr; in gap_read_attr_value() local 222 for (i = 0; i < GAP_MAX_CHAR_NUM; i ++, p_db_attr ++) in gap_read_attr_value() 224 if (handle == p_db_attr->handle) in gap_read_attr_value() 226 if (p_db_attr->uuid != GATT_UUID_GAP_DEVICE_NAME && in gap_read_attr_value() 230 switch (p_db_attr->uuid) in gap_read_attr_value() 251 UINT16_TO_STREAM(p, p_db_attr->attr_value.icon); in gap_read_attr_value() 256 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.int_min); /* int_min */ in gap_read_attr_value() 257 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.int_max); /* int_max */ in gap_read_attr_value() 258 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.latency); /* latency */ in gap_read_attr_value() 259 UINT16_TO_STREAM(p, p_db_attr->attr_value.conn_param.sp_tout); /* sp_tout */ in gap_read_attr_value() [all …]
|
/system/bt/stack/srvc/ |
D | srvc_dis.c | 119 tDIS_DB_ENTRY *p_db_attr = dis_cb.dis_attr; in dis_read_attr_value() local 126 for (i = 0; i < DIS_MAX_CHAR_NUM; i ++, p_db_attr ++) in dis_read_attr_value() 128 if (handle == p_db_attr->handle) in dis_read_attr_value() 130 if ((p_db_attr->uuid == GATT_UUID_PNP_ID || p_db_attr->uuid == GATT_UUID_SYSTEM_ID)&& in dis_read_attr_value() 138 switch (p_db_attr->uuid) in dis_read_attr_value() 147 pp = dis_cb.dis_value.data_string[p_db_attr->uuid - GATT_UUID_MODEL_NUMBER_STR]; in dis_read_attr_value() 355 tDIS_DB_ENTRY *p_db_attr = &dis_cb.dis_attr[0]; in DIS_SrInit() local 378 uuid.uu.uuid16 = p_db_attr->uuid = dis_attr_uuid[i]; in DIS_SrInit() 379 …p_db_attr->handle = GATTS_AddCharacteristic(dis_cb.service_handle, &uuid, GATT_PERM_READ, GATT_CH… in DIS_SrInit() 380 …CE_DEBUG ("DIS_SrInit: handle of new attribute 0x%04 = x%d", uuid.uu.uuid16, p_db_attr->handle ); in DIS_SrInit() [all …]
|