aboutsummaryrefslogtreecommitdiff
path: root/src/sample/ble_scatternet/app_flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sample/ble_scatternet/app_flags.h')
-rw-r--r--src/sample/ble_scatternet/app_flags.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/sample/ble_scatternet/app_flags.h b/src/sample/ble_scatternet/app_flags.h
new file mode 100644
index 0000000..efc5b06
--- /dev/null
+++ b/src/sample/ble_scatternet/app_flags.h
@@ -0,0 +1,40 @@
+/**
+*****************************************************************************************
+* 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>&copy; COPYRIGHT 2017 Realtek Semiconductor Corporation</center></h2>
+ **************************************************************************************
+ */
+#ifndef _APP_FLAGS_H_
+#define _APP_FLAGS_H_
+
+#include "upperstack_config.h"
+
+/** @defgroup SCATTERNET_Config Scatternet 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 airplane mode support: 0-Not built in, 1-built in, use user command to set*/
+#define F_BT_AIRPLANE_MODE_SUPPORT 0
+/** @brief Config device name characteristic and appearance characteristic property: 0-Not writeable, 1-writeable, save to flash*/
+#define F_BT_GAPS_CHAR_WRITEABLE 0
+/** @brief Config set physical: 0-Not built in, 1-built in, use user command to set*/
+#define F_BT_LE_5_0_SET_PHY_SUPPORT 0
+/** @brief Config local address type: 0-pulic address, 1-static random address */
+#define F_BT_LE_USE_STATIC_RANDOM_ADDR 0
+
+/** @} */ /* End of group SCATTERNET_Config */
+#endif