/** **************************************************************************************** * * @file rwapp_config.h * * @brief Application configuration definition * * Copyright (C) RivieraWaves 2009-2016 * **************************************************************************************** */ #ifndef _RWAPP_CONFIG_H_ #define _RWAPP_CONFIG_H_ /** **************************************************************************************** * @addtogroup app * @brief Application configuration definition * * @{ **************************************************************************************** */ /* * INCLUDE FILES **************************************************************************************** */ /* * DEFINES **************************************************************************************** */ #define CFG_APP_BATT /******************************************************************************************/ /* ------------------------- BLE APPLICATION SETTINGS * -----------------------------*/ /******************************************************************************************/ /// Application Profile #if defined(CFG_APP_PRF) #define BLE_APP_PRF 1 #else // defined(CFG_APP_PRF) #define BLE_APP_PRF 0 #endif // defined(CFG_APP_PRF) /// Health Thermometer Application #if defined(CFG_APP_HT) #define BLE_APP_HT 1 #else // defined(CFG_APP_HT) #define BLE_APP_HT 0 #endif // defined(CFG_APP_HT) /// HID Application #if defined(CFG_APP_HID) #define BLE_APP_HID 1 #else // defined(CFG_APP_HID) #define BLE_APP_HID 0 #endif // defined(CFG_APP_HID) /// DIS Application #if defined(CFG_APP_DIS) #define BLE_APP_DIS 1 #else // defined(CFG_APP_DIS) #define BLE_APP_DIS 0 #endif // defined(CFG_APP_DIS) /// Battery Service Application #if defined(CFG_APP_BATT) #define BLE_APP_BATT 1 #else #define BLE_APP_BATT 0 #endif //(BLE_APP_BATT) // The slave sends test data to the master once per second. #define SLAVE_SEND_TEST_DATA (0) /// @} rwapp_config #endif /* _RWAPP_CONFIG_H_ */