Lines Matching defs:p_attr
624 tGATT_ATTR16 *p_attr = NULL;
631 p_attr = (tGATT_ATTR16 *) p_rcb->p_db->p_attr_list;
635 while (p_attr)
637 if (p_attr->handle > e_hdl)
642 if (p_attr->handle >= s_hdl)
645 p_msg->offset = (p_attr->uuid_type == GATT_ATTR_UUID_TYPE_16) ? GATT_INFO_TYPE_PAIR_16 : GATT_INFO_TYPE_PAIR_128;
649 if (p_msg->offset == GATT_INFO_TYPE_PAIR_16 && p_attr->uuid_type == GATT_ATTR_UUID_TYPE_16)
651 UINT16_TO_STREAM(p, p_attr->handle);
652 UINT16_TO_STREAM(p, p_attr->uuid);
654 else if (p_msg->offset == GATT_INFO_TYPE_PAIR_128 && p_attr->uuid_type == GATT_ATTR_UUID_TYPE_128 )
656 UINT16_TO_STREAM(p, p_attr->handle);
657 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *) p_attr)->uuid, LEN_UUID_128);
659 else if (p_msg->offset == GATT_INFO_TYPE_PAIR_128 && p_attr->uuid_type == GATT_ATTR_UUID_TYPE_32)
661 UINT16_TO_STREAM(p, p_attr->handle);
662 gatt_convert_uuid32_to_uuid128(p, ((tGATT_ATTR32 *) p_attr)->uuid);
683 p_attr = (tGATT_ATTR16 *)p_attr->p_next;
1257 tGATT_ATTR16 *p_attr;
1288 p_attr = (tGATT_ATTR16 *)p_rcb->p_db->p_attr_list;
1290 while (p_attr)
1292 if (p_attr->handle == handle)
1313 p_attr = (tGATT_ATTR16 *)p_attr->p_next;