Address endianess?
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:2BBut 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Per Thomas,
Quoted 7 lines
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
Quoted 7 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users