[maemo-developers] [maemo-developers] Creating Bluetooth connections programmatically ?

From: Johan Hedberg johan.hedberg at nokia.com
Date: Wed Feb 15 13:27:56 EET 2006
> What is the best way to programatically create and authenticate a
> bluetooth connection to a a bluetooth device ?
> 
> In this scenario the N770 is acting as the Master device. HCI commands
> such as hci_read_remote_name work but hci_create_connection seems not
> to work.

hci_create_connection requires root privileges. If you only want to do a
pairing with the remote device you can use btpair (via D-BUS or by
calling it directly from the command line):
http://www.maemo.org/platform/docs/bttools.html

Johan

More information about the maemo-developers mailing list