1 /* USER CODE BEGIN Header */ 2 3 /** 4 ****************************************************************************** 5 * @file dtm_burst.h 6 * @author GPM WBL Application Team 7 * @brief Header file for module implementing test burst commands 8 ****************************************************************************** 9 * @attention 10 * 11 * Copyright (c) 2024 STMicroelectronics. 12 * All rights reserved. 13 * 14 * This software is licensed under terms that can be found in the LICENSE file 15 * in the root directory of this software component. 16 * If no LICENSE file comes with this software, it is provided AS-IS. 17 * 18 ****************************************************************************** 19 */ 20 /* USER CODE END Header */ 21 22 #ifndef _DTM_BURST_H_ 23 #define _DTM_BURST_H_ 24 25 #include "ble_status.h" 26 27 tBleStatus BURST_TXNotificationStart(uint16_t Connection_Handle, uint16_t Service_Handle, 28 uint16_t Char_Handle, uint16_t Value_Length); 29 30 tBleStatus BURST_TXWriteCommandStart(uint16_t Connection_Handle, uint16_t Attr_Handle, 31 uint16_t Value_Length); 32 33 tBleStatus BURST_RXStart(uint16_t Connection_Handle, uint16_t Attribute_Handle, uint8_t Notifications_WriteCmds); 34 35 tBleStatus BURST_TXStop(void); 36 37 tBleStatus BURST_RXStop(void); 38 39 uint8_t BURST_NotificationReceived(uint16_t Connection_Handle, uint16_t Attribute_Handle, uint16_t Value_Length, uint8_t Value[]); 40 41 uint8_t BURST_WriteReceived(uint16_t Connection_Handle, uint16_t Attribute_Handle, uint16_t Value_Length, uint8_t Value[]); 42 43 uint8_t BURST_BufferAvailableNotify(void); 44 45 uint32_t BURST_TXReport(void); 46 47 uint32_t BURST_RXReport(uint16_t *Data_Length, uint32_t *Sequence_Errors); 48 49 void BURST_Tick(void); 50 51 void BURST_StartCallback(void); 52 53 #endif /* _DTM_BURST_H_ */ 54