Hi Giovanni,
Thanks again for BLEOTA and for adding Arduino Library Manager support. While testing integration as a dependency for our ProtoBot library, I noticed a packaging/versioning issue that may affect users installing through Arduino Library Manager.
From the release notes:
- v1.0.3: “Support only BlueDroid”
- v1.0.4: “Support last version of Nimble”
Our existing code uses the classic BLEDevice / Bluedroid API, so v1.0.3 works well. However, upgrading to v1.0.4 breaks compatibility unless the project is migrated to NimBLE. The concern is that, even if a dependent library pins BLEOTA to v1.0.3, users may still update BLEOTA via the Arduino IDE update prompt and unintentionally install v1.0.4, which changes compatibility.
Would you consider keeping the current BLEDevice / Bluedroid version as the main BLEOTA release line, and publishing the NimBLE version as a separate library/repo (e.g. BLEOTA_NimBLE)? I noticed you already have a separate branch for it. Keeping them separate would ensure that both the Bluedroid and NimBLE versions remain compatible in their latest releases, especially since Arduino Library Manager always installs the newest version and doesn’t reliably support selecting specific versions.
I believe this would make Arduino Library Manager usage much safer and clearer for end users.
Thanks again.
Carl
Hi Giovanni,
Thanks again for BLEOTA and for adding Arduino Library Manager support. While testing integration as a dependency for our ProtoBot library, I noticed a packaging/versioning issue that may affect users installing through Arduino Library Manager.
From the release notes:
Our existing code uses the classic BLEDevice / Bluedroid API, so v1.0.3 works well. However, upgrading to v1.0.4 breaks compatibility unless the project is migrated to NimBLE. The concern is that, even if a dependent library pins BLEOTA to v1.0.3, users may still update BLEOTA via the Arduino IDE update prompt and unintentionally install v1.0.4, which changes compatibility.
Would you consider keeping the current BLEDevice / Bluedroid version as the main BLEOTA release line, and publishing the NimBLE version as a separate library/repo (e.g. BLEOTA_NimBLE)? I noticed you already have a separate branch for it. Keeping them separate would ensure that both the Bluedroid and NimBLE versions remain compatible in their latest releases, especially since Arduino Library Manager always installs the newest version and doesn’t reliably support selecting specific versions.
I believe this would make Arduino Library Manager usage much safer and clearer for end users.
Thanks again.
Carl