[maemo-developers] [maemo-developers] bi-di BT-link between two 770s

From: Johannes Eickhold jeickhold at gmx.de
Date: Wed Nov 9 04:47:02 EET 2005
On Sun, 2005-11-06 at 15:32 +0200, Aleksandr Koltsoff wrote:
> Hello
> 
> Since my BT skills are non-existant, I'm asking for help for this project. I'm 
> thinking of implementing a simple util library that would provide two-way 
> stream-communication between games running on two 770s (same game obviously).
> 
> How should I proceed in this? The following issues come into mind, but I'm 
> looking for someone who would have concrete information on how to solve these 
> problems:
> 1) When starting the game, how does the end-user "see" the other 770-device? 
> ie, is pairing necessary, and is there a GUI for this (connection damager?)
                                                                    ^
Hehe, that was a good one :).

> 2) What do I need to do to make 770 visible to the other 770 (assuming there 
> is a GUI for this on the other side). Can this be done programmatically 
> without requiring user intervention?

This is called inquiry scan mode and has to be activated
in /etc/bluetooth/hcid.conf on the 770.

> 3) Is using RFCOMM-sockets between the devices a suitable transport? (I'm 
> looking for something akin to TCP). It can be assumed that only one program 
> will be active on a device at one time that needs this, so I guess BT-MAC 
> address is enough to connect?

I just wrote a HowTo for setting up IP connections over bluetooth with
the 770. http://maemo.org/maemowiki/HOWTO-BluetoothNetworking

> 4) Can all of this be done with a normal application installed via the AI on a 
> stock 770? (not requiring the user to reflash from the sales sw version)
> 
> So, mostly the questions arise from my lacking experience with BT-programming 
> and my lack of experience with the 770 sw.
> 
> If you know whether the problems above can be solved, I'm interested in 
> hearing from you. I plan to release the utility lib under lgpl if it's 
> possible to implement at all (I know that technically anything is possible, 
> but question 4 might stop this from being possible).

I would be interested in hearing from you about any successes.

Greets, Jonek.
--
http://770.hexbox.de/blog


More information about the maemo-developers mailing list