Morse Micro IoT SDK
2.10.4
mmcrc.h
1
/*
2
* Copyright 2024 Morse Micro
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
15
#pragma once
16
17
#include <stdint.h>
18
#include <stddef.h>
19
20
#ifdef __cplusplus
21
extern
"C"
22
{
23
#endif
24
35
uint16_t
mmcrc_16_xmodem
(uint16_t crc,
const
void
*data,
size_t
data_len);
36
37
#ifdef __cplusplus
38
}
39
#endif
40
mmcrc_16_xmodem
uint16_t mmcrc_16_xmodem(uint16_t crc, const void *data, size_t data_len)
Compute the CRC-16 for the data buffer using the XMODEM model.
framework
src
mmutils
mmcrc.h
Copyright 2021-2025 Morse Micro