-
Notifications
You must be signed in to change notification settings - Fork 35
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
How to wrap this up into a nice API #3
Comments
I am goind to write some python examples in athe next 2 days but I'm no programmer so I'm not the best person to write an API. Please understand that I'm reverse engineering the BOOST and writing short examples at the same time. A small background on BT BLE is needed if you want to use my information on your own right now. For example, I tend to use handles in my code, it's easier. But handles can change whenever the firmware changes so a good practice is to scan your device, read all uuids and get the handle for the uuid you want to use. |
I already started a python package. |
I took existing python examples and managed to make them work. That's positive experience. Anyway this is awesome project and I wanted to say words of appreciation to its authors! |
Thanks! Great that you could manage to use the examples. As I stated, I'm not really a programmer. Other people have joined the project and they do have a much better programming background/skills/whatever than my self and even started their own projects, that was one of the main ideas when this project started and I'm very happy that several people have made good use of it. You're right , the protocol lacks a good explanation. Things have gone quite fast lately and last two weeks it has been impossible for me to keep up with all the information updates. Will try soon. But please note that until LEGO releases an official SDK there will be some dark parts - some commands were found by pure luck, like the WeDo 2.0 motor. Even with a SDK, I feel that we will still be missing something. The WeDo 2.0 SDK doesn't properly document this new Power Functions 2.0 devices (WeDo 2.0 and BOOST... and probably something more still to be released). if by any chance you start your own python library please give us a link so we can add to the README file (if you don't mind, of course). People will surely benefit if they have a better option than my library (which, by the way, is being target for my MINDSTORMS EV3 and Raspberry Pi's). |
Here's my repo: https://github.com/undera/pylegoboost |
Added. Another BLE library based on BlueZ... have you used it before? I wonder if t works well on low power armel like the EV3. |
No, this is my first attempt to do anything with Bluetooth. Well, I can rename repo into pylgbst - will it help? |
For me the name is fine. It's your project, you do what you want :) |
Sure I understand I'm free. But your advice is highly appreciated. |
I have renamed it, just in case: https://github.com/undera/pylgbst |
What would it take to wrap up all this low level code into a nice python package? We have enough info for that yet?
The text was updated successfully, but these errors were encountered: