Open paulcox opened 6 years ago
I am not supporting this project anymore and won't release further updates. Do you want to create a fork with updates?
I can do that. No way I can convince you to keep on this? At least until I can get your programs working on my end? I figured out that I needed to increase the timeout for your programs to work on Pi/Beagle. Now it find the camera (actually it's two devices it find that are both v360 and one seems to work). But am still struggling to the programs to run completely. The next hurdle is that python3 (I'm on 3.5.3) now won't let the the urlopen() function work anymore, complaining about https security. If I try the workaround to bypass the SSL: CERTIFICATE_VERIFY_FAIL then I get another error DH_KEY_TOO_SMALL !! Frustrating. It's connecting to bluetooth and wifi, I'm so close but really stuck on this one.
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: