From: "radeX" <radex@ono.com>
To: <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] HCI forwarding
Date: Sun, 2 Jan 2005 05:29:25 +0100 [thread overview]
Message-ID: <41A7074C00357A08@resmta03.ono.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
Hi everybody:
I've been months reading the bluez source and learning about the bluetooth
specification, plus other documents (the correct coding style, Wireless
Technologies Congress 2003 and other documents by Marcel holtmann)
I'm developing an application to connect two Bluetooth-enabled phones via
internet using two Bluetooth-enabled PCs both connected to internet. I mean
that I can transmit files and play Bluetooth multiplayer games to my friend
that is 25 miles away like if it were in my device's Bluetooth radio range.
(I know that ping times would be very ugly!).
I use a raw socket as hcidump does, then I send the data trough TCP to the
other peer, when received is sent over Bluetooth hoping that the other
device receives it, this is more complex than it seems since bluez handles
and answers all HCI requests, i.e (when a device performs a SDP request to
find a service UUID bluez handles and answers the request) but this is not
correct for my application, hci responses and data acks may be received via
TCP from the other peer, in other words: no bluez support, only HCI frames
sniffing, sending, receiving and transmitting. Now my questions are:
- Can I send HCI frames with a raw socket ?
- How can I tell the bluez stack not to answer HCI requests
(receiving only, leave the sends to me).
- Is there a better way to make this application?
Any help would be greatly appreciated.
Thanks in advance and happy new year.
[-- Attachment #2: Type: text/html, Size: 6474 bytes --]
next reply other threads:[~2005-01-02 4:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-02 4:29 radeX [this message]
2005-01-02 11:39 ` [Bluez-devel] HCI forwarding Marcel Holtmann
2005-01-02 16:58 ` radeX
2005-01-02 17:32 ` Marcel Holtmann
2005-01-02 19:02 ` radeX
2005-01-02 19:21 ` Marcel Holtmann
2005-01-02 20:26 ` radeX
2005-01-02 20:45 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2005-02-10 12:41 [Bluez-devel] Several bluetooth dongles at time Marcel Holtmann
2005-02-10 13:10 ` [Bluez-devel] HCI Forwarding radeX
2005-02-10 14:47 ` 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=41A7074C00357A08@resmta03.ono.com \
--to=radex@ono.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox