Skip to content

Resync to esp-nimble master+patches #15

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

Merged
merged 11 commits into from
May 2, 2020

Conversation

h2zero
Copy link
Owner

@h2zero h2zero commented Apr 23, 2020

This puts this library back in sync with the esp-nimble and esp-idf upstream repos and applies some important patches from mynewt/nimble master that are not yet in esp-nimble. Also esp-nimble PR#7 has been applied, although not yet approved/merged, has been well tested to work.

All patch files used are in the applied_patches folder for reference.

These patches address some performance and reliability issues as well as issues brought up in this repo.

@h2zero h2zero force-pushed the resync-to-esp-nimble-master+patches branch from e59df0e to 1c0aafd Compare April 28, 2020 21:09
esp-idf @be8c847
esp-nimble@0a1604a
@h2zero h2zero force-pushed the resync-to-esp-nimble-master+patches branch from e3ca80e to 0aaa558 Compare April 30, 2020 04:00
h2zero added 10 commits May 2, 2020 13:37
Removed previouly un-merged patches for unbonded CCCD storage and
`ble_hs_misc_conn_chan_find_reqd()` null pointer exception fix.

Applied offically merged versions:
mynewt-nimble #730 - nimble/host: Fix setting connection flags after pairing
mynewt-nimble #804 - nimble/gap: Fix storing CCC for bonded devices.
mynewt-nimble #802 - nimble/host: Add return parameter to the ble_hs_misc_conn_chan_find_reqd()

Retaining un-merged:
esp-nimble #7 - Allow host to resolve peer RPA without using local RPA.
The NimBLE core library that this project is based on has been patched
to improve functionality. This new folder contains the patch files applied
that have not yet been merged offically into the esp-nimble fork.
The offical-merged folder contains patches that are offically applied to the upstream
NimBLE core, the un-merged folder contains the patches not yet merged anywhere.
The NimBLE controller does not make use of the Minimum and Maximum Connection Event lengths
but the ESP32 controller does. The NimBLE default values create error conditions in the ESP32
controller when connecting to multiple peers with connection intervals.

This patch sets those parameters to 0 to allow the controller to manage the time window.
This updates the esp-nimble #7 patch to the latest PR.
@h2zero h2zero force-pushed the resync-to-esp-nimble-master+patches branch from 0aaa558 to 9eca05b Compare May 2, 2020 19:47
@h2zero h2zero merged commit 6916308 into master May 2, 2020
@h2zero h2zero deleted the resync-to-esp-nimble-master+patches branch May 2, 2020 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant