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 //#if (LL_FEATURE_ENABLE_CONNECTED_ISOCHRONOUS_STREAM_SLAVE) 22 23 24 25 26 #define CIG_SLV_PARAM_LEN (416) //Note: user can't modify this value,and this value must 4 byte aligned 27 28 29 30 31 /** 32 * @brief for user to initialize CIS slave module. 33 * @param none 34 * @return none 35 */ 36 void blc_ll_initCisSlave_module(void); 37 38 39 /** 40 * @brief 41 * @param 42 * @param 43 * @return ble_sts_t 44 */ 45 ble_sts_t blc_ll_initCisSlaveParameters( u8 *pCisSlavePara, int cis_slv_num); 46 47 48 /** 49 * @brief 50 * @param 51 * @param 52 * @return ble_sts_t 53 */ 54 ble_sts_t blc_hci_le_acceptCisReq(u16 cisHandle); 55 56 57 /** 58 * @brief 59 * @param 60 * @param 61 * @return ble_sts_t 62 */ 63 ble_sts_t blc_hci_le_rejectCisReq(u16 cisHandle, u8 reason, u8* pRetParam); 64 65 66 67 #endif 68 69 70 //#endif /* CIS_MASTER_H_ */ 71