Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_DataThroughput/STM32_WPAN/App/ble_conf.h')
-rw-r--r--Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_DataThroughput/STM32_WPAN/App/ble_conf.h50
1 files changed, 28 insertions, 22 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_DataThroughput/STM32_WPAN/App/ble_conf.h b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_DataThroughput/STM32_WPAN/App/ble_conf.h
index 058f570cf..e9e85881b 100644
--- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_DataThroughput/STM32_WPAN/App/ble_conf.h
+++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/BLE/BLE_DataThroughput/STM32_WPAN/App/ble_conf.h
@@ -1,26 +1,27 @@
+/* USER CODE BEGIN Header */
/**
******************************************************************************
- * @file ble_conf.h
- * @author MCD Application Team
- * @brief BLE configuration file
+ * File Name : App/ble_conf.h
+ * Description : Configuration file for BLE Middleware.
+ *
******************************************************************************
- * @attention
- *
- * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
- * All rights reserved.</center></h2>
- *
- * This software component is licensed by ST under Ultimate Liberty license
- * SLA0044, the "License"; You may not use this file except in compliance with
- * the License. You may obtain a copy of the License at:
- * www.st.com/SLA0044
- *
- ******************************************************************************
- */
-
+ * @attention
+ *
+ * <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
+ * All rights reserved.</center></h2>
+ *
+ * This software component is licensed by ST under Ultimate Liberty license
+ * SLA0044, the "License"; You may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at:
+ * www.st.com/SLA0044
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __BLE_CONF_H
-#define __BLE_CONF_H
+#ifndef BLE_CONF_H
+#define BLE_CONF_H
#include "app_conf.h"
@@ -30,6 +31,7 @@
* blesvc
*
******************************************************************************/
+
/**
* There is one handler per service enabled
* Note: There is no handler for the Device Information Service
@@ -39,7 +41,7 @@
*/
#define BLE_CFG_SVC_MAX_NBR_CB 7
-#define BLE_CFG_CLT_MAX_NBR_CB 3
+#define BLE_CFG_CLT_MAX_NBR_CB 1
/******************************************************************************
* Device Information Service (DIS)
@@ -75,9 +77,13 @@
#define BLE_CFG_HRS_ENERGY_EXPENDED_INFO_FLAG 1 /**< ENERGY EXTENDED INFO FLAG */
#define BLE_CFG_HRS_ENERGY_RR_INTERVAL_FLAG 1 /**< Max number of RR interval values - Shall not be greater than 9 */
+/******************************************************************************
+ * GAP Service - Appearance
+ ******************************************************************************/
+#define BLE_CFG_UNKNOWN_APPEARANCE (0)
+#define BLE_CFG_HR_SENSOR_APPEARANCE (832)
+#define BLE_CFG_GAP_APPEARANCE (BLE_CFG_HR_SENSOR_APPEARANCE)
-
-#endif /*__BLE_CONF_H */
-
+#endif /*BLE_CONF_H */
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/