oFono provides a mobile telephony (GSM/UMTS) mobile telephony stack.
On AGL Demonstration Platform, it compiles along the BlueZ Bluetooth stack, most notably to provide HFP (Hands-Free Profile) functionality.
Project site : https://01.org/ofono
AGL Demonstration Platform aims to provide a user-friendly and automated way to pair Bluetooth devices, and make/receive phone calls.
As for now, we can manually achieve this with shell commands (original source from here).
hciconfig -a
rfkill unblock bluetooth hciconfig hci0 up
[bluetooth]# power on
[bluetooth]# agent on [bluetooth]# default-agent
[bluetooth]# discoverable on [bluetooth]# pairable on
[bluetooth]# scan on
[bluetooth]# devices
bluetooth]# pair smartphone_mac_address
agent]PIN code: ####
[agent]Authorize service service_uuid (yes/no): yes
[bluetooth]# trust smartphone_mac_address
[bluetooth]# connect smarphone_mac_address
bluetooth]# info smarphone_mac_address
[bluetooth]# quit