|
1 | 1 | # Arduino command line and platformio config options |
2 | 2 |
|
3 | | -`CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED` |
4 | | - |
5 | | - If defined, NimBLE Client functions will not be included. |
6 | | -- Reduces flash size by approx. 7kB. |
7 | | -<br> |
8 | | - |
9 | | -`CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED` |
| 3 | +`CONFIG_BT_NIMBLE_MAX_CONNECTIONS` |
10 | 4 |
|
11 | | -If defined, NimBLE Scan functions will not be included. |
12 | | -- Reduces flash size by approx. 26kB. |
13 | | -<br> |
| 5 | +Sets the number of simultaneous connections (esp controller max is 9) |
| 6 | +- Default value is 3 |
| 7 | +<br/> |
14 | 8 |
|
15 | | -`CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED` |
| 9 | +`CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU` |
16 | 10 |
|
17 | | -If defined NimBLE Server functions will not be included. |
18 | | -- Reduces flash size by approx. 16kB. |
19 | | -<br> |
| 11 | +Sets the default MTU size. |
| 12 | +- Default value is 255 |
| 13 | +<br/> |
20 | 14 |
|
21 | | -`CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED` |
| 15 | +`CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME` |
22 | 16 |
|
23 | | -If defined, NimBLE Advertising functions will not be included. |
24 | | -- Reduces flash size by approx. 5kB. |
25 | | -<br> |
| 17 | +Set the default device name |
| 18 | +- Default value is "nimble" |
| 19 | +<br/> |
26 | 20 |
|
27 | 21 | `CONFIG_BT_NIMBLE_DEBUG` |
28 | 22 |
|
29 | 23 | If defined, enables debug log messages from the NimBLE host |
30 | 24 | - Uses approx. 32kB of flash memory. |
31 | | -<br> |
| 25 | +<br/> |
32 | 26 |
|
33 | 27 | `CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT` |
34 | 28 |
|
35 | 29 | If defined, NimBLE host return codes will be printed as text in debug log messages. |
36 | 30 | - Uses approx. 7kB of flash memory. |
37 | | -<br> |
| 31 | +<br/> |
38 | 32 |
|
39 | 33 | `CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT` |
40 | 34 |
|
41 | 35 | If defined, GAP event codes will be printed as text in debug log messages. |
42 | 36 | - Uses approx. 1kB of flash memory. |
43 | | -<br> |
| 37 | +<br/> |
44 | 38 |
|
45 | 39 | `CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT` |
46 | 40 |
|
47 | 41 | If defined, advertisment types will be printed as text while scanning in debug log messages. |
48 | 42 | - Uses approx. 250 bytes of flash memory. |
49 | | -<br> |
| 43 | +<br/> |
50 | 44 |
|
51 | | -`CONFIG_BT_NIMBLE_PINNED_TO_CORE` |
| 45 | +`CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE` |
52 | 46 |
|
53 | | -Sets the core the NimBLE host stack will run on |
54 | | -- Options: 0 or 1 |
55 | | -<br> |
| 47 | +Set the default appearance. |
| 48 | +- Default value is 0x00 |
| 49 | +<br/> |
56 | 50 |
|
57 | | -`CONFIG_BT_NIMBLE_TASK_STACK_SIZE` |
| 51 | +`CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED` |
| 52 | + |
| 53 | +If defined, NimBLE Client functions will not be included. |
| 54 | +- Reduces flash size by approx. 7kB. |
| 55 | +<br/> |
58 | 56 |
|
59 | | -Set the task stack size for the NimBLE core. |
60 | | -- Default is 4096 |
61 | | -<br> |
| 57 | +`CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED` |
62 | 58 |
|
| 59 | +If defined, NimBLE Scan functions will not be included. |
| 60 | +- Reduces flash size by approx. 26kB. |
| 61 | +<br/> |
63 | 62 |
|
64 | | -`CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL` |
| 63 | +`CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED` |
65 | 64 |
|
66 | | -Sets the NimBLE stack to use external PSRAM will be loaded |
67 | | -- Must be defined with a value of 1; Default is CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL 1 |
68 | | -<br> |
| 65 | +If defined NimBLE Server functions will not be included. |
| 66 | +- Reduces flash size by approx. 16kB. |
| 67 | +<br/> |
69 | 68 |
|
70 | | -`CONFIG_BT_NIMBLE_MAX_CONNECTIONS` |
| 69 | +`CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED` |
71 | 70 |
|
72 | | -Sets the number of simultaneous connections (esp controller max is 9) |
73 | | -- Default value is 3 |
74 | | -<br> |
75 | | - |
76 | | -`CONFIG_BT_NIMBLE_MAX_BONDS` |
| 71 | +If defined, NimBLE Advertising functions will not be included. |
| 72 | +- Reduces flash size by approx. 5kB. |
| 73 | +<br/> |
| 74 | + |
| 75 | +`CONFIG_BT_NIMBLE_MAX_BONDS` |
77 | 76 |
|
78 | 77 | Sets the number of devices allowed to store/bond with |
79 | 78 | - Default value is 3 |
80 | | -<br> |
| 79 | +<br/> |
81 | 80 |
|
82 | | -`CONFIG_BT_NIMBLE_MAX_CCCDS` |
| 81 | +`CONFIG_BT_NIMBLE_MAX_CCCDS` |
83 | 82 |
|
84 | 83 | Sets the maximum number of CCCD subscriptions to store |
85 | 84 | - Default value is 8 |
86 | | -<br> |
87 | | - |
88 | | -`CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME` |
| 85 | +<br/> |
89 | 86 |
|
90 | | -Set the default device name |
91 | | -- Default value is "nimble" |
92 | | -<br> |
| 87 | +`CONFIG_BT_NIMBLE_RPA_TIMEOUT` |
| 88 | + |
| 89 | +Sets the random address refresh time in seconds. |
| 90 | +- Default value is 900 |
| 91 | +<br/> |
| 92 | + |
| 93 | +`CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT` |
| 94 | + |
| 95 | +Set the number of msys blocks For prepare write & prepare responses. This may need to be increased if |
| 96 | +you are sending large blocks of data with a low MTU. E.g: 512 bytes with 23 MTU will fail. |
| 97 | +- Default value is 12 |
| 98 | +<br/> |
| 99 | + |
| 100 | +`CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL` |
| 101 | + |
| 102 | +Sets the NimBLE stack to use external PSRAM will be loaded |
| 103 | +- Must be defined with a value of 1; Default is CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL 1 |
| 104 | +<br/> |
| 105 | + |
| 106 | +`CONFIG_BT_NIMBLE_PINNED_TO_CORE` |
| 107 | + |
| 108 | +Sets the core the NimBLE host stack will run on |
| 109 | +- Options: 0 or 1 |
| 110 | +<br/> |
| 111 | + |
| 112 | +`CONFIG_BT_NIMBLE_TASK_STACK_SIZE` |
| 113 | + |
| 114 | +Set the task stack size for the NimBLE core. |
| 115 | +- Default is 4096 |
| 116 | +<br/> |
93 | 117 |
|
0 commit comments