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 BIS_BCST_H_
19 #define BIS_BCST_H_
20 
21 //Note: user can't modify this value,and this value must 4 byte aligned
22 #define 		BIG_BCST_PARAM_LENGTH		(672) //4B aligned
23 
24 
25 /**
26  * @brief      This function is used to initialize BIG broadcast module.
27  * @param	   none
28  * @return     none
29  */
30 void 		blc_ll_initBigBroadcast_module(void);
31 
32 
33 /**
34  * @brief
35  * @param	   none
36  * @return     none
37  */
38 ble_sts_t	blc_ll_initBigBcstParameters(u8 *pBigBcstPara, u8 bigBcstNum);
39 
40 
41 /**
42  * @brief
43  * @param	   none
44  * @return     none
45  */
46 ble_sts_t 	blc_hci_le_createBigParams(hci_le_createBigParams_t* pCmdParam);
47 
48 
49 /**
50  * @brief
51  * @param	   none
52  * @return     none
53  */
54 ble_sts_t 	blc_hci_le_createBigParamsTest(hci_le_createBigParamsTest_t* pCmdParam);
55 
56 
57 /**
58  * @brief
59  * @param	   none
60  * @return     none
61  */
62 ble_sts_t 	blc_hci_le_terminateBig(hci_le_terminateBigParams_t* pCmdParam); //TODO: BIG BCST and BIG SYNC use common BIG CB
63 
64 
65 /**
66  * @brief      Used to enable private ExtADV to send BIGINFO
67  * @param	   ExtADV handle
68  * @param	   If the BIS encrypted
69  * @return     none
70  */
71 void		blc_ll_enPrivExtAdvForBigBcst(u8 extAdvHdl);
72 
73 
74 #endif /* BIS_BCST_H_ */
75