Lines Matching full:uuid
110 struct uuid_def *service; /* Service UUID, if known */
117 struct uuid_def *service; /* Service UUID, if known */
336 * Parse a UUID.
340 static void sdp_uuid_printf(uuid_t *uuid, struct attrib_context *context, int indent)
342 if (uuid) {
343 if (uuid->type == SDP_UUID16) {
344 uint16_t uuidNum = uuid->value.uuid16;
366 } else if (uuid->type == SDP_UUID32) {
370 if (!(uuid->value.uuid32 & 0xffff0000)) {
371 uint16_t uuidNum = uuid->value.uuid32;
381 indent, indent_spaces, uuid->value.uuid32, uuidDef->name);
384 indent, indent_spaces, uuid->value.uuid32);
385 } else if (uuid->type == SDP_UUID128) {
393 memcpy(&data0, &uuid->value.uuid128.data[0], 4);
394 memcpy(&data1, &uuid->value.uuid128.data[4], 2);
395 memcpy(&data2, &uuid->value.uuid128.data[6], 2);
396 memcpy(&data3, &uuid->value.uuid128.data[8], 2);
397 memcpy(&data4, &uuid->value.uuid128.data[10], 4);
398 memcpy(&data5, &uuid->value.uuid128.data[14], 2);
405 printf("%.*sEnum type of UUID not set\n",
408 printf("%.*sNull passed to print UUID\n",
474 sdp_uuid_printf(&sdpdata->val.uuid, context, indent);
623 switch (data->val.uuid.type) {
627 if (uuid16_names[i].num == data->val.uuid.value.uuid16) {
632 printf("UUID16 0x%04x - %s\n", data->val.uuid.value.uuid16, def->name);
634 printf("UUID16 0x%04x\n", data->val.uuid.value.uuid16);
638 if (!(data->val.uuid.value.uuid32 & 0xffff0000)) {
639 uint16_t value = data->val.uuid.value.uuid32;
647 printf("UUID32 0x%08x - %s\n", data->val.uuid.value.uuid32, def->name);
649 printf("UUID32 0x%08x\n", data->val.uuid.value.uuid32);
662 printf("%02x", (unsigned char ) data->val.uuid.value.uuid128.data[i]);
667 printf("UUID type 0x%02x\n", data->val.uuid.type);
1003 uuid_t *uuid = (uuid_t *)value;
1005 sdp_uuid2strn(uuid, UUID_str, MAX_LEN_UUID_STR);
1006 sdp_svclass_uuid2strn(uuid, ServiceClassUUID_str, MAX_LEN_SERVICECLASS_UUID_STR);
1007 if (uuid->type != SDP_UUID128)
1010 printf(" UUID 128: %s\n", UUID_str);
1024 sdp_uuid2strn(&p->val.uuid, UUID_str, MAX_LEN_UUID_STR);
1025 sdp_proto_uuid2strn(&p->val.uuid, str, sizeof(str));
1026 proto = sdp_uuid_to_proto(&p->val.uuid);
1087 sdp_uuid2strn(&desc->uuid, UUID_str, MAX_LEN_UUID_STR);
1088 sdp_profile_uuid2strn(&desc->uuid, str, MAX_LEN_PROFILEDESCRIPTOR_UUID_STR);
1180 sdp_uuid16_create(&profile.uuid, SERIAL_PORT_PROFILE_ID);
1253 sdp_uuid16_create(&profile.uuid, DIALUP_NET_PROFILE_ID);
1315 sdp_uuid16_create(&profile.uuid, FAX_PROFILE_ID);
1372 sdp_uuid16_create(&profile.uuid, LAN_ACCESS_PROFILE_ID);
1434 sdp_uuid16_create(&profile.uuid, HEADSET_PROFILE_ID);
1498 sdp_uuid16_create(&profile.uuid, HEADSET_PROFILE_ID);
1563 sdp_uuid16_create(&profile.uuid, HANDSFREE_PROFILE_ID);
1634 sdp_uuid16_create(&profile.uuid, HANDSFREE_PROFILE_ID);
1702 sdp_uuid16_create(&profile.uuid, SAP_PROFILE_ID);
1774 sdp_uuid16_create(&profile[0].uuid, OBEX_OBJPUSH_PROFILE_ID);
1849 sdp_uuid16_create(&profile[0].uuid, PBAP_PROFILE_ID);
1918 sdp_uuid16_create(&profile[0].uuid, OBEX_FILETRANS_PROFILE_ID);
1983 sdp_uuid16_create(&profile[0].uuid, BASIC_PRINTING_PROFILE_ID);
2048 sdp_uuid16_create(&profile[0].uuid, NAP_PROFILE_ID);
2125 sdp_uuid16_create(&profile[0].uuid, GN_PROFILE_ID);
2190 sdp_uuid16_create(&profile[0].uuid, PANU_PROFILE_ID);
2321 sdp_uuid16_create(&profile[0].uuid, HID_PROFILE_ID);
2463 sdp_uuid16_create(&profile[0].uuid, HID_PROFILE_ID);
2589 sdp_uuid16_create(&profile[0].uuid, CIP_PROFILE_ID);
2651 sdp_uuid16_create(&profile[0].uuid, CORDLESS_TELEPHONY_PROFILE_ID);
2711 sdp_uuid16_create(&profile[0].uuid, ADVANCED_AUDIO_PROFILE_ID);
2772 sdp_uuid16_create(&profile[0].uuid, ADVANCED_AUDIO_PROFILE_ID);
2833 sdp_uuid16_create(&profile[0].uuid, AV_REMOTE_PROFILE_ID);
2897 sdp_uuid16_create(&profile[0].uuid, AV_REMOTE_PROFILE_ID);
3412 sdp_uuid32_create(&profile.uuid, 0x8e771302); // Headset
3413 //sdp_uuid32_create(&profile.uuid, 0x8e771303); // Phone
3435 unsigned char *uuid;
3771 { "uuid", 1, 0, 'u' },
3778 "\tbrowse [--tree] [--raw] [--xml] [--uuid uuid] [--l2cap] [bdaddr]\n";
3807 printf("Invalid uuid %s\n", optarg);
3845 "SERVICE is a name (string) or UUID (0x1002)\n";
3858 unsigned char *uuid = NULL;
3907 /* Convert class name to an UUID */
3912 uuid = service[i].uuid;
3915 if (!class && !uuid) {
3929 sdp_uuid128_create(&context.group, uuid);