User Tools

Site Tools


subsystem:connectivity:ofono

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
subsystem:connectivity:ofono [2015/11/12 16:13]
mbc created
subsystem:connectivity:ofono [2016/09/19 06:41] (current)
ellegonzalez
Line 1: Line 1:
 ====== oFono ====== ====== oFono ======
 +
 +**oFono** provides a mobile telephony ([[https://​en.wikipedia.org/​wiki/​GSM|GSM]]/​[[https://​en.wikipedia.org/​wiki/​Universal_Mobile_Telecommunications_System|UMTS]]) mobile telephony stack.
 +
 +On AGL Demonstration Platform, it compiles along the [[http://​www.bluez.org/​|BlueZ]] [[https://​en.wikipedia.org/​wiki/​Bluetooth|Bluetooth]] stack, most notably to provide [[https://​developer.bluetooth.org/​TechnologyOverview/​Pages/​HFP.aspx|HFP (Hands-Free Profile)]] functionality.
 +
 +Project site : [[https://​01.org/​ofono|https://​01.org/​ofono]]
 +
 +
 +----
 +
 +===== AGL Demonstration Platform =====
 +
 +AGL Demonstration Platform aims to provide a user-friendly and automated way to pair Bluetooth devices, and make/​receive [[http://​qwikfix.co.uk/​dvla-contact/​|phone calls]].
 +
 +As for now, we can manually achieve this with shell commands (original source from [[https://​wiki.tizen.org/​wiki/​Connecting_to_a_Smartphone_with_Bluetooth_and_Making_Phone_Calls|here]]).
 +
 +
 +-----
 +
 +==== Manually pairing a Bluetooth smartphone with shell commands ====
 +
 +  * Turn on Bluetooth on the smartphone and make it visible for other devices
 +
 +  * Plug the Bluetooth USB dongle into the device with Tizen:​Common
 +
 +  * Verify that the Bluetooth USB dongle is detected :
 +<​code>​hciconfig -a</​code>​
 +
 +  * Bring up the Bluetooth USB dongle :
 +<​code>​rfkill unblock bluetooth
 +hciconfig hci0 up</​code>​
 +
 +  * Power on the Bluetooth controller :
 +<​code>​[bluetooth]#​ power on</​code>​
 +
 +  * Enable the agent and set it as default :
 +<​code>​[bluetooth]#​ agent on
 +[bluetooth]#​ default-agent</​code>​
 +
 +  * Set the Bluetooth controller as discoverable for 3 minutes and pairable :
 +<​code>​[bluetooth]#​ discoverable on
 +[bluetooth]#​ pairable on</​code>​
 +
 +  * Scan for other device to retrieve the smartphone :
 +<​code>​[bluetooth]#​ scan on</​code>​
 +
 +  * Find out the MAC address of the smartphone :
 +<​code>​[bluetooth]#​ devices</​code>​
 +
 +  * Pair with the smartphone :
 +<​code>​bluetooth]#​ pair smartphone_mac_address</​code>​
 +
 +  * Enter 4 digit PIN if prompted. Enter the same PIN on the smartphone :
 +<​code>​agent]PIN code: ####</​code>​
 +
 +  * Allow the service authorization if requested :
 +<​code>​[agent]Authorize service service_uuid (yes/no): yes</​code>​
 +
 +  * Trust the smartphone :
 +<​code>​[bluetooth]#​ trust smartphone_mac_address</​code>​
 +
 +  * Connect to the smartphone : 
 +<​code>​[bluetooth]#​ connect smarphone_mac_address</​code>​
 +
 +  * Verify that the smartphone is successfully connected and display information about it with the following command :
 +<​code>​bluetooth]#​ info smarphone_mac_address</​code>​
 +
 +  * The device has been successfully paired with the smartphone and you can now exit bluetoothctl :
 +<​code>​[bluetooth]#​ quit</​code>​
subsystem/connectivity/ofono.1447344836.txt.gz ยท Last modified: 2015/11/12 16:13 by mbc