Skip to content

Conversation

chmorgan
Copy link
Contributor

No description provided.

@h2zero
Copy link
Owner

h2zero commented Sep 14, 2025

Thanks!

@chmorgan
Copy link
Contributor Author

@h2zero how does this one look?

Copy link
Owner

@h2zero h2zero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment, thanks!


When commands are sent to the stack from a different core they can experience delays in execution.
This library detects this and invokes the esp32 IPC to reroute these commands through the correct core but this also increases overhead.
This library is threadsafe. It detects calls from other cores and invokes the esp32 IPC to reroute these commands through the correct core but this also increases overhead.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer relevant, the IPC is no longer used, so just removing this will be best to prevent any confusion.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h2zero so we should remove the Nimble thread section entirely:

## Put BLE functions in a task running on the NimBLE stack core

When commands are sent to the stack from a different core they can experience delays in execution.  
This library is threadsafe. It detects calls from other cores and invokes the esp32 IPC to reroute these commands through >
Therefore it is highly recommended to create tasks for BLE to run on the same core, the macro `CONFIG_BT_NIMBLE_PINNED_TO_>
<br/>  

and then add a

## Threadsafety

This library is threadsafe.

Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h2zero thoughts on what we might put here? Would like to wrap this one up

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that is all that is needed, maybe extend it with attributes can be manipulated freely or something like that.

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.

2 participants