public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Cc: bluez-users@lists.sf.net
Subject: Re: [Bluez-users] Address endianess?
Date: Wed, 18 Oct 2006 19:17:22 +0200	[thread overview]
Message-ID: <1161191842.30606.16.camel@localhost> (raw)
In-Reply-To: <1161027393.3860.18.camel@localhost.localdomain>

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

      reply	other threads:[~2006-10-18 17:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16 19:36 [Bluez-users] Address endianess? Per Thomas Jahr
2006-10-18 17:17 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1161191842.30606.16.camel@localhost \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sf.net \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox