Home | History | Annotate | Download | only in attrib

Lines Matching refs:uuid

28 #include <bluetooth/uuid.h>
38 bt_uuid_t uuid;
46 bt_uuid_t *uuid;
65 g_free(dc->uuid);
70 bt_uuid_t *uuid, uint8_t *pdu, size_t len)
77 if (uuid == NULL) {
86 /* Discover primary service by service UUID */
88 if (uuid->type == BT_UUID16) {
89 u16 = htobs(uuid->value.u16);
93 htob128(&uuid->value.u128, &u128);
134 oplen = encode_discover_primary(range->end + 1, 0xffff, &dp->uuid,
171 bt_uuid_t uuid;
178 bt_uuid_to_uuid128(&uuid16, &uuid);
180 uuid = att_get_uuid128(&data[4]);
193 bt_uuid_to_string(&uuid, primary->uuid, sizeof(primary->uuid));
217 guint gatt_discover_primary(GAttrib *attrib, bt_uuid_t *uuid, gatt_cb_t func,
226 plen = encode_discover_primary(0x0001, 0xffff, uuid, buf, buflen);
238 if (uuid) {
239 memcpy(&dp->uuid, uuid, sizeof(bt_uuid_t));
256 bt_uuid_t uuid;
273 bt_uuid_t uuid;
279 bt_uuid_to_uuid128(&uuid16, &uuid);
281 uuid = att_get_uuid128(&value[5]);
289 if (dc->uuid && bt_uuid_cmp(dc->uuid, &uuid))
295 bt_uuid_to_string(&uuid, chars->uuid, sizeof(chars->uuid));
306 bt_uuid16_create(&uuid, GATT_CHARAC_UUID);
308 oplen = enc_read_by_type_req(last + 1, dc->end, &uuid, buf,
326 bt_uuid_t *uuid, gatt_cb_t func,
349 dc->uuid = g_memdup(uuid, sizeof(bt_uuid_t));
356 bt_uuid_t *uuid, GAttribResultFunc func,
363 plen = enc_read_by_type_req(start, end, uuid, buf, buflen);
591 sdp_uuid16_cmp(&proto, &seq->val.uuid) == 0)
630 uuid_t uuid;
636 memcpy(&uuid, list->data, sizeof(uuid));
649 memcpy(prim_uuid, &uuid, sizeof(uuid_t));