Active Topics

 


Reply
Thread Tools
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#1
Ok, this is a shot in the dark, but would there be a way to bridge several tablets together to play multiplayer games, and if so, which games could take advantage of a setup like this? Just curious.
__________________
Popular Sci-Fi author and creator of the Earthfleet Series.
www.realmsofimagination.net
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#2
Does it have to be Bluetooth, should be possible to implement with zeroconf and wifi
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#3
yes, the bluetooth PAN (personal area network) profile is exactly for this. you can connect up to 7 devices. One is master and six other can join. There is no UI for this but the functionality is there. It can be programatically created by d-bus calls. see http://wiki.bluez.org/wiki/Network
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following 4 Users Say Thank You to fanoush For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#4
Ok, someone, make it happen!*

Please?

* I mean, please put together a graphical thingy that will handle the dbus calls...

In fact, if someone tells me what the dbus calls are to do the following, I could whip up a GUI using qwerty12's tiny Zenity port:
  • list bluetooth devices, preferably devices that are set up to be "master" or "server" of a BT-PAN
  • request a connection to a "master" bluetooth device as a "client" (using name or ID from the list above) using BT-PAN
  • become a "master" of a BT-PAN network
  • accept an incoming request from a "client"
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2009-03-11 at 19:49.
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#5
Oh, well, yeah, that'll work.

Now, are there any network games that could be played between tablets?
__________________
Popular Sci-Fi author and creator of the Earthfleet Series.
www.realmsofimagination.net
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
Originally Posted by qole View Post
  • list bluetooth devices, preferably devices that are set up to be "master" or "server" of a BT-PAN
From http://bluez.sourceforge.net/contrib/HOWTO-PAN:

(If my understanding is correct, below has you searching as a client for "Group ad-hoc Network (GN) controllers" - I think GN is the correct one - makes more sense than "Network Access Point (NAP)" on a tablet)
Code:
pand --role PANU --search --service GN --sdp
You'll need bluez-utils-test installed to use pand.

Originally Posted by qole View Post
  • request a connection to a "master" bluetooth device as a "client" (using name or ID from the list above) using BT-PAN
Connecting is:
Code:
pand --connect <address>
I'm not the best of scripters so maybe you could get the list of GN's outputted and then use read? (Hoping there's an easier way and just remembering you're using zenity >.<, well "zenity --entry" then? )

Originally Posted by qole View Post
  • become a "master" of a BT-PAN network
Code:
pand --listen --role GN
(bnep module is said to be needed - not true, checked nokia_2420_defconfig and it's built into kernel)

But it does say that /etc/bluetooth/hcid.conf has to be edited to have the N800 being a "master" on its outgoing connections.
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#7
Originally Posted by qole View Post
In fact, if someone tells me what the dbus calls are to do the following
syntax usable from shell is here
https://garage.maemo.org/plugins/scm...an&view=markup
the rest is reading bluez wiki

Originally Posted by qole View Post
[*]list bluetooth devices, preferably devices that are set up to be "master" or "server" of a BT-PAN
this is tricky from shell to do via dbus as the discovery is asynchronous and you need to listen to events to get the list. I've made such scan as part of kbdd.tar.gz on my site (dbus-bluez-scan), it was written in Vala (just copied some example). or sdptool is solution too but it is not preinstalled on the tablet


Originally Posted by qole View Post
[*]request a connection to a "master" bluetooth device as a "client" (using name or ID from the list above) using BT-PAN[*]become a "master" of a BT-PAN network[*]accept an incoming request from a "client"
These three are doable, last two are same thing - start network service, first is connect as client, boh parts are in maemo-pan script linked above.

Additional thing is to decide which IP adresses to use, either hardcode them or autogenerate (from some part of server name? 10.x.x.x is private network with many variants) or run dhcp on server/master side.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.

Last edited by fanoush; 2009-03-12 at 22:47.
 

The Following User Says Thank You to fanoush For This Useful Post:
Posts: 100 | Thanked: 38 times | Joined on Apr 2008
#8
How i wish I knew the things that Fanoush knows.....

This is pretty sweet tho. Its stuff like this that makes the n810 so cool. People are like, hey can we do this, and the answer is pretty often yes, its just a matter of time and energy.

@Qole, how goes the gui?

@fanoush - you should set up online classes. you would get less pm's im sure (teach a man to fish yadda yadda)

Cruelkix
 
Lord Raiden's Avatar
Posts: 1,562 | Thanked: 349 times | Joined on Jun 2008
#9
lol. I'm sitting here watching my brain cells smoke reading all the stuff you need to do to make this work. So I think I'll just wait until someone builds an app that'll uber simplify this, just like USB control did for usb devices. ^_^;;
__________________
Popular Sci-Fi author and creator of the Earthfleet Series.
www.realmsofimagination.net
 
Posts: 15 | Thanked: 11 times | Joined on Jun 2008
#10
I'm with you Raiden. At least you seem to have gotten the ball rolling, this is some potentially great functionality.
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:48.