pinebuds/utils/intersyshci/trans_adapt_v2.h

33 lines
1.1 KiB
C

/***************************************************************************
*
* Copyright 2015-2019 BES.
* All rights reserved. All unpublished rights reserved.
*
* No part of this work may be used or reproduced in any form or by any
* means, or stored in a database or retrieval system, without prior written
* permission of BES.
*
* Use of this work is governed by a license granted by BES.
* This work contains confidential and proprietary information of
* BES. which is protected by copyright, trade secret,
* trademark and other intellectual property rights.
*
****************************************************************************/
#ifndef __TRANS_ADAPT_V2_H__
#define __TRANS_ADAPT_V2_H__
#if defined(__cplusplus)
extern "C" {
#endif
void BESHCI_SendData(unsigned char type, unsigned short cmd_conn, unsigned short len, unsigned char *buffer);
int BESHCI_SendBuffer(unsigned char packet_type, unsigned char *packet, int size);
unsigned short hci_h4_receive_msg( const uint8_t *buf, uint32_t size);
#if defined(__cplusplus)
}
#endif
#endif /* __TRANS_ADAPT_V2_H__ */