I would like to use my Android phone (Samsung GT-I8190) or Android tablet (Nexus 7) as a Bluetooth connected terminal for my BBB, but I’m having trouble figuring out how to do so.
It seems I have got the Bluetooth adapter running OK on the BBB since my Android devices can discover a ‘beaglebone-0’. I can also l2ping them from the BBB
as you can see below from a BBB Putty session log taken on my laptop - although the Nexus 7 apparently returns a ping packet of 0 bytes:
root@beaglebone:~# hcitool scan
Scanning …
50:32:75:30:09:93 GT-I8190
30:85:A9:D7:68:56 Nexus 7
root@beaglebone:~# l2ping 50:32:75:30:09:93
Ping: 50:32:75:30:09:93 from 00:15:83:64:6A:2F (data size 44) …
44 bytes from 50:32:75:30:09:93 id 0 time 11.96ms
44 bytes from 50:32:75:30:09:93 id 1 time 8.22ms
44 bytes from 50:32:75:30:09:93 id 2 time 7.19ms
44 bytes from 50:32:75:30:09:93 id 3 time 57.06ms
44 bytes from 50:32:75:30:09:93 id 4 time 16.04ms
44 bytes from 50:32:75:30:09:93 id 5 time 28.55ms
44 bytes from 50:32:75:30:09:93 id 6 time 19.11ms
44 bytes from 50:32:75:30:09:93 id 7 time 34.66ms
Send failed: Connection reset by peer
root@beaglebone:~# l2ping 30:85:A9:D7:68:56
Ping: 30:85:A9:D7:68:56 from 00:15:83:64:6A:2F (data size 44) …
0 bytes from 30:85:A9:D7:68:56 id 0 time 6.93ms
0 bytes from 30:85:A9:D7:68:56 id 1 time 10.07ms
0 bytes from 30:85:A9:D7:68:56 id 2 time 6.59ms
0 bytes from 30:85:A9:D7:68:56 id 3 time 6.03ms
0 bytes from 30:85:A9:D7:68:56 id 4 time 93.53ms
0 bytes from 30:85:A9:D7:68:56 id 5 time 6.92ms
0 bytes from 30:85:A9:D7:68:56 id 6 time 10.36ms
0 bytes from 30:85:A9:D7:68:56 id 7 time 6.68ms
Send failed: Connection reset by peer
root@beaglebone:~#
When I try to connect to the BBB via the Bluetooth Terminal Emulator Pro app on my Androids, I end up with ‘unable to connect device’
I figure there must be a bunch of settings I have to make in the BBB Linux config files to make things work as I want, but I have Googled far and wide
in the search for answers and can’t seem to find all the peieces of the jigsaw.
.
Suggestions gratefully received.