Reading from a Bluetooth device

Phil phil_lor at bigpond.com
Sun Aug 23 06:48:42 UTC 2015


Thank you for reading this.

I'm attempting to read from a HC-05 device connected to an Arduino.

I've used hcitool scan to find the mac address and entered that into 
/etc/bluetooth/rfcomm.conf.

To pair I've run the following:

bluetooth-agent --adapter hci0 1234&

Which results in the following:

Can't register agent
Already Exists

So I now try to connect to HC-05:

sudo rfcomm connect 0&

syntax error line 7
syntax error line 7
syntax error line 11
syntax error line 11
syntax error line 11
syntax error line 14
syntax error line 14
syntax error line 14
syntax error line 18
syntax error line 18
syntax error line 18
Can't find a config entry for rfcomm0

Those lines are the lines that I uncommented in /etc/bluetooth/rfcomm.config

I think /dev/rfcomm should have been created but it hasn't.

I've read through several How-Tos on the subject which are all basically 
the same.

I must be missing something obvious. Can anyone see what it might be?

-- 
Regards,
Phil




More information about the ubuntu-users mailing list