1 /* 2 * Copyright (c) 2017 Oticon A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef _CRC_BLE_H 8 #define _CRC_BLE_H 9 10 #include <stdint.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 void append_crc_ble(uint8_t* buf, unsigned int len, uint32_t crc_init); 17 void append_crc_154(uint8_t* buf, unsigned int len, uint16_t crc_init); 18 19 #ifdef __cplusplus 20 } 21 #endif 22 23 #endif 24