-
Notifications
You must be signed in to change notification settings - Fork 186
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
Another 5.x release with new features? #240
Comments
I think if you don't upgrade NimBLE-Arduino to version 2.0.0, the 5.4 release should still work fine with all features. |
I will test later, but I think I did and my compile broke, but I don't have that info handy right now. I will report back over the weekend. |
Thanks @Sab1e-GitHub ... But I think there is a bunch of confusion over NimBLE-Arduino v2.0.0. The link for NimBLE-Arduino v2.0.0 in the ESP-32-BLE-Gamepad README.md is 404 and I came across post about how h2zero might have mixed up some release parts. I am not sure what branch or tag might actually be NimBLE-Arduino v2.0.0 to target to download or test with. I was just hoping we could possible have a release between 6.0 and 5.4 which would include your updates with Output reports. I did test a basic sketch with ESP32-BLE-Gamepad v5.4 and NimBLE-Arduino v1.4.3 and it seems the error I was running into was the missing comma, which I fixed locally. Really enjoying PlatformIO with VS Code as a working environment, which means I can switch Arduino libraries and releases per project and even make fixes in the local library like I did above. Still going to ask, no, beg for a v5.5 release until NimBLE-Arduino v2.0.0 is public released and possible supported by PlatformIO ... because I am lazy ... Maybe I should just make the v5.5 and send a PR. |
You're welcome @LeeNX First, regarding the issue with NimBLE-Arduino v2.0.0, it seems that h2zero hasn’t released a 2.0.0 tag on GitHub. However, he has updated the 2.0.0 version in the Arduino Library Manager, which is indeed confusing. If you prefer not to use the Arduino Library Manager to get the latest library, you can directly clone his repository. Additionally, I apologize for misunderstanding your request. I forgot that we haven’t released a 5.x version with the Output Report functionality. If you specifically need the 5.4 version with Output functionality, you can use the following command to roll back to a previous commit cdf05b3:
This is the simplest method. If you indeed want to create and submit a Pull Request, you can roll back to this commit and proceed from there. |
Haha, thanks @Sab1e-GitHub you really enabling my lazy practices. Also, not need for apologises, we all working together to make things better. Took me a few different approaches until I found a way to work with this. Using PlatformIO, I was able to pull this commit hash and also make a long fix -
Needing a comma at the end. More for anybody else that lands here. My platformio.ini
My needs are currently covered and going to play and test further, but for ease of use and possibly other users of the library, might be worth an intermediate release that is working with little effort as possible. |
Now you just showing off ... hahah ... ;-) Thanks @Sab1e-GitHub , ... I have not even got to work through my current tests. Mmm, that is an interesting idea, never have I thought about a PR for a downgrade/earlier release. I am guessing make a branch and hopefully @lemmingDev could sync that branch into the main repo and then make a release from there, without making the latest or something ... but now this thread is getting way off track. I and possible other people now have multiple ways to poke at this. Let's see where it |
Just for completeness, I was able to compile the test sketch using @Sab1e-GitHub release for v5.6, thanks @Sab1e-GitHub . project platformio.ini
Now to test more than just compile, need to flash this and do real world testing. |
This is really amazing, @LeeNX ! |
Hi @LeeNX |
@Sab1e-GitHub I hate it when elves eat my homework ;-) Thanks for the heads up, I will update my project and test further. I had called it a day. Will pick up my testing tomorrow. I am hoping I can come up with a python script to show off this feature, but it might take a few days. |
Hi All Let me know what changes I should make to best sort this out The NimBLE v2.0.0 release without actual link on GitHub really threw a spanner in the works |
Hi @lemmingDev , If you want this repository to support both NimBLE Arduino 1.4.3 and 2.0.0, you could try adding precompiled conditional statements to check the version and adapt the code accordingly. The code might look like this:
However, I believe the best solution is still to have the user update NimBLE to version 2.0.0. |
Please can we get a 5.x release still using NimBLE-Arduino 1.4.3?
I really would like to test the OutPut feature, but currently can't unless I cut my own release in my fork. Looking to test with PlatformIO. I think a really cool test would be sending text to a screen on the gamepad.
The text was updated successfully, but these errors were encountered: