public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Address endianess?
@ 2006-10-16 19:36 Per Thomas Jahr
  2006-10-18 17:17 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Per Thomas Jahr @ 2006-10-16 19:36 UTC (permalink / raw)
  To: bluez-users

Hi, 

Is there a standard ordering of the bytes in a bluetooth address?  

On my linux box (2.6.12.1):
# hcitool dev 
Devices:
        hci0    00:02:72:C0:7C:2B

But when my phone (Sony Ericsson K800i) discovers my server, I get this
address for the server:

2B7CC0720200 

This is from the Java bluetooth api on the device. And yes, I have to
reverse that address in order to connect to the server.

--
Thanks 
Per Thomas

 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] Address endianess?
  2006-10-16 19:36 [Bluez-users] Address endianess? Per Thomas Jahr
@ 2006-10-18 17:17 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2006-10-18 17:17 UTC (permalink / raw)
  To: BlueZ users; +Cc: bluez-users

Hi Per Thomas,

> Is there a standard ordering of the bytes in a bluetooth address?  
> 
> On my linux box (2.6.12.1):
> # hcitool dev 
> Devices:
>         hci0    00:02:72:C0:7C:2B
> 
> But when my phone (Sony Ericsson K800i) discovers my server, I get this
> address for the server:
> 
> 2B7CC0720200 
> 
> This is from the Java bluetooth api on the device. And yes, I have to
> reverse that address in order to connect to the server.

the Bluetooth device address (BD_ADDR for short) is an IEEE address and
it is always transmitted in reverse order.

Regards

Marcel



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2006-10-18 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16 19:36 [Bluez-users] Address endianess? Per Thomas Jahr
2006-10-18 17:17 ` Marcel Holtmann

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