Skip to contentSkip to conversation

Ubuntu 10.04 - BlueZ 4.60 - Console-only BlueZ setup

DISCUSSION elroy 2 participants 3 messages Nov 8, 2010 – Nov 10, 2010 Bluetooth drivers

lore
Share & tools
lore

elroy

author
#0 lore raw

Hi.

I'm trying to setup a Ubuntu 10.04 Server with a BT USB adapter to be able to connect and send/receive files from a cellphone.

I am trying to do this setup via standard bash shell console only.

The problem I seem to be running into, is unlike the version of BlueZ in Ubuntu 7.04, I cannot access MAN pages for BlueZ config files (main.conf/etc), and am struggling to find anything that resembles orderly documentation on the 'Net.

So far, I can get this:

bluetoothd8643?: pin_code_request (sba=00:10:60:32:3A:93, dba=00:18:0F:DE:98:8D) bluetoothd8643?: No agent available for 0 request

It appears as though I need some form of D-Bus software to communicate to BlueZ through - this seems to require a GUI - is there any other simpler way to do the Pairing/Config via xxx.conf files without having to revert back to bluez-compat?

I have been documenting my progress so far, to try to aid others following my path - this may be useful to elaborate on what I am doing and have achieved so far.

Regards,

Elroy Liddington.

#1 lore raw

Hi Elroy,

Quoted 22 lines · elroy

Hi.

I'm trying to setup a Ubuntu 10.04 Server with a BT USB adapter to be able to connect and send/receive files from a cellphone.

I am trying to do this setup via standard bash shell console only.

The problem I seem to be running into, is unlike the version of BlueZ in Ubuntu 7.04, I cannot access MAN pages for BlueZ config files (main.conf/etc), and am struggling to find anything that resembles orderly documentation on the 'Net.

So far, I can get this:

bluetoothd8643?: pin_code_request (sba=00:10:60:32:3A:93, dba=00:18:0F:DE:98:8D)
bluetoothd8643?: No agent available for 0 request

Quoted 4 lines

It appears as though I need some form of D-Bus software to communicate to BlueZ through - this seems to require a GUI - is there any other simpler way to do the Pairing/Config via xxx.conf files without having to revert back to bluez-compat?

Did you try simple-agent? It is a python scrypt in the bluez test/folder that doesn't require any gui. I don't if Ubuntu installs it, but if you download the source code from the web page or the git repo you will find it. Probably with this agent you will be able to pair your cell phone.

Quoted 14 lines

I have been documenting my progress so far, to try to aid others following my path - this may be useful to elaborate on what I am doing and have achieved so far.

Regards,

Elroy Liddington.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 4 lines · José Antonio Santos Cadenas

Hi Elroy,

Quoted 16 lines

Did you try simple-agent? It is a python scrypt in the bluez test/folder that doesn't require any gui. I don't if Ubuntu installs it, but if you download the source code from the web page or the git repo you will find it. Probably with this agent you will be able to pair your cell phone.

Quoted 9 lines

I have been documenting my progress so far, to try to aid others following my path - this may be useful to elaborate on what I am doing and have achieved so far.

Regards,

Elroy Liddington.

Cheers Jose.

I'll add this gem to the page I'm documenting this on.

Looks like those other scripts would be useful too.

How would I be able to help in regards to knocking up a basic BlueZ MAN page etc so that others could at least be pointed in the right direction on where to go for help/docs?

Regards,

Elroy Liddington.