1
- /* Copyright (c) 2019 Arm Limited
2
- * SPDX-License-Identifier: Apache-2.0
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
1
/*************************************************************************************************/
18
2
/*!
19
- * \file
20
- * \brief BLE baseband interface file.
3
+ * \file
4
+ *
5
+ * \brief BLE baseband interface file.
6
+ *
7
+ * Copyright (c) 2013-2019 Arm Ltd. All Rights Reserved.
8
+ *
9
+ * Copyright (c) 2019-2020 Packetcraft, Inc.
10
+ *
11
+ * Licensed under the Apache License, Version 2.0 (the "License");
12
+ * you may not use this file except in compliance with the License.
13
+ * You may obtain a copy of the License at
14
+ *
15
+ * http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software
18
+ * distributed under the License is distributed on an "AS IS" BASIS,
19
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
+ * See the License for the specific language governing permissions and
21
+ * limitations under the License.
21
22
*/
22
23
/*************************************************************************************************/
23
24
@@ -167,8 +168,6 @@ typedef struct
167
168
/*!
168
169
* \brief Initialize the BLE BB.
169
170
*
170
- * \return None.
171
- *
172
171
* Initialize baseband resources.
173
172
*/
174
173
/*************************************************************************************************/
@@ -178,8 +177,6 @@ void BbBleInit(void);
178
177
/*!
179
178
* \brief Initialize for scanning master operations.
180
179
*
181
- * \return None.
182
- *
183
180
* Update the operation table with scanning master operations routines.
184
181
*/
185
182
/*************************************************************************************************/
@@ -189,8 +186,6 @@ void BbBleScanMasterInit(void);
189
186
/*!
190
187
* \brief Initialize for auxiliary scanning master operations.
191
188
*
192
- * \return None.
193
- *
194
189
* Update the operation table with auxiliary scanning master operations routines.
195
190
*/
196
191
/*************************************************************************************************/
@@ -200,8 +195,6 @@ void BbBleAuxScanMasterInit(void);
200
195
/*!
201
196
* \brief Initialize for periodic scanning master operations.
202
197
*
203
- * \return None.
204
- *
205
198
* Update the operation table with periodic scanning master operations routines.
206
199
*/
207
200
/*************************************************************************************************/
@@ -211,8 +204,6 @@ void BbBlePerScanMasterInit(void);
211
204
/*!
212
205
* \brief Initialize for connectable master operations.
213
206
*
214
- * \return None.
215
- *
216
207
* Update the operation table with connectable master operations routines.
217
208
*/
218
209
/*************************************************************************************************/
@@ -222,8 +213,6 @@ void BbBleConnMasterInit(void);
222
213
/*!
223
214
* \brief Initialize for advertising slave operations.
224
215
*
225
- * \return None.
226
- *
227
216
* Update the operation table with advertising slave operations routines.
228
217
*/
229
218
/*************************************************************************************************/
@@ -233,8 +222,6 @@ void BbBleAdvSlaveInit(void);
233
222
/*!
234
223
* \brief Initialize for auxiliary advertising slave operations.
235
224
*
236
- * \return None.
237
- *
238
225
* Update the operation table with auxiliary advertising slave operations routines.
239
226
*/
240
227
/*************************************************************************************************/
@@ -244,8 +231,6 @@ void BbBleAuxAdvSlaveInit(void);
244
231
/*!
245
232
* \brief Initialize for connectable slave operations.
246
233
*
247
- * \return None.
248
- *
249
234
* Update the operation table with connectable slave operations routines.
250
235
*/
251
236
/*************************************************************************************************/
@@ -255,8 +240,6 @@ void BbBleConnSlaveInit(void);
255
240
/*!
256
241
* \brief Initialize for test operations.
257
242
*
258
- * \return None.
259
- *
260
243
* Update the operation table with test operations routines.
261
244
*/
262
245
/*************************************************************************************************/
@@ -318,8 +301,6 @@ uint16_t BbBleInitPeriodicList(uint8_t numEntries, uint8_t *pFreeMem, uint32_t f
318
301
* \brief Get advertising packet statistics.
319
302
*
320
303
* \param pStats Advertising statistics.
321
- *
322
- * \return None.
323
304
*/
324
305
/*************************************************************************************************/
325
306
void BbBleGetAdvStats (BbBleAdvPktStats_t * pStats );
@@ -329,8 +310,6 @@ void BbBleGetAdvStats(BbBleAdvPktStats_t *pStats);
329
310
* \brief Get scan packet statistics.
330
311
*
331
312
* \param pStats Scan statistics.
332
- *
333
- * \return None.
334
313
*/
335
314
/*************************************************************************************************/
336
315
void BbBleGetScanStats (BbBleScanPktStats_t * pStats );
@@ -340,8 +319,6 @@ void BbBleGetScanStats(BbBleScanPktStats_t *pStats);
340
319
* \brief Get auxiliary advertising packet statistics.
341
320
*
342
321
* \param pStats Auxiliary advertising statistics.
343
- *
344
- * \return None.
345
322
*/
346
323
/*************************************************************************************************/
347
324
void BbBleGetAuxAdvStats (BbBleAuxAdvPktStats_t * pStats );
@@ -351,8 +328,6 @@ void BbBleGetAuxAdvStats(BbBleAuxAdvPktStats_t *pStats);
351
328
* \brief Get auxiliary scan packet statistics.
352
329
*
353
330
* \param pStats Auxiliary scan statistics.
354
- *
355
- * \return None.
356
331
*/
357
332
/*************************************************************************************************/
358
333
void BbBleGetAuxScanStats (BbBleAuxScanPktStats_t * pStats );
@@ -362,8 +337,6 @@ void BbBleGetAuxScanStats(BbBleAuxScanPktStats_t *pStats);
362
337
* \brief Get periodic scan packet statistics.
363
338
*
364
339
* \param pStats Periodic scan statistics.
365
- *
366
- * \return None.
367
340
*/
368
341
/*************************************************************************************************/
369
342
void BbBleGetPerScanStats (BbBlePerScanPktStats_t * pStats );
@@ -373,8 +346,6 @@ void BbBleGetPerScanStats(BbBlePerScanPktStats_t *pStats);
373
346
* \brief Get connection packet statistics.
374
347
*
375
348
* \param pStats Connection data statistics.
376
- *
377
- * \return None.
378
349
*/
379
350
/*************************************************************************************************/
380
351
void BbBleGetConnStats (BbBleDataPktStats_t * pStats );
@@ -384,8 +355,6 @@ void BbBleGetConnStats(BbBleDataPktStats_t *pStats);
384
355
* \brief Get test mode packet statistics.
385
356
*
386
357
* \param pStats Test data statistics.
387
- *
388
- * \return None.
389
358
*/
390
359
/*************************************************************************************************/
391
360
void BbBleGetTestStats (BbBleDataPktStats_t * pStats );
@@ -395,8 +364,6 @@ void BbBleGetTestStats(BbBleDataPktStats_t *pStats);
395
364
* \brief Get PDU filter statistics.
396
365
*
397
366
* \param pStats PDU filter statistics.
398
- *
399
- * \return None.
400
367
*/
401
368
/*************************************************************************************************/
402
369
void BbBleGetPduFiltStats (BbBlePduFiltStats_t * pStats );
@@ -405,8 +372,6 @@ void BbBleGetPduFiltStats(BbBlePduFiltStats_t *pStats);
405
372
/*!
406
373
* \brief Initialize for connected isochronous stream master operations.
407
374
*
408
- * \return None.
409
- *
410
375
* Update the operation table with CIS master operations routines.
411
376
*/
412
377
/*************************************************************************************************/
@@ -416,20 +381,34 @@ void BbBleCisMasterInit(void);
416
381
/*!
417
382
* \brief Initialize for connected isochronous stream slave operations.
418
383
*
419
- * \return None.
420
- *
421
384
* Update the operation table with CIS slave operations routines.
422
385
*/
423
386
/*************************************************************************************************/
424
387
void BbBleCisSlaveInit (void );
425
388
389
+ /*************************************************************************************************/
390
+ /*!
391
+ * \brief Initialize for Broadcast isochronous stream master operations.
392
+ *
393
+ * Update the operation table with CIS master operations routines.
394
+ */
395
+ /*************************************************************************************************/
396
+ void BbBleBisMasterInit (void );
397
+
398
+ /*************************************************************************************************/
399
+ /*!
400
+ * \brief Initialize for Broadcast isochronous stream slave operations.
401
+ *
402
+ * Update the operation table with CIS slave operations routines.
403
+ */
404
+ /*************************************************************************************************/
405
+ void BbBleBisSlaveInit (void );
406
+
426
407
/*************************************************************************************************/
427
408
/*!
428
409
* \brief Get CIS packet statistics.
429
410
*
430
411
* \param pStats CIS data statistics.
431
- *
432
- * \return None.
433
412
*/
434
413
/*************************************************************************************************/
435
414
void BbBleGetCisStats (BbBleDataPktStats_t * pStats );
0 commit comments