Skip to content

Commit 7a4402f

Browse files
chmorganh2zero
authored andcommitted
Usage_tips.md - Note that the library is threadsafe.
1 parent f396fcd commit 7a4402f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/Usage_tips.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
# Usage Tips
22

3-
## Put BLE functions in a task running on the NimBLE stack core
3+
## Threadsafety
44

5-
When commands are sent to the stack from a different core they can experience delays in execution.
6-
This library detects this and invokes the esp32 IPC to reroute these commands through the correct core but this also increases overhead.
7-
Therefore it is highly recommended to create tasks for BLE to run on the same core, the macro `CONFIG_BT_NIMBLE_PINNED_TO_CORE` can be used to set the core.
8-
<br/>
5+
This library is threadsafe. Attribues can be manipulated freely.
96

107
## Do not delete client instances unless necessary or unused
118

0 commit comments

Comments
 (0)