All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Gix <bgix@codeaurora.org>
To: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: uuid_t and bt_uuid_t
Date: Wed, 18 Jan 2012 16:11:45 -0800	[thread overview]
Message-ID: <4F175FC1.3060403@codeaurora.org> (raw)


Can anybody tell me why we have to almost-but-not-quite equivalent 
storage mechanisms for UUIDs in (user-space) BlueZ?  This is accompanied 
by multiple sets of utilities as well.  It looks like one is targeting 
SDP and one isn't.  However, I need to occasionally translate from one 
form to the other.

They both include a "type" which is a u8 in one instance, and an enum in 
the other.  And then they both include a union for the u16, u32 and u128.

Is one suppose to be in network order, and the other native?  I can't 
tell just from looking at the various usages.

-- 
Brian Gix
bgix@codeaurora.org
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum

             reply	other threads:[~2012-01-19  0:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19  0:11 Brian Gix [this message]
2012-01-19  7:46 ` uuid_t and bt_uuid_t Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F175FC1.3060403@codeaurora.org \
    --to=bgix@codeaurora.org \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.