From: Marcel Holtmann <marcel@holtmann.org>
To: Mohan K <kmohangda@gmail.com>
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] trying to send data at HCI level
Date: Tue, 22 Feb 2005 10:56:21 +0100 [thread overview]
Message-ID: <1109066181.8506.6.camel@pegasus> (raw)
In-Reply-To: <7aa80ced0502220057379ef414@mail.gmail.com>
Hi Mohan,
> Thank you for your valuable information. I am new to
> Bluetooth. Anyhow I have written L2CAP level send & recv program
> successfully. In the L2CAP level, on the sending end, I created a
> socket and transmitted the data using "send" function. Whereas on recv
> side I created a small server program, which listens for connection
> and receives the data using "read" function. I am trying to use the
> same functions in the HCI level also.
> Can I use the same send and recv functions in the HCI
> level after creating the HCI RAW sockets? If it is not possible, could
> you please tell me which function I have to use to send and recv the
> data in the HCI level?
this won't work, because HCI is a raw socket and L2CAP is sequential
packet socket. If you wanna use HCI then you have to conform to the H:4
specification and send everything in this format.
Regards
Marcel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-02-22 9:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-22 6:24 [Bluez-users] trying to send data at HCI level Mohan K
2005-02-22 7:05 ` Marcel Holtmann
2005-02-22 7:19 ` Mohan K
2005-02-22 8:03 ` Marcel Holtmann
[not found] ` <7aa80ced050222002338e57eaf@mail.gmail.com>
[not found] ` <7aa80ced0502220057379ef414@mail.gmail.com>
2005-02-22 9:56 ` Marcel Holtmann [this message]
[not found] ` <7aa80ced0502220231161c0a3@mail.gmail.com>
2005-02-22 10:39 ` Marcel Holtmann
[not found] ` <7aa80ced050222024634dce552@mail.gmail.com>
2005-02-22 10:51 ` Fwd: " Marcel Holtmann
2005-02-25 8:25 ` BZ Benny
2005-02-25 9:03 ` Marcel Holtmann
2005-02-24 15:22 ` BZ Benny
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=1109066181.8506.6.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=kmohangda@gmail.com \
/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.