Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: References: <45EAAB70.60302@apnet.pl> <1173029470.5752.6.camel@aeonflux.holtmann.net> Date: Mon, 05 Mar 2007 21:22:44 +0100 Message-Id: <1173126164.6638.90.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-devel] sdp_uuid32_to_uuid128, lack of declaration Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Milosz, > > > Why there are no sdp_uuid32_to_uuid128 declaration in sdp_lib.h > > > (bluez-libs-devel 3.7.1)? It would be useful, but in such situation I > > > cannot use it... > > > > I think that is simply because nobody needed them before. Feel free to > > implement them and send a patch. > > As far, as I can see it's already implemented, just not exposed in header file. > > > However UUID32 is the most unused UUID > > type. In general you should either use UUID16 for well known profile and > > service identifiers or UUID128 for your own identifiers. > > I've started to implement jsr82. When I create java object representing UUID > it's most convenient to pass 16 byte array from native C to Java. So, when I > iterate over service attributes, have to properly convert SDP_UUID32 to uuid128. > That's why I need to use sdp_uuid32_to_uuid128 (which is already implemented and > working). Only problem is ugly warning "implicit declaration". then send a patch to fix this. Sounds like a really simple bug. Regards Marcel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel