diff options
Diffstat (limited to 'src/sample/ble_central/app_flags.h')
-rw-r--r-- | src/sample/ble_central/app_flags.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/sample/ble_central/app_flags.h b/src/sample/ble_central/app_flags.h new file mode 100644 index 0000000..a1a5956 --- /dev/null +++ b/src/sample/ble_central/app_flags.h @@ -0,0 +1,38 @@ +/** +***************************************************************************************** +* Copyright(c) 2017, Realtek Semiconductor Corporation. All rights reserved. +***************************************************************************************** + * @file app_flags.h + * @brief This file is used to config app functions. + * @author jane + * @date 2017-06-06 + * @version v1.0 + ************************************************************************************** + * @attention + * <h2><center>© COPYRIGHT 2017 Realtek Semiconductor Corporation</center></h2> + ************************************************************************************** + */ +#ifndef _APP_FLAGS_H_ +#define _APP_FLAGS_H_ + +#include "upperstack_config.h" + +/** @defgroup CENTRAL_Config Central App Configuration + * @brief This file is used to config app functions. + * @{ + */ +/*============================================================================* + * Constants + *============================================================================*/ + +/** @brief Config APP LE link number */ +#define APP_MAX_LINKS 2 +/** @brief Config GATT services storage: 0-Not save, 1-Save to flash + * + * If configure to 1, the GATT services discovery results will save to the flash. + */ +#define F_BT_GATT_SRV_HANDLE_STORAGE 0 + +/** @} */ /* End of group CENTRAL_Config */ + +#endif |