Fix BIS access address generation to follow the requirements in Bluetooth Core Specification v5.3, Vol 6, PartB, Section 2.1.2 Access Address. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
20 lines
497 B
C
20 lines
497 B
C
/*
|
|
* Copyright (c) 2016-2020 Nordic Semiconductor ASA
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef DOUBLE_BUFFER_SIZE
|
|
#define DOUBLE_BUFFER_SIZE 2
|
|
#endif
|
|
|
|
#ifndef TRIPLE_BUFFER_SIZE
|
|
#define TRIPLE_BUFFER_SIZE 3
|
|
#endif
|
|
|
|
uint8_t util_ones_count_get(const uint8_t *octets, uint8_t octets_len);
|
|
int util_aa_le32(uint8_t *dst);
|
|
int util_saa_le32(uint8_t *dst, uint8_t handle);
|
|
void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst);
|