1 /**
2  * @file app_interconnection_ccmp.h
3  *
4  * @brief definations of ccmp service of HUAWEI
5  *
6  * Copyright 2015-2018 BES.
7  * All rights reserved. All unpublished rights reserved.
8  *
9  * No part of this work may be used or reproduced in any form or by any
10  * means, or stored in a database or retrieval system, without prior written
11  * permission of BES.
12  *
13  * Use of this work is governed by a license granted by BES.
14  * This work contains confidential and proprietary information of
15  * BES. which is protected by copyright, trade secret,
16  * trademark and other intellectual property rights.
17  *
18  */
19 #ifdef __INTERCONNECTION__
20 #ifndef __APP_INTERCONNECTION_CCMP_DEFINE_H__
21 #define __APP_INTERCONNECTION_CCMP_DEFINE_H__
22 
23 #ifdef __cplusplus
24 extern "C"{
25 #endif
26 
27 #include "bluetooth.h"
28 
29 #define CCMP_RECV_BUFFER_SIZE                        (4096+100)
30 
31 struct spp_device *app_interconnection_get_ccmp_dev();
32 
33 void app_interconnection_send_data_via_ccmp(uint8_t *ptrData, uint32_t length);
34 
35 void app_ccmp_client_open(uint8_t *pServiceSearchRequest, uint8_t serviceSearchRequestLen, uint8_t port);
36 
37 void app_interconnection_ccmp_disconnected_callback();
38 
39 #ifdef __cplusplus
40 }
41 #endif
42 
43 #endif // #ifndef __APP_INTERCONNECTION_CCMP_DEFINE_H__
44 #endif // #ifdef __INTERCONNECTION__