diff --git a/port/daemon/configure.ac b/port/daemon/configure.ac index a42f38b28..6f7f2e7b9 100644 --- a/port/daemon/configure.ac +++ b/port/daemon/configure.ac @@ -132,12 +132,12 @@ echo rm -f btstack_config.h echo "//" >> btstack_config.h echo "// btstack_config.h" >> btstack_config.h -echo "// created by configure for BTstack " >> btstack_config.h +echo "// created by configure for BTstack" >> btstack_config.h echo "//" `date` >> btstack_config.h echo "//" >> btstack_config.h echo >> btstack_config.h -echo "#ifndef __BTSTACK_CONFIG" >> btstack_config.h -echo "#define __BTSTACK_CONFIG" >> btstack_config.h +echo "#ifndef BTSTACK_CONFIG_H" >> btstack_config.h +echo "#define BTSTACK_CONFIG_H" >> btstack_config.h echo >> btstack_config.h echo "// Port related features" >> btstack_config.h @@ -168,7 +168,8 @@ echo >> btstack_config.h echo "// BTstack configuration. buffers, sizes, .." >> btstack_config.h echo "#define HCI_ACL_PAYLOAD_SIZE 1021" >> btstack_config.h -echo "#define NVM_NUM_DEVICE_DB_ENTRIES 20" >> btstack_config.h +echo "#define NVM_NUM_LINK_KEYS 20" >> btstack_config.h +echo "#define NVM_NUM_DEVICE_DB_ENTRIES 16" >> btstack_config.h echo >> btstack_config.h echo "// Daemon configuration" >> btstack_config.h diff --git a/tool/metrics/btstack_config.h b/tool/metrics/btstack_config.h index c2ef1e12a..ad119ed2f 100644 --- a/tool/metrics/btstack_config.h +++ b/tool/metrics/btstack_config.h @@ -33,7 +33,8 @@ #define MAX_ATT_DB_SIZE 1024 -#define NVM_NUM_DEVICE_DB_ENTRIES 10 +#define NVM_NUM_LINK_KEYS 16 +#define NVM_NUM_DEVICE_DB_ENTRIES 16 // Mesh Configuration #define ENABLE_MESH