Return-Path: Subject: Re: [Bluez-devel] some basic questions From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: <20050323181913.12fe9a15@BigWilma> References: <20050323181913.12fe9a15@BigWilma> Content-Type: text/plain Message-Id: <1111603018.1916.11.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 23 Mar 2005 19:36:58 +0100 Hi Bjoern, > what is the baswap - function used for? I had a look at the bluetooth.c and it is just changing the order of the MAC-address. > > Is there some documentation available where I can read about the functions and why/what they are used for? the BD_ADDR is transmitting in reverse order. > What is the difference between the ba2str and batostr functions? Why are there 2 functions implemented? The *2str function do the baswap() and operate on a buffer. The *tostr functions allocate a buffer and don't do the baswap(). Regards Marcel ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel