1 #ifndef _PCA10040_MESH_CONFIG_H_
2 #define _PCA10040_MESH_CONFIG_H_
3 
4 /* Generic options */
5 #define CONFIG_BT_MESH_MODEL_KEY_COUNT 2
6 #define CONFIG_BT_MESH_MODEL_GROUP_COUNT 2
7 #define CONFIG_BT_MESH_APP_KEY_COUNT 1
8 #define CONFIG_BT_MESH_SUBNET_COUNT 2
9 #define CONFIG_BT_MESH_CRPL 5
10 #define CONFIG_BT_MESH_ADV_BUF_COUNT 32
11 #define CONFIG_BT_MESH_LABEL_COUNT 1
12 #define CONFIG_BT_MESH_MSG_CACHE_SIZE 2
13 #define CONFIG_BT_MESH_TX_SEG_MSG_COUNT 2
14 #define CONFIG_BT_MESH_RX_SDU_MAX 36
15 #define CONFIG_BT_MESH_RX_SEG_MSG_COUNT 2
16 #define CONFIG_BT_MESH_ADV_PRIO 41
17 #define CONFIG_BT_MESH_PROXY_FILTER_SIZE 1
18 #define CONFIG_BT_MESH_NODE_ID_TIMEOUT 60
19 
20 /* Friend related options */
21 #ifdef CONFIG_BT_MESH_FRIEND
22 #define CONFIG_BT_MESH_FRIEND_RECV_WIN 255
23 #define CONFIG_BT_MESH_FRIEND_QUEUE_SIZE 16
24 #define CONFIG_BT_MESH_FRIEND_SUB_LIST_SIZE 3
25 #define CONFIG_BT_MESH_FRIEND_LPN_COUNT 2
26 #define CONFIG_BT_MESH_FRIEND_SEG_RX 1
27 #endif // CONFIG_BT_MESH_FRIEND
28 
29 /* Low power related options */
30 #ifdef CONFIG_BT_MESH_LOW_POWER
31 #define CONFIG_BT_MESH_LPN_ESTABLISHMENT
32 #define CONFIG_BT_MESH_LPN_AUTO
33 #define CONFIG_BT_MESH_LPN_AUTO_TIMEOUT 15
34 #define CONFIG_BT_MESH_LPN_RETRY_TIMEOUT 8
35 #define CONFIG_BT_MESH_LPN_RSSI_FACTOR 0
36 #define CONFIG_BT_MESH_LPN_RECV_WIN_FACTOR 0
37 #define CONFIG_BT_MESH_LPN_MIN_QUEUE_SIZE 1
38 #define CONFIG_BT_MESH_LPN_RECV_DELAY 100
39 #define CONFIG_BT_MESH_LPN_POLL_TIMEOUT 300
40 #define CONFIG_BT_MESH_LPN_INIT_POLL_TIMEOUT CONFIG_BT_MESH_LPN_POLL_TIMEOUT
41 #define CONFIG_BT_MESH_LPN_SCAN_LATENCY 10
42 #define CONFIG_BT_MESH_LPN_GROUPS 8
43 #endif // CONFIG_BT_MESH_LOW_POWER
44 
45 /* Proxy related options */
46 #ifdef CONFIG_BT_MESH_PROXY
47 #define CONFIG_BT_MESH_PROXY_FILTER_SIZE 1
48 #endif // BT_MESH_PROXY
49 
50 #endif
51