Editing Bluetooth PAN

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
Personal Area Networking Profile of Bluetooth protocol allows you to connect your Maemo device via another device to another network such as the Internet.
+
This allows you to use your Maemo device to use [[Bluetooth]] PAN to connect via another device to another network such as the Internet.
The Connection manager is used for this purpose, exactly the same way as you connect to a WLAN network or to a cell phone dial-up connection ([[Bluetooth DUN]]). Most Windows Smartphones use this method of connection when used as a modem via Bluetooth.
The Connection manager is used for this purpose, exactly the same way as you connect to a WLAN network or to a cell phone dial-up connection ([[Bluetooth DUN]]). Most Windows Smartphones use this method of connection when used as a modem via Bluetooth.
Line 5: Line 5:
If you have [[Nokia N900]] you may instead use it as PAN server to allow an other device such as a Nokia N8x0 to utilize Bluetooth PAN.
If you have [[Nokia N900]] you may instead use it as PAN server to allow an other device such as a Nokia N8x0 to utilize Bluetooth PAN.
-
== Bluetooth NAP ==
+
== Installing ==
-
 
+
-
NAP stands for Network Access Point. It's a PAN profile for serving incoming connections.
+
-
 
+
-
=== Installing ===
+
For the [[Nokia N900]] pan is disabled by default.
For the [[Nokia N900]] pan is disabled by default.
Line 25: Line 21:
To connect to the Internet through this connection you must make sure the "Internet Connection Sharing" application is running on your phone and has a connection. Select the "Dummy Network" from the tablet network list and enjoy anywhere Internet!
To connect to the Internet through this connection you must make sure the "Internet Connection Sharing" application is running on your phone and has a connection. Select the "Dummy Network" from the tablet network list and enjoy anywhere Internet!
-
===Sharing your connection over bluetooth [n900]===
+
==Sharing your connection over bluetooth [n900]==
Using [http://maemo.org/packages/view/genwall genwall] for internet connection sharing over bluetooth, follow:([http://talk.maemo.org/showpost.php?p=1454885&postcount=62 Linux]/[http://talk.maemo.org/showpost.php?p=1454885&postcount=63 Windows]).
Using [http://maemo.org/packages/view/genwall genwall] for internet connection sharing over bluetooth, follow:([http://talk.maemo.org/showpost.php?p=1454885&postcount=62 Linux]/[http://talk.maemo.org/showpost.php?p=1454885&postcount=63 Windows]).
Line 123: Line 119:
-
== Bluetooth PANU ==
+
===Bluetooth PANU===
 +
 
 +
PANU stands for "Private Area Network User". This is the Bluetooth device that uses either the NAP or the GN service.
-
PANU is a client role for the PAN profile. Here's the way how to make it work.
+
To initiate connection from [[Nokia N900]] you can follow these steps.
-
Install bluez-test from SDK tools repository:
+
It is better to compile binaries in scratchbox. See [[Documentation/Maemo 5 Final SDK Installation]]
-
echo 'deb http://repository.maemo.org/ fremantle/tools free non-free' >> /etc/apt/sources.list
+
-
apt-get install bluez-test
+
-
You may now remove or comment SDK repository:
+
To be able to copy files from scratchbox to your N900 you should install rsync and make sure you can copy files to your phone.
-
perl -pi -e 's,^(deb http://repository.maemo.org/ fremantle/tools .*)$,#\1,' /etc/apt/sources.list
+
-
And now you can use your N900 device as a bluetooth networking client. Below are some commands.
+
Compile bluetooth stack utilities:
 +
apt-get source bluez
 +
apt-get build-dep bluez
 +
apt-get --build source bluez
 +
Copy pand binary to your device:
 +
rsync -av bluez-4.60/debian/bluez-test/usr/bin/pand n900:/usr/local/bin/
 +
Now you can use your N900 device as a NAP client. Below are some helpful commands.
Connect to another bluetooth device that provides NAP service:
Connect to another bluetooth device that provides NAP service:
-
  pand -c <bdaddr>
+
  pand -nc <bdaddr>
List connections:
List connections:
  pand -l
  pand -l

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)