summaryrefslogtreecommitdiff
path: root/firmware/memory_chip_gone/Middlewares/ST/STM32_WPAN/ble/ble.h
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2026-02-17 11:37:50 -0800
committerAnson Bridges <bridges.anson@gmail.com>2026-02-17 11:37:50 -0800
commitfb1611c0ca99d9e609057c46507be2af8389bb7b (patch)
tree646ac568fdad1e6cf9e1f5767295b183bc5c5441 /firmware/memory_chip_gone/Middlewares/ST/STM32_WPAN/ble/ble.h
parent6e952fe110c2a48204c8cb0a836309ab97e5979a (diff)
firmware coadHEADmaster
Diffstat (limited to 'firmware/memory_chip_gone/Middlewares/ST/STM32_WPAN/ble/ble.h')
-rw-r--r--firmware/memory_chip_gone/Middlewares/ST/STM32_WPAN/ble/ble.h88
1 files changed, 88 insertions, 0 deletions
diff --git a/firmware/memory_chip_gone/Middlewares/ST/STM32_WPAN/ble/ble.h b/firmware/memory_chip_gone/Middlewares/ST/STM32_WPAN/ble/ble.h
new file mode 100644
index 0000000..378a14c
--- /dev/null
+++ b/firmware/memory_chip_gone/Middlewares/ST/STM32_WPAN/ble/ble.h
@@ -0,0 +1,88 @@
+/**
+ ******************************************************************************
+ * @file ble.h
+ * @author MCD Application Team
+ * @brief BLE interface
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2018-2021 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __BLE_H
+#define __BLE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+/* Includes ------------------------------------------------------------------*/
+#include "ble_conf.h"
+#include "ble_dbg_conf.h"
+
+/**< core */
+#include "core/ble_core.h"
+#include "core/ble_bufsize.h"
+#include "core/ble_defs.h"
+#include "core/auto/ble_vs_codes.h"
+#include "core/ble_legacy.h"
+#include "core/ble_std.h"
+
+/**< blesvc */
+#include "svc/Inc/bas.h"
+#include "svc/Inc/bls.h"
+#include "svc/Inc/crs_stm.h"
+#include "svc/Inc/dis.h"
+#include "svc/Inc/eds_stm.h"
+#include "svc/Inc/hids.h"
+#include "svc/Inc/hrs.h"
+#include "svc/Inc/hts.h"
+#include "svc/Inc/ias.h"
+#include "svc/Inc/lls.h"
+#include "svc/Inc/tps.h"
+#include "svc/Inc/motenv_stm.h"
+#include "svc/Inc/p2p_stm.h"
+#include "svc/Inc/zdd_stm.h"
+#include "svc/Inc/otas_stm.h"
+#include "svc/Inc/mesh.h"
+#include "svc/Inc/template_stm.h"
+
+#include "svc/Inc/svc_ctl.h"
+
+#include "svc/Inc/uuid.h"
+
+
+/* Exported types ------------------------------------------------------------*/
+/* Exported constants --------------------------------------------------------*/
+/* External variables --------------------------------------------------------*/
+/* Exported macros -----------------------------------------------------------*/
+ /* -------------------------------- *
+ * [retrieved from ble_legacy file]
+ * Macro to get RSSI from advertising report #0.
+ * "p" must be a pointer to the event parameters buffer
+ * -------------------------------- */
+#define HCI_LE_ADVERTISING_REPORT_RSSI_0(p) \
+ (*(int8_t*)((&((hci_le_advertising_report_event_rp0*)(p))-> \
+ Advertising_Report[0].Length_Data) + 1 + \
+ ((hci_le_advertising_report_event_rp0*)(p))-> \
+ Advertising_Report[0].Length_Data))
+
+/* Exported functions ------------------------------------------------------- */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*__BLE_H */
+
+