Reading from a Bluetooth device
Phil
phil_lor at bigpond.com
Sun Aug 23 09:15:57 UTC 2015
On 23/08/15 17:53, Petter Adsen wrote:
It all worked correctly Petter the first time. I unplugged the arduino
to see what the range would be and now I cannot get /dev/rfcomm created
again.
So, at what point should /dev/rfcomm0 be created?
The first time that I ran this command "bluetooth-agent --adapter hci0"
a dialog box popped up asking me for the password. This doesn't happen
now. Maybe the password is only required once? The returned message
reads something like device already exists.
The next command is "sudo rfcomm connect 0&". The first time, and only
time that any of this worked, I had /dev/rfcomm0. Now I don't.
All of this is happening under Kubuntu where I can see that hc-05 is
paired with my laptop.
Can you think of any reason that this would only work once? Does
something need to be reset? I wouldn't have thought so.
--
Regards,
Phil
More information about the ubuntu-users
mailing list