1 /* 2 * Copyright (C) 2015-2020 Alibaba Group Holding Limited 3 */ 4 5 #ifndef __INTERSYSHCI_H__ 6 #define __INTERSYSHCI_H__ 7 8 #include "trans_adapt.h" 9 10 #if defined(__cplusplus) 11 extern "C" { 12 #endif 13 14 void BESHCI_BufferAvai(void *packet); 15 void BESHCI_Open(void); 16 void BESHCI_Close(void); 17 void BESHCI_Poll(void); 18 void BESHCI_LockBuffer(void); 19 void BESHCI_UNLockBuffer(void); 20 void BESHCI_SCO_Data_Start(void); 21 void BESHCI_SCO_Data_Stop(void); 22 void uartrxtx(void const *argument); 23 24 bool BESHCI_Controller_Log_Handler(const unsigned char *p_buff, uint32_t length); 25 void BESHCI_Dump_A2DP_Seq(const unsigned char *p_buff, uint32_t length); 26 typedef bool (*intersys_hci_cmd_filter_handler_func)(uint8_t* pbuf, uint32_t length); 27 void intersys_register_hci_cmd_filter_handler_callback(intersys_hci_cmd_filter_handler_func func); 28 29 #if defined(__cplusplus) 30 } 31 #endif 32 33 #endif /* __INTERSYSHCI_H__ */ 34