Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] some basic questions
@ 2005-03-23 17:19 # Björn Specht #
  2005-03-23 18:36 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: # Björn Specht # @ 2005-03-23 17:19 UTC (permalink / raw)
  To: bluez-devel

Hi all,

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?

What is the difference between the ba2str and batostr functions? Why are th=
ere 2 functions implemented?

Thanks a lot. A link or something else to read about this stuff would be ap=
preciated as well!

Bj=F6rn


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] some basic questions
  2005-03-23 17:19 [Bluez-devel] some basic questions # Björn Specht #
@ 2005-03-23 18:36 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-03-23 18:36 UTC (permalink / raw)
  To: BlueZ Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-23 18:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-23 17:19 [Bluez-devel] some basic questions # Björn Specht #
2005-03-23 18:36 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox