Editing Documentation/Maemo 5 Developer Guide/Using Connectivity Components/Maemo Connectivity

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.

Warning: This page is 60 kilobytes long; some browsers may have problems editing pages approaching or longer than 32kb. Please consider breaking the page into smaller sections.

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 510: Line 510:
=== Discovering devices ===
=== Discovering devices ===
-
Maemo provides a D-Bus interface for displaying a Bluetooth device search dialog (You can find a list of available Bluetooth D-Bus calls [[#D-Bus Connectivity UI Interface|below]]).  
+
Maemo provides D-BUS interface for displaying bluetooth device search dialog (You can find list of available Bluetooth D-BUS calls [[#D-Bus Connectivity UI Interface|here]]).  
Devices can be searched with following steps:
Devices can be searched with following steps:
-
# Set up a D-Bus connection
+
# Set up D-BUS connection
-
# call <code>bt_ui.search_req</code> to show the dialog - you can filter the results
+
# call bt_ui.search_req to show dialog - you can filter the results
-
# catch <code>bt_ui.search_result</code> signal
+
# catch bt_ui.search_result signal
-
# process the results
+
# process results
-
Here is a working example in C:
+
 
 +
Here's working example in C how this is done:
<source lang="c">
<source lang="c">
-
// Bluetooth discovery example - bluetooth libraries will not work in the SDK!
+
//Bluetooth discovery example - bluetooth libraries won't work in SDK!
#include <hildon/hildon-program.h>
#include <hildon/hildon-program.h>
#include <dbus/dbus.h>
#include <dbus/dbus.h>

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)