-
Notifications
You must be signed in to change notification settings - Fork 2
Description
There are a number of issues getting gattlib installed on BB and RasPi. The main reason is a hardcoded version of python 34 in a boost dependency. On the Pi, pip3 install gattlib failed so using pip3 download gattlib to grab the source then manually modifying the version to python 35 which is what's installed on the Stretch-based Raspbian that is current fixed the issue. On beagle there was a lot more to do. The gattlib source had to be download manually, then the 512MB RAM is enough and leads to weird compiler crashes so you have to add a 512MB swap partition. then on the beaglebone green you have to turn on bluetooth chip with sudo bb-wl18xx-bluetooth. All that and gattlib is still unable to find the camera, despite bluetoothctl having no problems:
debian@beaglebone:~/v360/examples$ python3 find_cameras.py
Found cameras:
debian@beaglebone:~/v360/examples$ sudo bluetoothctl
[NEW] Controller D0:B5:C2:C1:DF:66 beaglebone [default]
[NEW] Device BC:66:41:70:32:E7 V360Camera
[NEW] Device B4:99:4C:4B:BF:C5 V360Camera