Move the access address helper function to util.c file. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
21 lines
440 B
C
21 lines
440 B
C
/*
|
|
* Copyright (c) 2016-2020 Nordic Semiconductor ASA
|
|
* Copyright (c) 2016 Vinayak Kariappa Chettimada
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stddef.h>
|
|
|
|
#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(uint8_t *octets, uint8_t octets_len);
|
|
int util_rand(void *buf, size_t len);
|
|
int util_aa_to_le32(uint8_t *dst);
|