Modbus Vault v1.0
Loading...
Searching...
No Matches
modbus_parser.h
Go to the documentation of this file.
1
10#ifndef MODBUS_PARSER_H
11#define MODBUS_PARSER_H
12
13#include "esp_err.h"
14
15#include <stdbool.h>
16#include <stdint.h>
17
19#define MODBUS_PARSER_MINIMUM_FRAME_LENGTH (4)
20
33esp_err_t modbus_parser_check_crc (const uint8_t *data_ptr, size_t length);
34
35#endif
esp_err_t modbus_parser_check_crc(const uint8_t *data_ptr, size_t length)
Checks CRC16-Modbus of data validity.
Definition modbus_parser.c:11