From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <41A7074C00357A08@resmta03.ono.com> (added by postmaster@resmta03.ono.com) From: "radeX" To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C4F08C.061B5A00" Subject: [Bluez-devel] HCI forwarding Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun, 2 Jan 2005 05:29:25 +0100 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C4F08C.061B5A00 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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. ------=_NextPart_000_0000_01C4F08C.061B5A00 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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.

------=_NextPart_000_0000_01C4F08C.061B5A00-- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel