NimBLE-Arduino 2.2.0
Loading...
Searching...
No Matches
syscfg.h
1
5#ifndef H_SYSCFG_
6#define H_SYSCFG_
7
8#ifdef ESP_PLATFORM
9#include "nimble/esp_port/port/include/esp_nimble_cfg.h"
10#else
11#include "ext_nimble_config.h"
12
13#ifndef CONFIG_BT_NIMBLE_ENABLED
14#define CONFIG_BT_NIMBLE_ENABLED 1
15#endif
16
17#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE
18#define MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE (70)
19#endif
20
21#ifndef MYNEWT_VAL_BLE_LL_CONN_PHY_DEFAULT_PREF_MASK
22#define MYNEWT_VAL_BLE_LL_CONN_PHY_DEFAULT_PREF_MASK (0x07)
23#endif
24
25#ifndef MYNEWT_VAL_BLE_LL_ROLE_BROADCASTER
26#ifndef CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
27#define MYNEWT_VAL_BLE_LL_ROLE_BROADCASTER (1)
28#else
29#define MYNEWT_VAL_BLE_LL_ROLE_BROADCASTER (0)
30#endif
31#endif
32
33#ifndef MYNEWT_VAL_BLE_LL_ROLE_CENTRAL
34#ifndef CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
35#define MYNEWT_VAL_BLE_LL_ROLE_CENTRAL (1)
36#else
37#define MYNEWT_VAL_BLE_LL_ROLE_CENTRAL (0)
38#endif
39#endif
40
41#ifndef MYNEWT_VAL_BLE_LL_ROLE_OBSERVER
42#ifndef CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED
43#define MYNEWT_VAL_BLE_LL_ROLE_OBSERVER (1)
44#else
45#define MYNEWT_VAL_BLE_LL_ROLE_OBSERVER (0)
46#endif
47#endif
48
49#ifndef MYNEWT_VAL_BLE_LL_ROLE_PERIPHERAL
50#ifndef CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
51#define MYNEWT_VAL_BLE_LL_ROLE_PERIPHERAL (1)
52#else
53#define MYNEWT_VAL_BLE_LL_ROLE_PERIPHERAL (0)
54#endif
55#endif
56
57#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE
58#define MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE (251)
59#endif
60
61#ifndef MYNEWT_VAL_BLE_LL_SCAN_AUX_SEGMENT_CNT
62#define MYNEWT_VAL_BLE_LL_SCAN_AUX_SEGMENT_CNT (0)
63#endif
64
65#ifndef MYNEWT_VAL_BLE_SM_SC_ONLY
66#define MYNEWT_VAL_BLE_SM_SC_ONLY (0)
67#endif
68
69#ifndef MYNEWT_VAL_BLE_SM_SC_LVL
70#define MYNEWT_VAL_BLE_SM_SC_LVL (0)
71#endif
72
73#ifndef MYNEWT_VAL_BLE_HCI_VS_OCF_OFFSET
74#define MYNEWT_VAL_BLE_HCI_VS_OCF_OFFSET (0)
75#endif
76
77#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT
78#define MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT (4)
79#endif
80
81#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT
82#define MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT (16)
83#endif
84
85#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS__native
86#define MYNEWT_VAL_BLE_TRANSPORT_HS__native (1)
87#endif
88
89#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS
90#define MYNEWT_VAL_BLE_TRANSPORT_HS (1)
91#endif
92
93#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL__native
94#define MYNEWT_VAL_BLE_TRANSPORT_LL__native (1)
95#endif
96
97#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL
98#define MYNEWT_VAL_BLE_TRANSPORT_LL (1)
99#endif
100
101#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT
102#define MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT (10)
103#endif
104
105#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_HS_COUNT
106#define MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_HS_COUNT (10)
107#endif
108
109#ifndef MYNEWT_VAL_BLE_LL_HCI_VS
110#define MYNEWT_VAL_BLE_LL_HCI_VS (1)
111#endif
112
113#endif /* !ESP_PLATFORM */
114
115#if 0
116
124#define MYNEWT_VAL(_name) MYNEWT_VAL_ ## _name
125#define MYNEWT_VAL_CHOICE(_name, _val) MYNEWT_VAL_ ## _name ## __ ## _val
126
127#ifndef MYNEWT_VAL_TINYCRYPT_SYSINIT_STAGE
128#define MYNEWT_VAL_TINYCRYPT_SYSINIT_STAGE (200)
129#endif
130
131#ifndef MYNEWT_VAL_TINYCRYPT_UECC_RNG_TRNG_DEV_NAME
132#define MYNEWT_VAL_TINYCRYPT_UECC_RNG_TRNG_DEV_NAME ("trng")
133#endif
134
135#ifndef MYNEWT_VAL_TINYCRYPT_UECC_RNG_USE_TRNG
136#define MYNEWT_VAL_TINYCRYPT_UECC_RNG_USE_TRNG (0)
137#endif
138
139/*** @apache-mynewt-core/hw/bsp/native */
140#ifndef MYNEWT_VAL_BSP_SIMULATED
141#define MYNEWT_VAL_BSP_SIMULATED (1)
142#endif
143
144/*** @apache-mynewt-core/hw/hal */
145#ifndef MYNEWT_VAL_HAL_ENABLE_SOFTWARE_BREAKPOINTS
146#define MYNEWT_VAL_HAL_ENABLE_SOFTWARE_BREAKPOINTS (1)
147#endif
148
149#ifndef MYNEWT_VAL_HAL_FLASH_MAX_DEVICE_COUNT
150#define MYNEWT_VAL_HAL_FLASH_MAX_DEVICE_COUNT (0)
151#endif
152
153#ifndef MYNEWT_VAL_HAL_FLASH_VERIFY_BUF_SZ
154#define MYNEWT_VAL_HAL_FLASH_VERIFY_BUF_SZ (16)
155#endif
156
157#ifndef MYNEWT_VAL_HAL_FLASH_VERIFY_ERASES
158#define MYNEWT_VAL_HAL_FLASH_VERIFY_ERASES (0)
159#endif
160
161#ifndef MYNEWT_VAL_HAL_FLASH_VERIFY_WRITES
162#define MYNEWT_VAL_HAL_FLASH_VERIFY_WRITES (0)
163#endif
164
165#ifndef MYNEWT_VAL_HAL_SBRK
166#define MYNEWT_VAL_HAL_SBRK (1)
167#endif
168
169#ifndef MYNEWT_VAL_HAL_SYSTEM_RESET_CB
170#define MYNEWT_VAL_HAL_SYSTEM_RESET_CB (0)
171#endif
172
173/*** @apache-mynewt-core/hw/mcu/native */
174#ifndef MYNEWT_VAL_I2C_0
175#define MYNEWT_VAL_I2C_0 (0)
176#endif
177
178#ifndef MYNEWT_VAL_MCU_FLASH_MIN_WRITE_SIZE
179#define MYNEWT_VAL_MCU_FLASH_MIN_WRITE_SIZE (1)
180#endif
181
182#ifndef MYNEWT_VAL_MCU_FLASH_STYLE_NORDIC
183#define MYNEWT_VAL_MCU_FLASH_STYLE_NORDIC (0)
184#endif
185
186#ifndef MYNEWT_VAL_MCU_FLASH_STYLE_ST
187#define MYNEWT_VAL_MCU_FLASH_STYLE_ST (1)
188#endif
189
190#ifndef MYNEWT_VAL_MCU_NATIVE
191#define MYNEWT_VAL_MCU_NATIVE (1)
192#endif
193
194#ifndef MYNEWT_VAL_MCU_NATIVE_USE_SIGNALS
195#define MYNEWT_VAL_MCU_NATIVE_USE_SIGNALS (1)
196#endif
197
198#ifndef MYNEWT_VAL_MCU_TIMER_POLLER_PRIO
199#define MYNEWT_VAL_MCU_TIMER_POLLER_PRIO (0)
200#endif
201
202#ifndef MYNEWT_VAL_MCU_UART_POLLER_PRIO
203#define MYNEWT_VAL_MCU_UART_POLLER_PRIO (1)
204#endif
205
206/*** @apache-mynewt-core/kernel/os */
207#ifndef MYNEWT_VAL_FLOAT_USER
208#define MYNEWT_VAL_FLOAT_USER (0)
209#endif
210
211#ifndef MYNEWT_VAL_MSYS_1_BLOCK_COUNT
212#define MYNEWT_VAL_MSYS_1_BLOCK_COUNT (20)
213#endif
214
215#ifndef MYNEWT_VAL_MSYS_1_BLOCK_SIZE
216#define MYNEWT_VAL_MSYS_1_BLOCK_SIZE (292)
217#endif
218
219#ifndef MYNEWT_VAL_MSYS_1_SANITY_MIN_COUNT
220#define MYNEWT_VAL_MSYS_1_SANITY_MIN_COUNT (0)
221#endif
222
223#ifndef MYNEWT_VAL_MSYS_2_BLOCK_COUNT
224#define MYNEWT_VAL_MSYS_2_BLOCK_COUNT (0)
225#endif
226
227#ifndef MYNEWT_VAL_MSYS_2_BLOCK_SIZE
228#define MYNEWT_VAL_MSYS_2_BLOCK_SIZE (0)
229#endif
230
231#ifndef MYNEWT_VAL_MSYS_2_SANITY_MIN_COUNT
232#define MYNEWT_VAL_MSYS_2_SANITY_MIN_COUNT (0)
233#endif
234
235#ifndef MYNEWT_VAL_MSYS_SANITY_TIMEOUT
236#define MYNEWT_VAL_MSYS_SANITY_TIMEOUT (60000)
237#endif
238
239#ifndef MYNEWT_VAL_OS_ASSERT_CB
240#define MYNEWT_VAL_OS_ASSERT_CB (0)
241#endif
242
243#ifndef MYNEWT_VAL_OS_CLI
244#define MYNEWT_VAL_OS_CLI (0)
245#endif
246
247#ifndef MYNEWT_VAL_OS_COREDUMP
248#define MYNEWT_VAL_OS_COREDUMP (0)
249#endif
250
251#ifndef MYNEWT_VAL_OS_COREDUMP_CB
252#define MYNEWT_VAL_OS_COREDUMP_CB (0)
253#endif
254
255#ifndef MYNEWT_VAL_OS_CPUTIME_FREQ
256#define MYNEWT_VAL_OS_CPUTIME_FREQ (1000000)
257#endif
258
259#ifndef MYNEWT_VAL_OS_CPUTIME_TIMER_NUM
260#define MYNEWT_VAL_OS_CPUTIME_TIMER_NUM (0)
261#endif
262
263/* Overridden by @apache-mynewt-core/hw/bsp/native (defined by @apache-mynewt-core/kernel/os) */
264#ifndef MYNEWT_VAL_OS_CRASH_FILE_LINE
265#define MYNEWT_VAL_OS_CRASH_FILE_LINE (1)
266#endif
267
268#ifndef MYNEWT_VAL_OS_CRASH_LOG
269#define MYNEWT_VAL_OS_CRASH_LOG (0)
270#endif
271
272#ifndef MYNEWT_VAL_OS_CRASH_RESTORE_REGS
273#define MYNEWT_VAL_OS_CRASH_RESTORE_REGS (0)
274#endif
275
276#ifndef MYNEWT_VAL_OS_CRASH_STACKTRACE
277#define MYNEWT_VAL_OS_CRASH_STACKTRACE (0)
278#endif
279
280#ifndef MYNEWT_VAL_OS_CTX_SW_STACK_CHECK
281#define MYNEWT_VAL_OS_CTX_SW_STACK_CHECK (0)
282#endif
283
284#ifndef MYNEWT_VAL_OS_CTX_SW_STACK_GUARD
285#define MYNEWT_VAL_OS_CTX_SW_STACK_GUARD (4)
286#endif
287
288#ifndef MYNEWT_VAL_OS_DEBUG_MODE
289#define MYNEWT_VAL_OS_DEBUG_MODE (0)
290#endif
291
292#ifndef MYNEWT_VAL_OS_EVENTQ_DEBUG
293#define MYNEWT_VAL_OS_EVENTQ_DEBUG (0)
294#endif
295
296#ifndef MYNEWT_VAL_OS_EVENTQ_MONITOR
297#define MYNEWT_VAL_OS_EVENTQ_MONITOR (0)
298#endif
299
300#ifndef MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MAX
301#define MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MAX (600000)
302#endif
303
304/* Overridden by @apache-mynewt-core/hw/bsp/native (defined by @apache-mynewt-core/kernel/os) */
305#ifndef MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MIN
306#define MYNEWT_VAL_OS_IDLE_TICKLESS_MS_MIN (1)
307#endif
308
309#ifndef MYNEWT_VAL_OS_MAIN_STACK_SIZE
310#define MYNEWT_VAL_OS_MAIN_STACK_SIZE (1024)
311#endif
312
313#ifndef MYNEWT_VAL_OS_MAIN_TASK_PRIO
314#define MYNEWT_VAL_OS_MAIN_TASK_PRIO (127)
315#endif
316
317#ifndef MYNEWT_VAL_OS_MAIN_TASK_SANITY_ITVL_MS
318#define MYNEWT_VAL_OS_MAIN_TASK_SANITY_ITVL_MS (0)
319#endif
320
321#ifndef MYNEWT_VAL_OS_MEMPOOL_CHECK
322#define MYNEWT_VAL_OS_MEMPOOL_CHECK (0)
323#endif
324
325#ifndef MYNEWT_VAL_OS_MEMPOOL_GUARD
326#define MYNEWT_VAL_OS_MEMPOOL_GUARD (0)
327#endif
328
329#ifndef MYNEWT_VAL_OS_MEMPOOL_POISON
330#define MYNEWT_VAL_OS_MEMPOOL_POISON (0)
331#endif
332
333#ifndef MYNEWT_VAL_OS_SCHEDULING
334#define MYNEWT_VAL_OS_SCHEDULING (1)
335#endif
336
337#ifndef MYNEWT_VAL_OS_SYSINIT_STAGE
338#define MYNEWT_VAL_OS_SYSINIT_STAGE (0)
339#endif
340
341#ifndef MYNEWT_VAL_OS_SYSVIEW
342#define MYNEWT_VAL_OS_SYSVIEW (0)
343#endif
344
345#ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_CALLOUT
346#define MYNEWT_VAL_OS_SYSVIEW_TRACE_CALLOUT (1)
347#endif
348
349#ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_EVENTQ
350#define MYNEWT_VAL_OS_SYSVIEW_TRACE_EVENTQ (1)
351#endif
352
353#ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_MBUF
354#define MYNEWT_VAL_OS_SYSVIEW_TRACE_MBUF (0)
355#endif
356
357#ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_MEMPOOL
358#define MYNEWT_VAL_OS_SYSVIEW_TRACE_MEMPOOL (0)
359#endif
360
361#ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_MUTEX
362#define MYNEWT_VAL_OS_SYSVIEW_TRACE_MUTEX (1)
363#endif
364
365#ifndef MYNEWT_VAL_OS_SYSVIEW_TRACE_SEM
366#define MYNEWT_VAL_OS_SYSVIEW_TRACE_SEM (1)
367#endif
368
369#ifndef MYNEWT_VAL_OS_TASK_RUN_TIME_CPUTIME
370#define MYNEWT_VAL_OS_TASK_RUN_TIME_CPUTIME (0)
371#endif
372
373/* Overridden by @apache-mynewt-core/hw/mcu/native (defined by @apache-mynewt-core/kernel/os) */
374#ifndef MYNEWT_VAL_OS_TICKS_PER_SEC
375#define MYNEWT_VAL_OS_TICKS_PER_SEC (100)
376#endif
377
378#ifndef MYNEWT_VAL_OS_TIME_DEBUG
379#define MYNEWT_VAL_OS_TIME_DEBUG (0)
380#endif
381
382#ifndef MYNEWT_VAL_OS_WATCHDOG_MONITOR
383#define MYNEWT_VAL_OS_WATCHDOG_MONITOR (0)
384#endif
385
386#ifndef MYNEWT_VAL_SANITY_INTERVAL
387#define MYNEWT_VAL_SANITY_INTERVAL (15000)
388#endif
389
390#ifndef MYNEWT_VAL_WATCHDOG_INTERVAL
391#define MYNEWT_VAL_WATCHDOG_INTERVAL (30000)
392#endif
393
394/*** @apache-mynewt-core/net/ip/native_sockets */
395#ifndef MYNEWT_VAL_NATIVE_SOCKETS_MAX
396#define MYNEWT_VAL_NATIVE_SOCKETS_MAX (8)
397#endif
398
399#ifndef MYNEWT_VAL_NATIVE_SOCKETS_MAX_UDP
400#define MYNEWT_VAL_NATIVE_SOCKETS_MAX_UDP (2048)
401#endif
402
403#ifndef MYNEWT_VAL_NATIVE_SOCKETS_POLL_INTERVAL_MS
404#define MYNEWT_VAL_NATIVE_SOCKETS_POLL_INTERVAL_MS (200)
405#endif
406
407#undef MYNEWT_VAL_NATIVE_SOCKETS_POLL_ITVL
408
409#ifndef MYNEWT_VAL_NATIVE_SOCKETS_PRIO
410#define MYNEWT_VAL_NATIVE_SOCKETS_PRIO (2)
411#endif
412
413#ifndef MYNEWT_VAL_NATIVE_SOCKETS_STACK_SZ
414#define MYNEWT_VAL_NATIVE_SOCKETS_STACK_SZ (4096)
415#endif
416
417#ifndef MYNEWT_VAL_NATIVE_SOCKETS_SYSINIT_STAGE
418#define MYNEWT_VAL_NATIVE_SOCKETS_SYSINIT_STAGE (200)
419#endif
420
421/*** @apache-mynewt-core/sys/console/stub */
422#ifndef MYNEWT_VAL_CONSOLE_UART_BAUD
423#define MYNEWT_VAL_CONSOLE_UART_BAUD (115200)
424#endif
425
426#ifndef MYNEWT_VAL_CONSOLE_UART_DEV
427#define MYNEWT_VAL_CONSOLE_UART_DEV ("uart0")
428#endif
429
430#ifndef MYNEWT_VAL_CONSOLE_UART_FLOW_CONTROL
431#define MYNEWT_VAL_CONSOLE_UART_FLOW_CONTROL (UART_FLOW_CTL_NONE)
432#endif
433
434/*** @apache-mynewt-core/sys/flash_map */
435#ifndef MYNEWT_VAL_FLASH_MAP_MAX_AREAS
436#define MYNEWT_VAL_FLASH_MAP_MAX_AREAS (10)
437#endif
438
439#ifndef MYNEWT_VAL_FLASH_MAP_SUPPORT_MFG
440#define MYNEWT_VAL_FLASH_MAP_SUPPORT_MFG (0)
441#endif
442
443#ifndef MYNEWT_VAL_FLASH_MAP_SYSINIT_STAGE
444#define MYNEWT_VAL_FLASH_MAP_SYSINIT_STAGE (9)
445#endif
446
447/*** @apache-mynewt-core/sys/log/common */
448#ifndef MYNEWT_VAL_DFLT_LOG_LVL
449#define MYNEWT_VAL_DFLT_LOG_LVL (1)
450#endif
451
452#ifndef MYNEWT_VAL_DFLT_LOG_MOD
453#define MYNEWT_VAL_DFLT_LOG_MOD (0)
454#endif
455
456#ifndef MYNEWT_VAL_LOG_GLOBAL_IDX
457#define MYNEWT_VAL_LOG_GLOBAL_IDX (1)
458#endif
459
460/*** @apache-mynewt-core/sys/log/modlog */
461#ifndef MYNEWT_VAL_MODLOG_CONSOLE_DFLT
462#define MYNEWT_VAL_MODLOG_CONSOLE_DFLT (1)
463#endif
464
465#ifndef MYNEWT_VAL_MODLOG_LOG_MACROS
466#define MYNEWT_VAL_MODLOG_LOG_MACROS (0)
467#endif
468
469#ifndef MYNEWT_VAL_MODLOG_MAX_MAPPINGS
470#define MYNEWT_VAL_MODLOG_MAX_MAPPINGS (16)
471#endif
472
473#ifndef MYNEWT_VAL_MODLOG_MAX_PRINTF_LEN
474#define MYNEWT_VAL_MODLOG_MAX_PRINTF_LEN (128)
475#endif
476
477#ifndef MYNEWT_VAL_MODLOG_SYSINIT_STAGE
478#define MYNEWT_VAL_MODLOG_SYSINIT_STAGE (100)
479#endif
480
481/*** @apache-mynewt-core/sys/log/stub */
482#ifndef MYNEWT_VAL_LOG_CONSOLE
483#define MYNEWT_VAL_LOG_CONSOLE (1)
484#endif
485
486#ifndef MYNEWT_VAL_LOG_FCB
487#define MYNEWT_VAL_LOG_FCB (0)
488#endif
489
490#ifndef MYNEWT_VAL_LOG_FCB_SLOT1
491#define MYNEWT_VAL_LOG_FCB_SLOT1 (0)
492#endif
493
494#ifndef MYNEWT_VAL_LOG_LEVEL
495#define MYNEWT_VAL_LOG_LEVEL (255)
496#endif
497
498/*** @apache-mynewt-core/sys/sys */
499#ifndef MYNEWT_VAL_DEBUG_PANIC_ENABLED
500#define MYNEWT_VAL_DEBUG_PANIC_ENABLED (1)
501#endif
502
503/*** @apache-mynewt-core/sys/sysdown */
504#ifndef MYNEWT_VAL_SYSDOWN_CONSTRAIN_DOWN
505#define MYNEWT_VAL_SYSDOWN_CONSTRAIN_DOWN (1)
506#endif
507
508#ifndef MYNEWT_VAL_SYSDOWN_PANIC_FILE_LINE
509#define MYNEWT_VAL_SYSDOWN_PANIC_FILE_LINE (0)
510#endif
511
512#ifndef MYNEWT_VAL_SYSDOWN_PANIC_MESSAGE
513#define MYNEWT_VAL_SYSDOWN_PANIC_MESSAGE (0)
514#endif
515
516#ifndef MYNEWT_VAL_SYSDOWN_TIMEOUT_MS
517#define MYNEWT_VAL_SYSDOWN_TIMEOUT_MS (10000)
518#endif
519
520/*** @apache-mynewt-core/sys/sysinit */
521#ifndef MYNEWT_VAL_SYSINIT_CONSTRAIN_INIT
522#define MYNEWT_VAL_SYSINIT_CONSTRAIN_INIT (1)
523#endif
524
525/* Overridden by @apache-mynewt-core/hw/bsp/native (defined by @apache-mynewt-core/sys/sysinit) */
526#ifndef MYNEWT_VAL_SYSINIT_PANIC_FILE_LINE
527#define MYNEWT_VAL_SYSINIT_PANIC_FILE_LINE (1)
528#endif
529
530/* Overridden by @apache-mynewt-core/hw/bsp/native (defined by @apache-mynewt-core/sys/sysinit) */
531#ifndef MYNEWT_VAL_SYSINIT_PANIC_MESSAGE
532#define MYNEWT_VAL_SYSINIT_PANIC_MESSAGE (1)
533#endif
534
535/*** @apache-mynewt-core/util/rwlock */
536#ifndef MYNEWT_VAL_RWLOCK_DEBUG
537#define MYNEWT_VAL_RWLOCK_DEBUG (0)
538#endif
539
540/*** @apache-mynewt-nimble/nimble */
541#ifndef MYNEWT_VAL_BLE_EXT_ADV
542#define MYNEWT_VAL_BLE_EXT_ADV (0)
543#endif
544
545#ifndef MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE
546#define MYNEWT_VAL_BLE_EXT_ADV_MAX_SIZE (31)
547#endif
548
549#ifndef MYNEWT_VAL_ENC_ADV_DATA
550#define MYNEWT_VAL_ENC_ADV_DATA (0)
551#endif
552
553#ifndef MYNEWT_VAL_BLE_HCI_VS
554#define MYNEWT_VAL_BLE_HCI_VS (0)
555#endif
556
557#ifndef MYNEWT_VAL_BLE_HCI_VS_OCF_OFFSET
558#define MYNEWT_VAL_BLE_HCI_VS_OCF_OFFSET (0)
559#endif
560
561#ifndef MYNEWT_VAL_BLE_ISO
562#define MYNEWT_VAL_BLE_ISO (0)
563#endif
564
565#ifndef MYNEWT_VAL_BLE_ISO_TEST
566#define MYNEWT_VAL_BLE_ISO_TEST (0)
567#endif
568
569#ifndef MYNEWT_VAL_BLE_MAX_CONNECTIONS
570#define MYNEWT_VAL_BLE_MAX_CONNECTIONS (4)
571#endif
572
573#ifndef MYNEWT_VAL_BLE_MAX_PERIODIC_SYNCS
574#define MYNEWT_VAL_BLE_MAX_PERIODIC_SYNCS (1)
575#endif
576
577#ifndef MYNEWT_VAL_BLE_MULTI_ADV_INSTANCES
578#define MYNEWT_VAL_BLE_MULTI_ADV_INSTANCES (0)
579#endif
580
581#ifndef MYNEWT_VAL_BLE_PERIODIC_ADV
582#define MYNEWT_VAL_BLE_PERIODIC_ADV (0)
583#endif
584
585#ifndef MYNEWT_VAL_BLE_PERIODIC_ADV_SYNC_TRANSFER
586#define MYNEWT_VAL_BLE_PERIODIC_ADV_SYNC_TRANSFER (0)
587#endif
588
589#ifndef MYNEWT_VAL_BLE_ROLE_BROADCASTER
590#define MYNEWT_VAL_BLE_ROLE_BROADCASTER (1)
591#endif
592
593#ifndef MYNEWT_VAL_BLE_ROLE_CENTRAL
594#define MYNEWT_VAL_BLE_ROLE_CENTRAL (1)
595#endif
596
597#ifndef MYNEWT_VAL_BLE_ROLE_OBSERVER
598#define MYNEWT_VAL_BLE_ROLE_OBSERVER (1)
599#endif
600
601#ifndef MYNEWT_VAL_BLE_ROLE_PERIPHERAL
602#define MYNEWT_VAL_BLE_ROLE_PERIPHERAL (1)
603#endif
604
605#ifndef MYNEWT_VAL_BLE_VERSION
606#define MYNEWT_VAL_BLE_VERSION (50)
607#endif
608
609#ifndef MYNEWT_VAL_BLE_WHITELIST
610#define MYNEWT_VAL_BLE_WHITELIST (1)
611#endif
612
613#ifndef MYNEWT_VAL_BLE_POWER_CONTROL
614#define MYNEWT_VAL_BLE_POWER_CONTROL (0)
615#endif
616
617/*** @apache-mynewt-nimble/nimble/host */
618#ifndef MYNEWT_VAL_BLE_ATT_PREFERRED_MTU
619#define MYNEWT_VAL_BLE_ATT_PREFERRED_MTU (256)
620#endif
621
622#ifndef MYNEWT_VAL_BLE_ATT_SVR_FIND_INFO
623#define MYNEWT_VAL_BLE_ATT_SVR_FIND_INFO (1)
624#endif
625
626#ifndef MYNEWT_VAL_BLE_ATT_SVR_FIND_TYPE
627#define MYNEWT_VAL_BLE_ATT_SVR_FIND_TYPE (1)
628#endif
629
630#ifndef MYNEWT_VAL_BLE_ATT_SVR_INDICATE
631#define MYNEWT_VAL_BLE_ATT_SVR_INDICATE (1)
632#endif
633
634#ifndef MYNEWT_VAL_BLE_ATT_SVR_MAX_PREP_ENTRIES
635#define MYNEWT_VAL_BLE_ATT_SVR_MAX_PREP_ENTRIES (64)
636#endif
637
638#ifndef MYNEWT_VAL_BLE_ATT_SVR_NOTIFY
639#define MYNEWT_VAL_BLE_ATT_SVR_NOTIFY (1)
640#endif
641
642#ifndef MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE
643#define MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE (1)
644#endif
645
646#ifndef MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE_TMO
647#define MYNEWT_VAL_BLE_ATT_SVR_QUEUED_WRITE_TMO (30000)
648#endif
649
650#ifndef MYNEWT_VAL_BLE_ATT_SVR_READ
651#define MYNEWT_VAL_BLE_ATT_SVR_READ (1)
652#endif
653
654#ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_BLOB
655#define MYNEWT_VAL_BLE_ATT_SVR_READ_BLOB (1)
656#endif
657
658#ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_GROUP_TYPE
659#define MYNEWT_VAL_BLE_ATT_SVR_READ_GROUP_TYPE (1)
660#endif
661
662#ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_MULT
663#define MYNEWT_VAL_BLE_ATT_SVR_READ_MULT (1)
664#endif
665
666#ifndef MYNEWT_VAL_BLE_ATT_SVR_READ_TYPE
667#define MYNEWT_VAL_BLE_ATT_SVR_READ_TYPE (1)
668#endif
669
670#ifndef MYNEWT_VAL_BLE_ATT_SVR_SIGNED_WRITE
671#define MYNEWT_VAL_BLE_ATT_SVR_SIGNED_WRITE (1)
672#endif
673
674#ifndef MYNEWT_VAL_BLE_ATT_SVR_WRITE
675#define MYNEWT_VAL_BLE_ATT_SVR_WRITE (1)
676#endif
677
678#ifndef MYNEWT_VAL_BLE_ATT_SVR_WRITE_NO_RSP
679#define MYNEWT_VAL_BLE_ATT_SVR_WRITE_NO_RSP (1)
680#endif
681
682#ifndef MYNEWT_VAL_BLE_GAP_MAX_PENDING_CONN_PARAM_UPDATE
683#define MYNEWT_VAL_BLE_GAP_MAX_PENDING_CONN_PARAM_UPDATE (1)
684#endif
685
686#ifndef MYNEWT_VAL_BLE_GATT_DISC_ALL_CHRS
687#define MYNEWT_VAL_BLE_GATT_DISC_ALL_CHRS (MYNEWT_VAL_BLE_ROLE_CENTRAL)
688#endif
689
690#ifndef MYNEWT_VAL_BLE_GATT_DISC_ALL_DSCS
691#define MYNEWT_VAL_BLE_GATT_DISC_ALL_DSCS (MYNEWT_VAL_BLE_ROLE_CENTRAL)
692#endif
693
694#ifndef MYNEWT_VAL_BLE_GATT_DISC_ALL_SVCS
695#define MYNEWT_VAL_BLE_GATT_DISC_ALL_SVCS (MYNEWT_VAL_BLE_ROLE_CENTRAL)
696#endif
697
698#ifndef MYNEWT_VAL_BLE_GATT_DISC_CHR_UUID
699#define MYNEWT_VAL_BLE_GATT_DISC_CHR_UUID (MYNEWT_VAL_BLE_ROLE_CENTRAL)
700#endif
701
702#ifndef MYNEWT_VAL_BLE_GATT_DISC_SVC_UUID
703#define MYNEWT_VAL_BLE_GATT_DISC_SVC_UUID (MYNEWT_VAL_BLE_ROLE_CENTRAL)
704#endif
705
706#ifndef MYNEWT_VAL_BLE_GATT_FIND_INC_SVCS
707#define MYNEWT_VAL_BLE_GATT_FIND_INC_SVCS (MYNEWT_VAL_BLE_ROLE_CENTRAL)
708#endif
709
710#ifndef MYNEWT_VAL_BLE_GATT_INDICATE
711#define MYNEWT_VAL_BLE_GATT_INDICATE (1)
712#endif
713
714#ifndef MYNEWT_VAL_BLE_GATT_MAX_PROCS
715#define MYNEWT_VAL_BLE_GATT_MAX_PROCS (4)
716#endif
717
718#ifndef MYNEWT_VAL_BLE_GATT_NOTIFY
719#define MYNEWT_VAL_BLE_GATT_NOTIFY (1)
720#endif
721
722#ifndef MYNEWT_VAL_BLE_GATT_READ
723#define MYNEWT_VAL_BLE_GATT_READ (MYNEWT_VAL_BLE_ROLE_CENTRAL)
724#endif
725
726#ifndef MYNEWT_VAL_BLE_GATT_READ_LONG
727#define MYNEWT_VAL_BLE_GATT_READ_LONG (MYNEWT_VAL_BLE_ROLE_CENTRAL)
728#endif
729
730#ifndef MYNEWT_VAL_BLE_GATT_READ_MAX_ATTRS
731#define MYNEWT_VAL_BLE_GATT_READ_MAX_ATTRS (8)
732#endif
733
734#ifndef MYNEWT_VAL_BLE_GATT_READ_MULT
735#define MYNEWT_VAL_BLE_GATT_READ_MULT (MYNEWT_VAL_BLE_ROLE_CENTRAL)
736#endif
737
738#ifndef MYNEWT_VAL_BLE_GATT_READ_MULT_VAR
739#define MYNEWT_VAL_BLE_GATT_READ_MULT_VAR (MYNEWT_VAL_BLE_ROLE_CENTRAL)
740#endif
741
742#ifndef MYNEWT_VAL_BLE_GATT_READ_UUID
743#define MYNEWT_VAL_BLE_GATT_READ_UUID (MYNEWT_VAL_BLE_ROLE_CENTRAL)
744#endif
745
746#ifndef MYNEWT_VAL_BLE_GATT_RESUME_RATE
747#define MYNEWT_VAL_BLE_GATT_RESUME_RATE (1000)
748#endif
749
750#ifndef MYNEWT_VAL_BLE_GATT_SIGNED_WRITE
751#define MYNEWT_VAL_BLE_GATT_SIGNED_WRITE (MYNEWT_VAL_BLE_ROLE_CENTRAL)
752#endif
753
754#ifndef MYNEWT_VAL_BLE_GATT_WRITE
755#define MYNEWT_VAL_BLE_GATT_WRITE (MYNEWT_VAL_BLE_ROLE_CENTRAL)
756#endif
757
758#ifndef MYNEWT_VAL_BLE_GATT_WRITE_LONG
759#define MYNEWT_VAL_BLE_GATT_WRITE_LONG (MYNEWT_VAL_BLE_ROLE_CENTRAL)
760#endif
761
762#ifndef MYNEWT_VAL_BLE_GATT_WRITE_MAX_ATTRS
763#define MYNEWT_VAL_BLE_GATT_WRITE_MAX_ATTRS (4)
764#endif
765
766#ifndef MYNEWT_VAL_BLE_GATT_WRITE_NO_RSP
767#define MYNEWT_VAL_BLE_GATT_WRITE_NO_RSP (MYNEWT_VAL_BLE_ROLE_CENTRAL)
768#endif
769
770#ifndef MYNEWT_VAL_BLE_GATT_WRITE_RELIABLE
771#define MYNEWT_VAL_BLE_GATT_WRITE_RELIABLE (MYNEWT_VAL_BLE_ROLE_CENTRAL)
772#endif
773
774#ifndef MYNEWT_VAL_BLE_GATT_BLOB_TRANSFER
775#define MYNEWT_VAL_BLE_GATT_BLOB_TRANSFER (0)
776#endif
777
778#ifndef MYNEWT_VAL_BLE_HOST
779#define MYNEWT_VAL_BLE_HOST (1)
780#endif
781
782#ifndef MYNEWT_VAL_BLE_HS_AUTO_START
783#define MYNEWT_VAL_BLE_HS_AUTO_START (1)
784#endif
785
786#ifndef MYNEWT_VAL_BLE_HS_DEBUG
787#define MYNEWT_VAL_BLE_HS_DEBUG (1)
788#endif
789
790#ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL
791#define MYNEWT_VAL_BLE_HS_FLOW_CTRL (0)
792#endif
793
794#ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL_ITVL
795#define MYNEWT_VAL_BLE_HS_FLOW_CTRL_ITVL (1000)
796#endif
797
798#ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL_THRESH
799#define MYNEWT_VAL_BLE_HS_FLOW_CTRL_THRESH (2)
800#endif
801
802#ifndef MYNEWT_VAL_BLE_HS_FLOW_CTRL_TX_ON_DISCONNECT
803#define MYNEWT_VAL_BLE_HS_FLOW_CTRL_TX_ON_DISCONNECT (0)
804#endif
805
806#ifndef MYNEWT_VAL_BLE_HS_LOG_LVL
807#define MYNEWT_VAL_BLE_HS_LOG_LVL (1)
808#endif
809
810#ifndef MYNEWT_VAL_BLE_HS_LOG_MOD
811#define MYNEWT_VAL_BLE_HS_LOG_MOD (4)
812#endif
813
814#ifndef MYNEWT_VAL_BLE_HS_PHONY_HCI_ACKS
815#define MYNEWT_VAL_BLE_HS_PHONY_HCI_ACKS (0)
816#endif
817
818#ifndef MYNEWT_VAL_BLE_HS_REQUIRE_OS
819#define MYNEWT_VAL_BLE_HS_REQUIRE_OS (1)
820#endif
821
822#ifndef MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN
823#define MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN (1)
824#endif
825
826#ifndef MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN_TIMEOUT
827#define MYNEWT_VAL_BLE_HS_STOP_ON_SHUTDOWN_TIMEOUT (2000)
828#endif
829
830#ifndef MYNEWT_VAL_BLE_HS_SYSINIT_STAGE
831#define MYNEWT_VAL_BLE_HS_SYSINIT_STAGE (200)
832#endif
833
834#ifndef MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM
835#define MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM (0)
836#endif
837
838#ifndef MYNEWT_VAL_BLE_L2CAP_COC_MPS
839#define MYNEWT_VAL_BLE_L2CAP_COC_MPS (MYNEWT_VAL_MSYS_1_BLOCK_SIZE-8)
840#endif
841
842#ifndef MYNEWT_VAL_BLE_L2CAP_ENHANCED_COC
843#define MYNEWT_VAL_BLE_L2CAP_ENHANCED_COC (0)
844#endif
845
846#ifndef MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS
847#define MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS (1)
848#endif
849
850#ifndef MYNEWT_VAL_BLE_L2CAP_MAX_CHANS
851#define MYNEWT_VAL_BLE_L2CAP_MAX_CHANS (3*MYNEWT_VAL_BLE_MAX_CONNECTIONS)
852#endif
853
854#ifndef MYNEWT_VAL_BLE_L2CAP_RX_FRAG_TIMEOUT
855#define MYNEWT_VAL_BLE_L2CAP_RX_FRAG_TIMEOUT (30000)
856#endif
857
858#ifndef MYNEWT_VAL_BLE_L2CAP_SIG_MAX_PROCS
859#define MYNEWT_VAL_BLE_L2CAP_SIG_MAX_PROCS (1)
860#endif
861
862#ifndef MYNEWT_VAL_BLE_MESH
863#define MYNEWT_VAL_BLE_MESH (1)
864#endif
865
866#ifndef MYNEWT_VAL_BLE_MONITOR_CONSOLE_BUFFER_SIZE
867#define MYNEWT_VAL_BLE_MONITOR_CONSOLE_BUFFER_SIZE (128)
868#endif
869
870#ifndef MYNEWT_VAL_BLE_MONITOR_RTT
871#define MYNEWT_VAL_BLE_MONITOR_RTT (0)
872#endif
873
874#ifndef MYNEWT_VAL_BLE_MONITOR_RTT_BUFFERED
875#define MYNEWT_VAL_BLE_MONITOR_RTT_BUFFERED (1)
876#endif
877
878#ifndef MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_NAME
879#define MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_NAME ("btmonitor")
880#endif
881
882#ifndef MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_SIZE
883#define MYNEWT_VAL_BLE_MONITOR_RTT_BUFFER_SIZE (256)
884#endif
885
886#ifndef MYNEWT_VAL_BLE_MONITOR_UART
887#define MYNEWT_VAL_BLE_MONITOR_UART (0)
888#endif
889
890#ifndef MYNEWT_VAL_BLE_MONITOR_UART_BAUDRATE
891#define MYNEWT_VAL_BLE_MONITOR_UART_BAUDRATE (1000000)
892#endif
893
894#ifndef MYNEWT_VAL_BLE_MONITOR_UART_BUFFER_SIZE
895#define MYNEWT_VAL_BLE_MONITOR_UART_BUFFER_SIZE (64)
896#endif
897
898#ifndef MYNEWT_VAL_BLE_MONITOR_UART_DEV
899#define MYNEWT_VAL_BLE_MONITOR_UART_DEV ("uart0")
900#endif
901
902#ifndef MYNEWT_VAL_BLE_RPA_TIMEOUT
903#define MYNEWT_VAL_BLE_RPA_TIMEOUT (300)
904#endif
905
906#ifndef MYNEWT_VAL_BLE_SM_BONDING
907#define MYNEWT_VAL_BLE_SM_BONDING (0)
908#endif
909
910#ifndef MYNEWT_VAL_BLE_SM_IO_CAP
911#define MYNEWT_VAL_BLE_SM_IO_CAP (BLE_HS_IO_NO_INPUT_OUTPUT)
912#endif
913
914#ifndef MYNEWT_VAL_BLE_SM_KEYPRESS
915#define MYNEWT_VAL_BLE_SM_KEYPRESS (0)
916#endif
917
918#ifndef MYNEWT_VAL_BLE_SM_LEGACY
919#define MYNEWT_VAL_BLE_SM_LEGACY (1)
920#endif
921
922#ifndef MYNEWT_VAL_BLE_SM_MAX_PROCS
923#define MYNEWT_VAL_BLE_SM_MAX_PROCS (1)
924#endif
925
926#ifndef MYNEWT_VAL_BLE_SM_MITM
927#define MYNEWT_VAL_BLE_SM_MITM (0)
928#endif
929
930#ifndef MYNEWT_VAL_BLE_SM_OOB_DATA_FLAG
931#define MYNEWT_VAL_BLE_SM_OOB_DATA_FLAG (0)
932#endif
933
934#ifndef MYNEWT_VAL_BLE_SM_OUR_KEY_DIST
935#define MYNEWT_VAL_BLE_SM_OUR_KEY_DIST (0)
936#endif
937
938#ifndef MYNEWT_VAL_BLE_SM_SC
939#define MYNEWT_VAL_BLE_SM_SC (1)
940#endif
941
942#ifndef MYNEWT_VAL_BLE_SM_SC_DEBUG_KEYS
943#define MYNEWT_VAL_BLE_SM_SC_DEBUG_KEYS (0)
944#endif
945
946#ifndef MYNEWT_VAL_BLE_SM_SC_LVL
947#define MYNEWT_VAL_BLE_SM_SC_LVL (0)
948#endif
949
950#ifndef MYNEWT_VAL_BLE_SM_SC_ONLY
951#define MYNEWT_VAL_BLE_SM_SC_ONLY (0)
952#endif
953
954#ifndef MYNEWT_VAL_BLE_SM_THEIR_KEY_DIST
955#define MYNEWT_VAL_BLE_SM_THEIR_KEY_DIST (0)
956#endif
957
958#ifndef MYNEWT_VAL_BLE_STORE_MAX_BONDS
959#define MYNEWT_VAL_BLE_STORE_MAX_BONDS (3)
960#endif
961
962#ifndef MYNEWT_VAL_BLE_STORE_MAX_CCCDS
963#define MYNEWT_VAL_BLE_STORE_MAX_CCCDS (8)
964#endif
965
966#ifdef CONFIG_BT_NIMBLE_MAX_EADS
967#define MYNEWT_VAL_BLE_STORE_MAX_EADS CONFIG_BT_NIMBLE_MAX_EADS
968#endif
969
970/*** @apache-mynewt-nimble/nimble/host/services/ans */
971#ifndef MYNEWT_VAL_BLE_SVC_ANS_NEW_ALERT_CAT
972#define MYNEWT_VAL_BLE_SVC_ANS_NEW_ALERT_CAT (0)
973#endif
974
975#ifndef MYNEWT_VAL_BLE_SVC_ANS_SYSINIT_STAGE
976#define MYNEWT_VAL_BLE_SVC_ANS_SYSINIT_STAGE (303)
977#endif
978
979#ifndef MYNEWT_VAL_BLE_SVC_ANS_UNR_ALERT_CAT
980#define MYNEWT_VAL_BLE_SVC_ANS_UNR_ALERT_CAT (0)
981#endif
982
983/*** @apache-mynewt-nimble/nimble/host/services/bas */
984#ifndef MYNEWT_VAL_BLE_SVC_BAS_BATTERY_LEVEL_NOTIFY_ENABLE
985#define MYNEWT_VAL_BLE_SVC_BAS_BATTERY_LEVEL_NOTIFY_ENABLE (1)
986#endif
987
988#ifndef MYNEWT_VAL_BLE_SVC_BAS_BATTERY_LEVEL_READ_PERM
989#define MYNEWT_VAL_BLE_SVC_BAS_BATTERY_LEVEL_READ_PERM (0)
990#endif
991#ifndef MYNEWT_VAL_BLE_MESH_ADV_TASK_PRIO
992#define MYNEWT_VAL_BLE_MESH_ADV_TASK_PRIO (9)
993#endif
994
995
996/*** @apache-mynewt-nimble/nimble/host/mesh */
997/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
998#ifndef MYNEWT_VAL_BLE_MESH_ADV_BUF_COUNT
999#define MYNEWT_VAL_BLE_MESH_ADV_BUF_COUNT (20)
1000#endif
1001
1002#ifndef MYNEWT_VAL_BLE_MESH_APP_KEY_COUNT
1003#define MYNEWT_VAL_BLE_MESH_APP_KEY_COUNT (1)
1004#endif
1005
1006#ifndef MYNEWT_VAL_BLE_MESH_CFG_CLI
1007#define MYNEWT_VAL_BLE_MESH_CFG_CLI (0)
1008#endif
1009#ifndef MYNEWT_VAL_BLE_MESH_CRPL
1010#define MYNEWT_VAL_BLE_MESH_CRPL (10)
1011#endif
1012
1013/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1014#ifndef MYNEWT_VAL_BLE_MESH_DEBUG
1015#define MYNEWT_VAL_BLE_MESH_DEBUG (1)
1016#endif
1017
1018/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1019#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_ACCESS
1020#define MYNEWT_VAL_BLE_MESH_DEBUG_ACCESS (1)
1021#endif
1022
1023/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1024#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_ADV
1025#define MYNEWT_VAL_BLE_MESH_DEBUG_ADV (1)
1026#endif
1027
1028/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1029#ifndef MYNEWT_VAL_BLE_MESH_DEBUG
1030#define MYNEWT_VAL_BLE_MESH_DEBUG (1)
1031#endif
1032
1033/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1034#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_ACCESS
1035#define MYNEWT_VAL_BLE_MESH_DEBUG_ACCESS (1)
1036#endif
1037
1038/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1039#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_ADV
1040#define MYNEWT_VAL_BLE_MESH_DEBUG_ADV (1)
1041#endif
1042
1043/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1044#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_BEACON
1045#define MYNEWT_VAL_BLE_MESH_DEBUG_BEACON (1)
1046#endif
1047
1048/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1049#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_CRYPTO
1050#define MYNEWT_VAL_BLE_MESH_DEBUG_CRYPTO (1)
1051#endif
1052
1053/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1054#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_FRIEND
1055#define MYNEWT_VAL_BLE_MESH_DEBUG_FRIEND (1)
1056#endif
1057
1058/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1059#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_LOW_POWER
1060#define MYNEWT_VAL_BLE_MESH_DEBUG_LOW_POWER (1)
1061#endif
1062
1063/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1064#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_MODEL
1065#define MYNEWT_VAL_BLE_MESH_DEBUG_MODEL (1)
1066#endif
1067
1068/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1069#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_NET
1070#define MYNEWT_VAL_BLE_MESH_DEBUG_NET (1)
1071#endif
1072
1073/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1074#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_PROV
1075#define MYNEWT_VAL_BLE_MESH_DEBUG_PROV (1)
1076#endif
1077
1078/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1079#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_PROXY
1080#define MYNEWT_VAL_BLE_MESH_DEBUG_PROXY (1)
1081#endif
1082
1083#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_SETTINGS
1084#define MYNEWT_VAL_BLE_MESH_DEBUG_SETTINGS (1)
1085#endif
1086
1087/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1088#ifndef MYNEWT_VAL_BLE_MESH_DEBUG_TRANS
1089#define MYNEWT_VAL_BLE_MESH_DEBUG_TRANS (1)
1090#endif
1091
1092#ifndef MYNEWT_VAL_BLE_MESH_DEVICE_NAME
1093#define MYNEWT_VAL_BLE_MESH_DEVICE_NAME ("nimble-mesh-node")
1094#endif
1095
1096#ifndef MYNEWT_VAL_BLE_MESH_DEV_UUID
1097#define MYNEWT_VAL_BLE_MESH_DEV_UUID (((uint8_t[16]){0x11, 0x22, 0}))
1098#endif
1099
1100#ifndef MYNEWT_VAL_BLE_MESH_FRIEND
1101#define MYNEWT_VAL_BLE_MESH_FRIEND (0)
1102#endif
1103
1104#ifndef MYNEWT_VAL_BLE_MESH_FRIEND_LPN_COUNT
1105#define MYNEWT_VAL_BLE_MESH_FRIEND_LPN_COUNT (2)
1106#endif
1107
1108#ifndef MYNEWT_VAL_BLE_MESH_FRIEND_QUEUE_SIZE
1109#define MYNEWT_VAL_BLE_MESH_FRIEND_QUEUE_SIZE (16)
1110#endif
1111
1112#ifndef MYNEWT_VAL_BLE_MESH_FRIEND_RECV_WIN
1113#define MYNEWT_VAL_BLE_MESH_FRIEND_RECV_WIN (255)
1114#endif
1115
1116#ifndef MYNEWT_VAL_BLE_MESH_FRIEND_SEG_RX
1117#define MYNEWT_VAL_BLE_MESH_FRIEND_SEG_RX (1)
1118#endif
1119
1120#ifndef MYNEWT_VAL_BLE_MESH_FRIEND_SUB_LIST_SIZE
1121#define MYNEWT_VAL_BLE_MESH_FRIEND_SUB_LIST_SIZE (3)
1122#endif
1123
1124#ifndef MYNEWT_VAL_BLE_MESH_GATT_PROXY
1125#define MYNEWT_VAL_BLE_MESH_GATT_PROXY (1)
1126#endif
1127
1128#ifndef MYNEWT_VAL_BLE_MESH_HEALTH_CLI
1129#define MYNEWT_VAL_BLE_MESH_HEALTH_CLI (0)
1130#endif
1131
1132#ifndef MYNEWT_VAL_BLE_MESH_IVU_DIVIDER
1133#define MYNEWT_VAL_BLE_MESH_IVU_DIVIDER (4)
1134#endif
1135
1136#ifndef MYNEWT_VAL_BLE_MESH_IV_UPDATE_TEST
1137#define MYNEWT_VAL_BLE_MESH_IV_UPDATE_TEST (0)
1138#endif
1139
1140#ifndef MYNEWT_VAL_BLE_MESH_LABEL_COUNT
1141#define MYNEWT_VAL_BLE_MESH_LABEL_COUNT (1)
1142#endif
1143
1144#ifndef MYNEWT_VAL_BLE_MESH_LOW_POWER
1145#define MYNEWT_VAL_BLE_MESH_LOW_POWER (0)
1146#endif
1147
1148#ifndef MYNEWT_VAL_BLE_MESH_LPN_AUTO
1149#define MYNEWT_VAL_BLE_MESH_LPN_AUTO (1)
1150#endif
1151
1152#ifndef MYNEWT_VAL_BLE_MESH_LPN_AUTO_TIMEOUT
1153#define MYNEWT_VAL_BLE_MESH_LPN_AUTO_TIMEOUT (15)
1154#endif
1155
1156#ifndef MYNEWT_VAL_BLE_MESH_LPN_ESTABLISHMENT
1157#define MYNEWT_VAL_BLE_MESH_LPN_ESTABLISHMENT (1)
1158#endif
1159
1160#ifndef MYNEWT_VAL_BLE_MESH_LPN_GROUPS
1161#define MYNEWT_VAL_BLE_MESH_LPN_GROUPS (10)
1162#endif
1163
1164#ifndef MYNEWT_VAL_BLE_MESH_LPN_INIT_POLL_TIMEOUT
1165#define MYNEWT_VAL_BLE_MESH_LPN_INIT_POLL_TIMEOUT (MYNEWT_VAL_BLE_MESH_LPN_POLL_TIMEOUT)
1166#endif
1167
1168#ifndef MYNEWT_VAL_BLE_MESH_LPN_MIN_QUEUE_SIZE
1169#define MYNEWT_VAL_BLE_MESH_LPN_MIN_QUEUE_SIZE (1)
1170#endif
1171
1172#ifndef MYNEWT_VAL_BLE_MESH_LPN_POLL_TIMEOUT
1173#define MYNEWT_VAL_BLE_MESH_LPN_POLL_TIMEOUT (300)
1174#endif
1175
1176#ifndef MYNEWT_VAL_BLE_MESH_LPN_RECV_DELAY
1177#define MYNEWT_VAL_BLE_MESH_LPN_RECV_DELAY (100)
1178#endif
1179
1180#ifndef MYNEWT_VAL_BLE_MESH_LPN_RECV_WIN_FACTOR
1181#define MYNEWT_VAL_BLE_MESH_LPN_RECV_WIN_FACTOR (0)
1182#endif
1183
1184#ifndef MYNEWT_VAL_BLE_MESH_LPN_RETRY_TIMEOUT
1185#define MYNEWT_VAL_BLE_MESH_LPN_RETRY_TIMEOUT (8)
1186#endif
1187
1188#ifndef MYNEWT_VAL_BLE_MESH_LPN_RSSI_FACTOR
1189#define MYNEWT_VAL_BLE_MESH_LPN_RSSI_FACTOR (0)
1190#endif
1191
1192#ifndef MYNEWT_VAL_BLE_MESH_LPN_SCAN_LATENCY
1193#define MYNEWT_VAL_BLE_MESH_LPN_SCAN_LATENCY (10)
1194#endif
1195
1196#ifndef MYNEWT_VAL_BLE_MESH_MODEL_GROUP_COUNT
1197#define MYNEWT_VAL_BLE_MESH_MODEL_GROUP_COUNT (1)
1198#endif
1199
1200#ifndef MYNEWT_VAL_BLE_MESH_MODEL_KEY_COUNT
1201#define MYNEWT_VAL_BLE_MESH_MODEL_KEY_COUNT (1)
1202#endif
1203
1204#ifndef MYNEWT_VAL_BLE_MESH_MSG_CACHE_SIZE
1205#define MYNEWT_VAL_BLE_MESH_MSG_CACHE_SIZE (10)
1206#endif
1207
1208#ifndef MYNEWT_VAL_BLE_MESH_NODE_ID_TIMEOUT
1209#define MYNEWT_VAL_BLE_MESH_NODE_ID_TIMEOUT (60)
1210#endif
1211
1212#ifndef MYNEWT_VAL_BLE_MESH_OOB_INPUT_ACTIONS
1213#define MYNEWT_VAL_BLE_MESH_OOB_INPUT_ACTIONS (((BT_MESH_NO_INPUT)))
1214#endif
1215
1216#ifndef MYNEWT_VAL_BLE_MESH_OOB_INPUT_SIZE
1217#define MYNEWT_VAL_BLE_MESH_OOB_INPUT_SIZE (4)
1218#endif
1219
1220#ifndef MYNEWT_VAL_BLE_MESH_OOB_OUTPUT_ACTIONS
1221#define MYNEWT_VAL_BLE_MESH_OOB_OUTPUT_ACTIONS (((BT_MESH_DISPLAY_NUMBER)))
1222#endif
1223
1224#ifndef MYNEWT_VAL_BLE_MESH_OOB_OUTPUT_SIZE
1225#define MYNEWT_VAL_BLE_MESH_OOB_OUTPUT_SIZE (4)
1226#endif
1227
1228#ifndef MYNEWT_VAL_BLE_MESH_PB_ADV
1229#define MYNEWT_VAL_BLE_MESH_PB_ADV (1)
1230#endif
1231
1232#ifndef MYNEWT_VAL_BLE_MESH_PB_GATT
1233#define MYNEWT_VAL_BLE_MESH_PB_GATT (1)
1234#endif
1235
1236/* Overridden by @apache-mynewt-nimble/nimble/host/mesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1237#ifndef MYNEWT_VAL_BLE_MESH_PROV
1238#define MYNEWT_VAL_BLE_MESH_PROV (1)
1239#endif
1240
1241/* Overridden by @apache-mynewt-nimble/nimble/host/mesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1242#ifndef MYNEWT_VAL_BLE_MESH_PROXY
1243#define MYNEWT_VAL_BLE_MESH_PROXY (1)
1244#endif
1245
1246#ifndef MYNEWT_VAL_BLE_MESH_PROXY_FILTER_SIZE
1247#define MYNEWT_VAL_BLE_MESH_PROXY_FILTER_SIZE (1)
1248#endif
1249
1250#ifndef MYNEWT_VAL_BLE_MESH_RELAY
1251#define MYNEWT_VAL_BLE_MESH_RELAY (0)
1252#endif
1253
1254#ifndef MYNEWT_VAL_BLE_MESH_RPL_STORE_TIMEOUT
1255#define MYNEWT_VAL_BLE_MESH_RPL_STORE_TIMEOUT (5)
1256#endif
1257
1258#ifndef MYNEWT_VAL_BLE_MESH_RX_SDU_MAX
1259#define MYNEWT_VAL_BLE_MESH_RX_SDU_MAX (72)
1260#endif
1261
1262#ifndef MYNEWT_VAL_BLE_MESH_RX_SEG_MSG_COUNT
1263#define MYNEWT_VAL_BLE_MESH_RX_SEG_MSG_COUNT (2)
1264#endif
1265
1266#ifndef MYNEWT_VAL_BLE_MESH_SEQ_STORE_RATE
1267#define MYNEWT_VAL_BLE_MESH_SEQ_STORE_RATE (128)
1268#endif
1269
1270/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1271#ifndef MYNEWT_VAL_BLE_MESH_SETTINGS
1272#define MYNEWT_VAL_BLE_MESH_SETTINGS (0)
1273#endif
1274
1275#ifndef MYNEWT_VAL_BLE_MESH_SHELL
1276#define MYNEWT_VAL_BLE_MESH_SHELL (0)
1277#endif
1278
1279#ifndef MYNEWT_VAL_BLE_MESH_SHELL_MODELS
1280#define MYNEWT_VAL_BLE_MESH_SHELL_MODELS (0)
1281#endif
1282
1283#ifndef MYNEWT_VAL_BLE_MESH_STORE_TIMEOUT
1284#define MYNEWT_VAL_BLE_MESH_STORE_TIMEOUT (2)
1285#endif
1286
1287#ifndef MYNEWT_VAL_BLE_MESH_SUBNET_COUNT
1288#define MYNEWT_VAL_BLE_MESH_SUBNET_COUNT (1)
1289#endif
1290
1291#ifndef MYNEWT_VAL_BLE_MESH_TESTING
1292#define MYNEWT_VAL_BLE_MESH_TESTING (0)
1293#endif
1294
1295/* Overridden by apps/blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
1296#ifndef MYNEWT_VAL_BLE_MESH_TX_SEG_MAX
1297#define MYNEWT_VAL_BLE_MESH_TX_SEG_MAX (6)
1298#endif
1299
1300#ifndef MYNEWT_VAL_BLE_MESH_TX_SEG_MSG_COUNT
1301#define MYNEWT_VAL_BLE_MESH_TX_SEG_MSG_COUNT (4)
1302#endif
1303
1304#ifndef MYNEWT_VAL_BLE_SVC_BAS_SYSINIT_STAGE
1305#define MYNEWT_VAL_BLE_SVC_BAS_SYSINIT_STAGE (303)
1306#endif
1307
1308/*** @apache-mynewt-nimble/nimble/host/services/dis */
1309#ifndef MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM
1310#define MYNEWT_VAL_BLE_SVC_DIS_DEFAULT_READ_PERM (-1)
1311#endif
1312
1313#ifndef MYNEWT_VAL_BLE_SVC_DIS_FIRMWARE_REVISION_DEFAULT
1314#define MYNEWT_VAL_BLE_SVC_DIS_FIRMWARE_REVISION_DEFAULT (NULL)
1315#endif
1316
1317/* Value copied from BLE_SVC_DIS_DEFAULT_READ_PERM */
1318#ifndef MYNEWT_VAL_BLE_SVC_DIS_FIRMWARE_REVISION_READ_PERM
1319#define MYNEWT_VAL_BLE_SVC_DIS_FIRMWARE_REVISION_READ_PERM (-1)
1320#endif
1321
1322#ifndef MYNEWT_VAL_BLE_SVC_DIS_HARDWARE_REVISION_DEFAULT
1323#define MYNEWT_VAL_BLE_SVC_DIS_HARDWARE_REVISION_DEFAULT (NULL)
1324#endif
1325
1326/* Value copied from BLE_SVC_DIS_DEFAULT_READ_PERM */
1327#ifndef MYNEWT_VAL_BLE_SVC_DIS_HARDWARE_REVISION_READ_PERM
1328#define MYNEWT_VAL_BLE_SVC_DIS_HARDWARE_REVISION_READ_PERM (-1)
1329#endif
1330
1331#ifndef MYNEWT_VAL_BLE_SVC_DIS_MANUFACTURER_NAME_DEFAULT
1332#define MYNEWT_VAL_BLE_SVC_DIS_MANUFACTURER_NAME_DEFAULT (NULL)
1333#endif
1334
1335/* Value copied from BLE_SVC_DIS_DEFAULT_READ_PERM */
1336#ifndef MYNEWT_VAL_BLE_SVC_DIS_MANUFACTURER_NAME_READ_PERM
1337#define MYNEWT_VAL_BLE_SVC_DIS_MANUFACTURER_NAME_READ_PERM (-1)
1338#endif
1339
1340#ifndef MYNEWT_VAL_BLE_SVC_DIS_MODEL_NUMBER_DEFAULT
1341#define MYNEWT_VAL_BLE_SVC_DIS_MODEL_NUMBER_DEFAULT ("Apache Mynewt NimBLE")
1342#endif
1343
1344#ifndef MYNEWT_VAL_BLE_SVC_DIS_MODEL_NUMBER_READ_PERM
1345#define MYNEWT_VAL_BLE_SVC_DIS_MODEL_NUMBER_READ_PERM (0)
1346#endif
1347
1348#ifndef MYNEWT_VAL_BLE_SVC_DIS_SERIAL_NUMBER_DEFAULT
1349#define MYNEWT_VAL_BLE_SVC_DIS_SERIAL_NUMBER_DEFAULT (NULL)
1350#endif
1351
1352/* Value copied from BLE_SVC_DIS_DEFAULT_READ_PERM */
1353#ifndef MYNEWT_VAL_BLE_SVC_DIS_SERIAL_NUMBER_READ_PERM
1354#define MYNEWT_VAL_BLE_SVC_DIS_SERIAL_NUMBER_READ_PERM (-1)
1355#endif
1356
1357#ifndef MYNEWT_VAL_BLE_SVC_DIS_SOFTWARE_REVISION_DEFAULT
1358#define MYNEWT_VAL_BLE_SVC_DIS_SOFTWARE_REVISION_DEFAULT (NULL)
1359#endif
1360
1361/* Value copied from BLE_SVC_DIS_DEFAULT_READ_PERM */
1362#ifndef MYNEWT_VAL_BLE_SVC_DIS_SOFTWARE_REVISION_READ_PERM
1363#define MYNEWT_VAL_BLE_SVC_DIS_SOFTWARE_REVISION_READ_PERM (-1)
1364#endif
1365
1366#ifndef MYNEWT_VAL_BLE_SVC_DIS_SYSINIT_STAGE
1367#define MYNEWT_VAL_BLE_SVC_DIS_SYSINIT_STAGE (303)
1368#endif
1369
1370#ifndef MYNEWT_VAL_BLE_SVC_DIS_SYSTEM_ID_DEFAULT
1371#define MYNEWT_VAL_BLE_SVC_DIS_SYSTEM_ID_DEFAULT (NULL)
1372#endif
1373
1374#ifndef MYNEWT_VAL_BLE_SVC_DIS_PNP_ID_DEFAULT
1375#define MYNEWT_VAL_BLE_SVC_DIS_PNP_ID_DEFAULT (NULL)
1376#endif
1377
1378/* Value copied from BLE_SVC_DIS_DEFAULT_READ_PERM */
1379#ifndef MYNEWT_VAL_BLE_SVC_DIS_SYSTEM_ID_READ_PERM
1380#define MYNEWT_VAL_BLE_SVC_DIS_SYSTEM_ID_READ_PERM (-1)
1381#endif
1382
1383/* Value copied from BLE_SVC_DIS_DEFAULT_READ_PERM */
1384#ifndef MYNEWT_VAL_BLE_SVC_DIS_PNP_ID_READ_PERM
1385#define MYNEWT_VAL_BLE_SVC_DIS_PNP_ID_READ_PERM (-1)
1386#endif
1387
1388/*** @apache-mynewt-nimble/nimble/host/services/gap */
1389#ifndef MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE
1390#define MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE (0)
1391#endif
1392
1393#ifndef MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE_WRITE_PERM
1394#define MYNEWT_VAL_BLE_SVC_GAP_APPEARANCE_WRITE_PERM (-1)
1395#endif
1396
1397#ifndef MYNEWT_VAL_BLE_SVC_GAP_CENTRAL_ADDRESS_RESOLUTION
1398#define MYNEWT_VAL_BLE_SVC_GAP_CENTRAL_ADDRESS_RESOLUTION (-1)
1399#endif
1400
1401#ifndef MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME
1402#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME ("nimble")
1403#endif
1404
1405#ifndef MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_MAX_LENGTH
1406#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_MAX_LENGTH (31)
1407#endif
1408
1409#ifndef MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_WRITE_PERM
1410#define MYNEWT_VAL_BLE_SVC_GAP_DEVICE_NAME_WRITE_PERM (-1)
1411#endif
1412
1413#ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL
1414#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL (0)
1415#endif
1416
1417#ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL
1418#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL (0)
1419#endif
1420
1421#ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_SLAVE_LATENCY
1422#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_SLAVE_LATENCY (0)
1423#endif
1424
1425#ifndef MYNEWT_VAL_BLE_SVC_GAP_PPCP_SUPERVISION_TMO
1426#define MYNEWT_VAL_BLE_SVC_GAP_PPCP_SUPERVISION_TMO (0)
1427#endif
1428
1429#ifndef MYNEWT_VAL_BLE_SVC_GAP_SYSINIT_STAGE
1430#define MYNEWT_VAL_BLE_SVC_GAP_SYSINIT_STAGE (301)
1431#endif
1432
1433/*** @apache-mynewt-nimble/nimble/host/services/gatt */
1434#ifndef MYNEWT_VAL_BLE_SVC_GATT_SYSINIT_STAGE
1435#define MYNEWT_VAL_BLE_SVC_GATT_SYSINIT_STAGE (302)
1436#endif
1437
1438/*** @apache-mynewt-nimble/nimble/host/services/ias */
1439#ifndef MYNEWT_VAL_BLE_SVC_IAS_SYSINIT_STAGE
1440#define MYNEWT_VAL_BLE_SVC_IAS_SYSINIT_STAGE (303)
1441#endif
1442
1443/*** @apache-mynewt-nimble/nimble/host/services/ipss */
1444#ifndef MYNEWT_VAL_BLE_SVC_IPSS_SYSINIT_STAGE
1445#define MYNEWT_VAL_BLE_SVC_IPSS_SYSINIT_STAGE (303)
1446#endif
1447
1448/*** @apache-mynewt-nimble/nimble/host/services/lls */
1449#ifndef MYNEWT_VAL_BLE_SVC_LLS_SYSINIT_STAGE
1450#define MYNEWT_VAL_BLE_SVC_LLS_SYSINIT_STAGE (303)
1451#endif
1452
1453/*** @apache-mynewt-nimble/nimble/host/services/tps */
1454#ifndef MYNEWT_VAL_BLE_SVC_TPS_SYSINIT_STAGE
1455#define MYNEWT_VAL_BLE_SVC_TPS_SYSINIT_STAGE (303)
1456#endif
1457
1458/*** @apache-mynewt-nimble/nimble/transport */
1459#undef MYNEWT_VAL_BLE_ACL_BUF_COUNT
1460
1461#undef MYNEWT_VAL_BLE_ACL_BUF_SIZE
1462
1463#undef MYNEWT_VAL_BLE_HCI_BRIDGE
1464
1465#undef MYNEWT_VAL_BLE_HCI_EVT_BUF_SIZE
1466
1467#undef MYNEWT_VAL_BLE_HCI_EVT_HI_BUF_COUNT
1468
1469#undef MYNEWT_VAL_BLE_HCI_EVT_LO_BUF_COUNT
1470
1471#undef MYNEWT_VAL_BLE_HCI_TRANSPORT
1472
1473#ifndef MYNEWT_VAL_BLE_TRANSPORT
1474#define MYNEWT_VAL_BLE_TRANSPORT (1)
1475#endif
1476
1477#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_COUNT
1478#define MYNEWT_VAL_BLE_TRANSPORT_ACL_COUNT (10)
1479#endif
1480
1481/* Value copied from BLE_TRANSPORT_ACL_COUNT */
1482#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_HS_COUNT
1483#define MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_HS_COUNT (10)
1484#endif
1485
1486/* Value copied from BLE_TRANSPORT_ACL_COUNT */
1487#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT
1488#define MYNEWT_VAL_BLE_TRANSPORT_ACL_FROM_LL_COUNT (10)
1489#endif
1490
1491#ifndef MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE
1492#define MYNEWT_VAL_BLE_TRANSPORT_ACL_SIZE (255)
1493#endif
1494
1495#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT
1496#define MYNEWT_VAL_BLE_TRANSPORT_EVT_COUNT (4)
1497#endif
1498
1499#ifndef MYNEWT_VAL_BLE_HCI_EVT_HI_BUF_COUNT
1500#define MYNEWT_VAL_BLE_HCI_EVT_HI_BUF_COUNT (30)
1501#endif
1502
1503#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT
1504#define MYNEWT_VAL_BLE_TRANSPORT_EVT_DISCARDABLE_COUNT (16)
1505#endif
1506
1507/* Overridden by @apache-mynewt-nimble/nimble/transport (defined by @apache-mynewt-nimble/nimble/transport) */
1508#ifndef MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE
1509#define MYNEWT_VAL_BLE_TRANSPORT_EVT_SIZE (257)
1510#endif
1511
1512#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS__custom
1513#define MYNEWT_VAL_BLE_TRANSPORT_HS__custom (0)
1514#endif
1515#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS__dialog_cmac
1516#define MYNEWT_VAL_BLE_TRANSPORT_HS__dialog_cmac (0)
1517#endif
1518#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS__native
1519#define MYNEWT_VAL_BLE_TRANSPORT_HS__native (1)
1520#endif
1521#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS__nrf5340
1522#define MYNEWT_VAL_BLE_TRANSPORT_HS__nrf5340 (0)
1523#endif
1524#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS__uart
1525#define MYNEWT_VAL_BLE_TRANSPORT_HS__uart (0)
1526#endif
1527#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS__usb
1528#define MYNEWT_VAL_BLE_TRANSPORT_HS__usb (0)
1529#endif
1530#ifndef MYNEWT_VAL_BLE_TRANSPORT_HS
1531#define MYNEWT_VAL_BLE_TRANSPORT_HS (1)
1532#endif
1533
1534/* Overridden by @apache-mynewt-nimble/porting/targets/porting_default (defined by @apache-mynewt-nimble/nimble/transport) */
1535#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL__custom
1536#define MYNEWT_VAL_BLE_TRANSPORT_LL__custom (0)
1537#endif
1538#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL__dialog_cmac
1539#define MYNEWT_VAL_BLE_TRANSPORT_LL__dialog_cmac (0)
1540#endif
1541#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL__native
1542#define MYNEWT_VAL_BLE_TRANSPORT_LL__native (0)
1543#endif
1544#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL__nrf5340
1545#define MYNEWT_VAL_BLE_TRANSPORT_LL__nrf5340 (0)
1546#endif
1547#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL__socket
1548#define MYNEWT_VAL_BLE_TRANSPORT_LL__socket (1)
1549#endif
1550#ifndef MYNEWT_VAL_BLE_TRANSPORT_LL
1551#define MYNEWT_VAL_BLE_TRANSPORT_LL (1)
1552#endif
1553
1554/*** @apache-mynewt-nimble/nimble/transport/socket */
1555#ifndef MYNEWT_VAL_BLE_SOCK_CLI_SYSINIT_STAGE
1556#define MYNEWT_VAL_BLE_SOCK_CLI_SYSINIT_STAGE (500)
1557#endif
1558
1559#ifndef MYNEWT_VAL_BLE_SOCK_LINUX_DEV
1560#define MYNEWT_VAL_BLE_SOCK_LINUX_DEV (0)
1561#endif
1562
1563#ifndef MYNEWT_VAL_BLE_SOCK_STACK_SIZE
1564#define MYNEWT_VAL_BLE_SOCK_STACK_SIZE (80)
1565#endif
1566
1567#ifndef MYNEWT_VAL_BLE_SOCK_TASK_PRIO
1568#define MYNEWT_VAL_BLE_SOCK_TASK_PRIO (9)
1569#endif
1570
1571#ifndef MYNEWT_VAL_BLE_SOCK_TCP_PORT
1572#define MYNEWT_VAL_BLE_SOCK_TCP_PORT (14433)
1573#endif
1574
1575/* Overridden by @apache-mynewt-nimble/porting/targets/porting_default (defined by @apache-mynewt-nimble/nimble/transport/socket) */
1576#ifndef MYNEWT_VAL_BLE_SOCK_USE_LINUX_BLUE
1577#define MYNEWT_VAL_BLE_SOCK_USE_LINUX_BLUE (1)
1578#endif
1579
1580#ifndef MYNEWT_VAL_BLE_SOCK_USE_NUTTX
1581#define MYNEWT_VAL_BLE_SOCK_USE_NUTTX (0)
1582#endif
1583
1584/* Overridden by @apache-mynewt-nimble/porting/targets/porting_default (defined by @apache-mynewt-nimble/nimble/transport/socket) */
1585#ifndef MYNEWT_VAL_BLE_SOCK_USE_TCP
1586#define MYNEWT_VAL_BLE_SOCK_USE_TCP (0)
1587#endif
1588
1589/*** newt */
1590#ifndef MYNEWT_VAL_APP_NAME
1591#define MYNEWT_VAL_APP_NAME ("dummy_app")
1592#endif
1593
1594#ifndef MYNEWT_VAL_APP_dummy_app
1595#define MYNEWT_VAL_APP_dummy_app (1)
1596#endif
1597
1598#ifndef MYNEWT_VAL_ARCH_NAME
1599#define MYNEWT_VAL_ARCH_NAME ("sim")
1600#endif
1601
1602#ifndef MYNEWT_VAL_ARCH_sim
1603#define MYNEWT_VAL_ARCH_sim (1)
1604#endif
1605
1606#ifndef MYNEWT_VAL_BSP_NAME
1607#define MYNEWT_VAL_BSP_NAME ("native")
1608#endif
1609
1610#ifndef MYNEWT_VAL_BSP_native
1611#define MYNEWT_VAL_BSP_native (1)
1612#endif
1613
1614#ifndef MYNEWT_VAL_NEWT_FEATURE_LOGCFG
1615#define MYNEWT_VAL_NEWT_FEATURE_LOGCFG (1)
1616#endif
1617
1618#ifndef MYNEWT_VAL_NEWT_FEATURE_SYSDOWN
1619#define MYNEWT_VAL_NEWT_FEATURE_SYSDOWN (1)
1620#endif
1621
1622#ifndef MYNEWT_VAL_TARGET_NAME
1623#define MYNEWT_VAL_TARGET_NAME ("porting_default")
1624#endif
1625
1626#ifndef MYNEWT_VAL_TARGET_porting_default
1627#define MYNEWT_VAL_TARGET_porting_default (1)
1628#endif
1629
1630#ifndef MYNEWT_VAL_BLE_LL_CONN_PHY_DEFAULT_PREF_MASK
1631#define MYNEWT_VAL_BLE_LL_CONN_PHY_DEFAULT_PREF_MASK (0x07)
1632#endif
1633
1634#endif
1635#endif