Lines Matching refs:p_attr
602 tGATT_ATTR16 *p_attr = NULL; in gatt_build_find_info_rsp() local
609 p_attr = (tGATT_ATTR16 *) p_rcb->p_db->p_attr_list; in gatt_build_find_info_rsp()
613 while (p_attr) in gatt_build_find_info_rsp()
615 if (p_attr->handle > e_hdl) in gatt_build_find_info_rsp()
620 if (p_attr->handle >= s_hdl) in gatt_build_find_info_rsp()
623 …p_msg->offset = (p_attr->uuid_type == GATT_ATTR_UUID_TYPE_16) ? GATT_INFO_TYPE_PAIR_16 : GATT_INFO… in gatt_build_find_info_rsp()
627 … if (p_msg->offset == GATT_INFO_TYPE_PAIR_16 && p_attr->uuid_type == GATT_ATTR_UUID_TYPE_16) in gatt_build_find_info_rsp()
629 UINT16_TO_STREAM(p, p_attr->handle); in gatt_build_find_info_rsp()
630 UINT16_TO_STREAM(p, p_attr->uuid); in gatt_build_find_info_rsp()
632 …else if (p_msg->offset == GATT_INFO_TYPE_PAIR_128 && p_attr->uuid_type == GATT_ATTR_UUID_TYPE_128 … in gatt_build_find_info_rsp()
634 UINT16_TO_STREAM(p, p_attr->handle); in gatt_build_find_info_rsp()
635 ARRAY_TO_STREAM (p, ((tGATT_ATTR128 *) p_attr)->uuid, LEN_UUID_128); in gatt_build_find_info_rsp()
637 … else if (p_msg->offset == GATT_INFO_TYPE_PAIR_128 && p_attr->uuid_type == GATT_ATTR_UUID_TYPE_32) in gatt_build_find_info_rsp()
639 UINT16_TO_STREAM(p, p_attr->handle); in gatt_build_find_info_rsp()
640 gatt_convert_uuid32_to_uuid128(p, ((tGATT_ATTR32 *) p_attr)->uuid); in gatt_build_find_info_rsp()
661 p_attr = (tGATT_ATTR16 *)p_attr->p_next; in gatt_build_find_info_rsp()
1200 tGATT_ATTR16 *p_attr; in gatts_process_attribute_req() local
1231 p_attr = (tGATT_ATTR16 *)p_rcb->p_db->p_attr_list; in gatts_process_attribute_req()
1233 while (p_attr) in gatts_process_attribute_req()
1235 if (p_attr->handle == handle) in gatts_process_attribute_req()
1256 p_attr = (tGATT_ATTR16 *)p_attr->p_next; in gatts_process_attribute_req()