2016-08-15 18:16:30 +08:00
|
|
|
/*
|
2020-02-07 14:06:54 +08:00
|
|
|
* Copyright (c) 2016-2020 Nordic Semiconductor ASA
|
2016-08-15 18:16:30 +08:00
|
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2016-08-15 18:16:30 +08:00
|
|
|
*/
|
|
|
|
|
2016-12-21 13:21:13 +08:00
|
|
|
#ifndef DOUBLE_BUFFER_SIZE
|
|
|
|
#define DOUBLE_BUFFER_SIZE 2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TRIPLE_BUFFER_SIZE
|
|
|
|
#define TRIPLE_BUFFER_SIZE 3
|
|
|
|
#endif
|
|
|
|
|
2021-11-15 16:41:12 +08:00
|
|
|
uint8_t util_ones_count_get(const uint8_t *octets, uint8_t octets_len);
|
2020-05-11 18:06:12 +08:00
|
|
|
int util_aa_le32(uint8_t *dst);
|
2021-01-15 19:08:16 +08:00
|
|
|
void util_saa_le32(uint8_t *dst, uint8_t handle);
|
2021-03-09 13:36:03 +08:00
|
|
|
void util_bis_aa_le32(uint8_t bis, uint8_t *saa, uint8_t *dst);
|