Lines Matching refs:p_db_attr
117 tDIS_DB_ENTRY *p_db_attr = dis_cb.dis_attr;
124 for (i = 0; i < DIS_MAX_CHAR_NUM; i ++, p_db_attr ++)
126 if (handle == p_db_attr->handle)
128 if ((p_db_attr->uuid == GATT_UUID_PNP_ID || p_db_attr->uuid == GATT_UUID_SYSTEM_ID)&&
136 switch (p_db_attr->uuid)
145 pp = dis_cb.dis_value.data_string[p_db_attr->uuid - GATT_UUID_MODEL_NUMBER_STR];
348 tDIS_DB_ENTRY *p_db_attr = &dis_cb.dis_attr[0];
371 uuid.uu.uuid16 = p_db_attr->uuid = dis_attr_uuid[i];
372 p_db_attr->handle = GATTS_AddCharacteristic(dis_cb.service_handle, &uuid, GATT_PERM_READ, GATT_CHAR_PROP_BIT_READ);
373 GATT_TRACE_DEBUG ("DIS_SrInit: handle of new attribute 0x%04 = x%d", uuid.uu.uuid16, p_db_attr->handle );
374 p_db_attr ++;