This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
subsystem:connectivity:ofono [2015/11/12 16:30] mbc |
subsystem:connectivity:ofono [2016/09/19 06:41] (current) ellegonzalez |
||
---|---|---|---|
Line 12: | Line 12: | ||
===== AGL Demonstration Platform ===== | ===== AGL Demonstration Platform ===== | ||
- | AGL Demonstration Platform aims to provide a user-friendly and automated way to pair Bluetooth devices, and make/receive phone calls. | + | 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]]) : | + | 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 | * Turn on Bluetooth on the smartphone and make it visible for other devices | ||
+ | |||
* Plug the Bluetooth USB dongle into the device with Tizen:Common | * Plug the Bluetooth USB dongle into the device with Tizen:Common | ||
Line 39: | Line 45: | ||
* Scan for other device to retrieve the smartphone : | * Scan for other device to retrieve the smartphone : | ||
<code>[bluetooth]# scan on</code> | <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> |