Thread (2 messages) flat view 2 messages, 2 authors, 2012-01-19

uuid_t and bt_uuid_t

From: Brian Gix <hidden>
Date: 2012-01-19 00:11:45

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help