diff --git a/source/projectconfig.h b/source/projectconfig.h index 2f06a87..a0e9da2 100644 --- a/source/projectconfig.h +++ b/source/projectconfig.h @@ -18,6 +18,7 @@ #define _PROJECTCONFIG_H_ #include "ble/blecommon.h" +#include "ble/GapAdvertisingData.h" /*========================================================================= MCU & BOARD SELCTION @@ -112,7 +113,7 @@ #define CFG_BLE_SEC_PARAM_MAX_KEY_SIZE 16 /*--------------------------------- GAP -------------------------------*/ - #define CFG_GAP_APPEARANCE BLE_APPEARANCE_GENERIC_TAG + #define CFG_GAP_APPEARANCE GapAdvertisingData::GENERIC_TAG #define CFG_GAP_LOCAL_NAME "nRF5x" #define CFG_GAP_CONNECTION_MIN_INTERVAL_MS 50 /**< Minimum acceptable connection interval */