2023-12-10 15:10:43 +01:00
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2016-2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <stdint.h> // for standard int types definition
|
|
|
|
|
#include <stddef.h> // for NULL and std defines
|
|
|
|
|
#include "string.h" // for strerror()
|
|
|
|
|
#include "errno.h" // for errno
|
|
|
|
|
#include "esp_err.h" // for error handling
|
|
|
|
|
#include "driver/uart.h" // for uart port number defines
|
|
|
|
|
#include "sdkconfig.h" // for KConfig options
|
|
|
|
|
|
2025-04-03 18:52:24 +08:00
|
|
|
#include "esp_modbus_common.h"
|
2023-12-10 15:10:43 +01:00
|
|
|
#include "esp_modbus_master.h"
|
|
|
|
|
#include "esp_modbus_slave.h"
|
|
|
|
|
|
|
|
|
|
|
2025-04-03 18:52:24 +08:00
|
|
|
|
|
|
|
|
|