You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/FEATURE_BLE/targets/TARGET_CORDIO/doc/PortingGuide.md
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,17 +149,26 @@ The functions `do_initialize` and `do_terminate` handle initialization and termi
149
149
150
150
##### Memory pool
151
151
152
-
The function `get_buffer_pool_description` in the base class returns a buffer of 1040 bytes divided into different memory pools:
152
+
Porters must override the `get_buffer_pool_description` function which should return a buffer pool to use by the Cordio stack.
153
+
154
+
The function `get_default_buffer_pool_description` in the base class returns a buffer of 2250 bytes divided into different memory pools and can be used with most implementations:
153
155
154
156
| Chunk size (bytes) | Number of chunks |
155
157
|--------------------|------------------|
156
-
| 16 |8 |
157
-
| 32 |4 |
158
-
| 64 |2|
159
-
| 128 |2|
158
+
| 16 |16|
159
+
| 32 |16|
160
+
| 64 |8|
161
+
| 128 |4|
160
162
| 272 | 1 |
161
163
162
-
Porting overrides this function if the memory provided by the base class doesn't match what is required by the Bluetooth controller driver.
0 commit comments