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/NUCLEO-WB15CC/Applications/BLE/BLE_p2pClient/Core/Inc/app_conf.h')
-rw-r--r--Projects/NUCLEO-WB15CC/Applications/BLE/BLE_p2pClient/Core/Inc/app_conf.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/Projects/NUCLEO-WB15CC/Applications/BLE/BLE_p2pClient/Core/Inc/app_conf.h b/Projects/NUCLEO-WB15CC/Applications/BLE/BLE_p2pClient/Core/Inc/app_conf.h
index 30cc641fe..38696e563 100644
--- a/Projects/NUCLEO-WB15CC/Applications/BLE/BLE_p2pClient/Core/Inc/app_conf.h
+++ b/Projects/NUCLEO-WB15CC/Applications/BLE/BLE_p2pClient/Core/Inc/app_conf.h
@@ -41,7 +41,7 @@
/**
* Define Advertising parameters
*/
-#define CFG_ADV_BD_ADDRESS (0)
+#define CFG_ADV_BD_ADDRESS (0x7257acd87a6c)
/**
* Define IO Authentication
@@ -115,7 +115,7 @@
* SMPS not used when Set to 0
* SMPS used when Set to 1
*/
-#define CFG_USE_SMPS 1
+#define CFG_USE_SMPS 0
/* USER CODE BEGIN Generic_Parameters */
@@ -295,7 +295,9 @@
* allocated in the queue of received events and can be used to optimize the amount of RAM allocated by the Memory Manager.
* It should not exceed 255 which is the maximum HCI packet payload size (a greater value is a lost of memory as it will
* never be used)
- * With the current wireless firmware implementation, this parameter shall be kept to 255
+ * It shall be at least 4 to receive the command status event in one frame.
+ * The default value is set to 27 to allow receiving an event of MTU size in a single buffer. This value maybe reduced
+ * further depending on the application.
*/
#define CFG_TLBLE_MOST_EVENT_PAYLOAD_SIZE 255 /**< Set to 255 with the memory manager and the mailbox */
@@ -349,6 +351,11 @@
#define CFG_LPM_STANDBY_SUPPORTED 0
/******************************************************************************
+ * RTC interface
+ ******************************************************************************/
+#define HAL_RTCEx_WakeUpTimerIRQHandler(...) HW_TS_RTC_Wakeup_Handler( )
+
+/******************************************************************************
* Timer Server
******************************************************************************/
/**
@@ -540,11 +547,12 @@ typedef enum
CFG_TASK_START_SCAN_ID,
CFG_TASK_CONN_DEV_1_ID,
CFG_TASK_SEARCH_SERVICE_ID,
- CFG_TASK_SW1_BUTTON_PUSHED_ID,
CFG_TASK_CONN_UPDATE_ID,
CFG_TASK_HCI_ASYNCH_EVT_ID,
/* USER CODE BEGIN CFG_Task_Id_With_HCI_Cmd_t */
-
+ CFG_TASK_SW1_BUTTON_PUSHED_ID,
+ CFG_TASK_SW2_BUTTON_PUSHED_ID,
+ CFG_TASK_SW3_BUTTON_PUSHED_ID,
/* USER CODE END CFG_Task_Id_With_HCI_Cmd_t */
CFG_LAST_TASK_ID_WITH_HCICMD, /**< Shall be LAST in the list */
} CFG_Task_Id_With_HCI_Cmd_t;