All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] C Program for Getting Link Quality
Date: Wed, 09 Nov 2005 15:02:32 +0100	[thread overview]
Message-ID: <1131544952.5544.36.camel@blade> (raw)
In-Reply-To: <94e407f00511090452m7f86753bq6f1ba05a8653379f@mail.gmail.com>

Hi Arpit,

> Yes, I forgot to include the icotl.h as well.Anyway, for I changed the
> definition of: cr = (hci_conn_info_req *)malloc(sizeof(*cr) +
> sizeof(struct hci_conn_info)); to this: cr = (struct
> hci_conn_info_req*) malloc(sizeof(struct hci_conn_info_req) +
> sizeof(struct hci_conn_info)); . This doesn't give me the error any
> more.
> 
> However, running the compiled program results in:  Get connection info
> failed

why don't you make your program GPL and copy the code from hcitool for
getting the link quality. And use a decent coding style and not HTML
mail, because this give me a headache.

Regards

Marcel




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2005-11-09 14:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-08  9:31 [Bluez-devel] C Program for Getting Link Quality Arpit Rai
2005-11-08  9:46 ` Collin R. Mulliner
2005-11-08 12:49 ` Marcel Holtmann
2005-11-08 17:58   ` Arpit Rai
2005-11-08 18:17     ` Marcel Holtmann
2005-11-09 12:52       ` Arpit Rai
2005-11-09 14:02         ` 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=1131544952.5544.36.camel@blade \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.