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>
Subject: Re: [Bluez-users] HCI socket listen
Date: Sun, 17 Jun 2007 09:20:55 +0200	[thread overview]
Message-ID: <1182064855.30934.53.camel@aeonflux> (raw)
In-Reply-To: <533660.67769.qm@web38512.mail.mud.yahoo.com>

Hi Robert,

> Can a HCI socket listen for connections like l2cap and rfcomm ?? In my
> case it throws followiing warning and does not listen:
> 
> GLib-WARNING **: giounix.c:400Error while getting flags for FD: Bad
> file descriptor (9)
> 
> In my program I do the following:
> 
> I Open and Bind the HCI socket (using hci_open_dev)and listen for
> connections.

the HCI socket is not working this way. Use L2CAP if you wanna receive
incoming connections and data.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2007-06-17  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-16 13:21 [Bluez-users] HCI socket listen Robert Schmidt
2007-06-17  7:20 ` Marcel Holtmann [this message]
2007-06-17 13:33   ` Robert Schmidt

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=1182064855.30934.53.camel@aeonflux \
    --to=marcel@holtmann.org \
    --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