Closed 10on closed 2 years ago
Meanwhile the bluetooth protocoll for BuWizz 3 are published. https://buwizz.com/BuWizz_3.0_API_3.6_web.pdf Would be great, if imurvai could add BuWizz 3 to this app.
Hi, Yes, the protocol has been finally published :) I've already started working on adding support for BW3 in this branch: https://github.com/imurvai/brickcontroller2/tree/BuWizz3Integration You mentioned you are willing to help me. As I don't have any BuWizz3 can I ask at some point to test the app?
Yes, I'll glad to help you. I've one buwizz 3.0 device, android and ios phones and different lego electrics.
Hi, In theory I've added the basic usage of buwizz3 into the app. Can you compile and deploy it to your phone? Alternatively you can download the apk from here: https://www.dropbox.com/s/kcmub79cgijvdkw/BrickController2_2_9.apk?dl=0
I can try it tomorrow! Thanks!
Thanks for the feedback. It's a good first step that the app can find the BW3 at least :) Most probably it doesn't find the bluetooth service I specified.
I built another one with some fixes: https://www.dropbox.com/s/hgw6si2qj45hwlr/BrickController2_2_9a.apk?dl=0
Connected! But no any reaction on interaction with sliders. I tried connect different electrics
Thanks for trying it out. Maybe it requires some additional setting up after connection. I'll try to figure it out from the documentation.
Hi, I found something that might caused the motors not working and fixed that in this build: https://www.dropbox.com/s/ueu9w9exz8iqcjr/BrickController2_2_9c.apk?dl=0 Could you try it out?
Reaction on sliders - perfect! All six ports woks - PF and PU. Tested with leds and motors.
On nearest weekend I should be can test app with gamepad and all settings (stepper, servo etc).
if you give recomendations - will be good. I'm not great test engeneer :)
PS - Not displayed battery level and HW/FW version.
Hi, that's a super good news, thanks for testing. However it is only the basic functions I've implemented so far, so only the normal motor functions are working for PU motors (no servo or stepper yet). Of curse you can use the PF servo instead.
Is there some progress? I am sorry to not volunteer as a tester (i dont want to install an apk). So i'd like to know when the app in the store could be updated for the buwizz 3.
I think I can upload the app to the store in the weekend or early next week. But be aware that the BW3 support is not complete, the PU motors work only in normal mode yet.
I've tied to check BW3 on my UWP branch but device scan crashes: The given key '9' was not present in the dictionary.
due to missing advertisment data:
The exception can be solved via TryGetValue
instead of []
, but this will leave Buwizz3 device undisovered at all.
Will keep you updated, still change, there is wrong BLE configuration for my UWP clone.
UPDATE:
Resolved, my UWP BLE scanner implementation required CompleteLocalName
advertisment data to be configured as well. Now it works, B3 device is found and both PF and PU ports seems to be working.
Good job, looking forward to have it officially supported.
Hi, good to hear it's working with UWP as well. And yes, according to the documentation the 0x09 block should present in the advertisement data, but anyway it would be better to check if it exists. So I'll add that check in the next release. BTW, yesterday I uploaded the current one to the playstore, it's under review at the moment.
Hey everyone is tehe any progress for teh bw3 PU servo support? :)
Tried to add support based on API doc and experiments, see #74 . When action is configured as SERVO, PU absolute positioning mode is used. For STEPPER relative position is initialized after connection and increased. Both requires proper PU motor (e.g. not M one). Still not sure if API is used properly as servo/stepper configured motors are whistling little bit. And possibly stepper initialization seems to be still fragile.
How can I get access to TestFlight to test the servo for the Buwizz 3.0?
Version 3.1 is on TestFlight now.
it works fine on my Buwizz 3👌🏽
That's great to hear. Thanks for the feedback.
Thank you very much. Your effort is appreciated.
Version 3.1 is on TestFlight now.
Hi! Possible to have acces to apk for Android for testing? Thanks 👍🏼
This should be part of the recently released app version 3.1, shouldn't it? The only thing I see to be done is missing update of README
.
This should be part of the recently released app version 3.1, shouldn't it? The only thing I see to be done is missing update of
README
.
Yes 3.1 is on Google Play thanks
Hi, thanks for your app. It’s really cool. I’ve buwizz 3.0 and basicly programming skill (I works as web developer). I can help for add buwizz 3.0 support, but don’t know what need do for it. I can be helpful for this project?