Reading from a Bluetooth device
Petter Adsen
petter at synth.no
Sun Aug 23 06:59:49 UTC 2015
On Sun, 23 Aug 2015 16:48:42 +1000
Phil <phil_lor at bigpond.com> wrote:
> 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
If you are getting error messages related to a config file, maybe it
would be a good idea to post the file?
> I think /dev/rfcomm should have been created but it hasn't.
Are the bluetooth modules loaded?
Petter
--
"I'm ionized"
"Are you sure?"
"I'm positive."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150823/615b7eed/attachment.sig>
More information about the ubuntu-users
mailing list