Lines Matching refs:attr16
151 * Parameter attr16: pointer to the attribute to read.
163 static tGATT_STATUS read_attr_value(tGATT_ATTR& attr16, uint16_t offset,
169 VLOG(1) << __func__ << " uuid=" << attr16.uuid
171 attr16.permission, sec_flag, offset, read_long);
173 tGATT_STATUS status = gatts_check_attr_readability(attr16, offset, read_long,
177 if (!attr16.uuid.Is16Bit()) {
182 uint16_t uuid16 = attr16.uuid.As16Bit();
185 *p_len = gatt_build_uuid_to_stream_len(attr16.p_value->uuid);
188 gatt_build_uuid_to_stream(&p, attr16.p_value->uuid);
194 tGATT_ATTR* val_attr = &attr16 + 1;
200 UINT8_TO_STREAM(p, attr16.p_value->char_decl.property);
201 UINT16_TO_STREAM(p, attr16.p_value->char_decl.char_val_handle);
214 tGATT_INCL_SRVC& incl_handle = attr16.p_value->incl_handle;