Ported SerialBLEInterface to NimBLE from Bluedroid to support C3 variants #1568
+342
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Bluetooth companion firmware for the Xiao C3 crashes trying to create the BLE characteristics. (SerialBLEInterface.cpp:44)
This issue seems to be related to an incompatibility between the C3 and the Bluedroid stack.
This patch creates a variant of the SerialBLEInterface using the NimBLE stack for the C3 to use.
Since MeshCore only uses BLE, it may be worth switching other variants to the NimBLE stack to save on heap/flash usage.
Fixes #1471
Tested with:
ESP32 C3 Super Miniandebyte E22 900M30SLilyGo T3S3 sx1262