linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Cc: eng11084@nus.edu.sg
Subject: Re: [Bluez-users] Definition of hci_conn_info_req
Date: Fri, 02 Dec 2005 11:33:35 +0100	[thread overview]
Message-ID: <1133519615.11226.13.camel@blade> (raw)
In-Reply-To: <94e407f00512020222g42375059h491249e313cea536@mail.gmail.com>

Hi Arpit,

> Another basic question.The statement below is a request to establish
> connection with a remote device,right?

no, it is not.

> struct hci_conn_info_req *cr;
> cr = malloc(sizeof(*cr) + sizeof(struct hci_conn_info));
> 
> Now,is &cr->bdaddr supposed to be the remote device bluetooth address?
> 
> When I convert this value to string and output it, it doesn't give me
> the correct value for the remote bluetooth device. It returns
> 08:04:9A:AC:00:00. Doesn't make sense to me.

Depends on how you convert the address. Use ba2str().

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-12-02 10:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-02 10:22 [Bluez-users] Definition of hci_conn_info_req Arpit Rai
2005-12-02 10:33 ` Marcel Holtmann [this message]
2005-12-02 10:54   ` Arpit Rai
2005-12-02 11:01     ` Marcel Holtmann

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=1133519615.11226.13.camel@blade \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=eng11084@nus.edu.sg \
    /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;
as well as URLs for NNTP newsgroup(s).