• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /******************************************************************************
2  * Copyright (c) 2022 Telink Semiconductor (Shanghai) Co., Ltd. ("TELINK")
3  * All rights reserved.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *****************************************************************************/
18 #ifndef CIS_SLAVE_H_
19 #define CIS_SLAVE_H_
20 
21 #define CIG_SLV_PARAM_LEN (416)  // Note: user can't modify this value,and this value must 4 byte aligned
22 
23 /**
24  * @brief      for user to initialize CIS slave module.
25  * @param	   none
26  * @return     none
27  */
28 void blc_ll_initCisSlave_module(void);
29 
30 /**
31  * @brief
32  * @param
33  * @param
34  * @return     ble_sts_t
35  */
36 ble_sts_t blc_ll_initCisSlaveParameters(u8 *pCisSlavePara, int cis_slv_num);
37 
38 /**
39  * @brief
40  * @param
41  * @param
42  * @return     ble_sts_t
43  */
44 ble_sts_t blc_hci_le_acceptCisReq(u16 cisHandle);
45 
46 /**
47  * @brief
48  * @param
49  * @param
50  * @return     ble_sts_t
51  */
52 ble_sts_t blc_hci_le_rejectCisReq(u16 cisHandle, u8 reason, u8 *pRetParam);
53 
54 #endif
55 
56 // #endif /* CIS_MASTER_H_ */
57