-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port to Linux #5
Comments
I'd be happy to try it out if you can drop in a |
just saw your comment, @hawflakes . apologies ! |
Current AdaFruit library doesn't work, I've tried on RaspBerry. At least the AdaFruit library bluez_dbus also needs modification to add manufacturerData property similar as that done in corebluetooth. trace as following: |
@elenzil how about implement the functions packets2Json and json2Packets (which is currently in libWWHAL.dylib) with Python to make WonderPy compatible with all kinds of operating systems naturally? Thanks! |
another issue is with Adafruit_BluefruitLE\bluez_dbus\device.py, actual services are not superset of expected services, so the criteria in discover need modification. actual services expected services with above modification and hardcode of robot_type and robot_mode, Raspberry can connect to Dash, then only need the library for linux to do the conversion between JSON and packets of command and response of Dash. |
(venv27) pi@pi:~ $ clearsudo python venv27/WonderPyExamples-master/tutorial/01_hello_world.py matching robots: 0 non-matching robots: 0 . only found one device |
It seems you've made some progress @liuwencong... Was it using libWWHAL.so? If so, where can I find it? I'm also trying to get WonderPy working on a Raspberry Pi but I'm still stuck on #18 unable to install WonderPy. |
Hi All - but i can provide a few details. responding to comments in #18, which i'm closing as a dupe of #5:
good guess, but slightly off. libWWHAL.dylib is loaded via the regular python library loading methods. |
My 2 cents contribution: https://github.com/adafruit/Adafruit_Python_BluefruitLE Here you can find the Adafruit_Python_BluefruitLE library for compilation in Linux (including Rasbian). Also, I have tested this unnofficial git repository and it works in ubuntu! https://github.com/IlyaSukhanov/morseapi Maybe, it can be used to improve the official version. |
this may function with the current AdaFruit library, we haven't had a chance to test.
The text was updated successfully, but these errors were encountered: