2021-10-22 17:23:03 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2016-2021 Espressif Systems (Shanghai) CO LTD
|
2018-10-19 13:51:27 +00:00
|
|
|
*
|
2021-10-22 17:23:03 +00:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2018-10-19 13:51:27 +00:00
|
|
|
// mbcontroller.h
|
2020-04-17 09:56:50 +00:00
|
|
|
// mbcontroller - common Modbus controller header file
|
2018-10-19 13:51:27 +00:00
|
|
|
|
|
|
|
#ifndef _MODBUS_CONTROLLER_COMMON
|
|
|
|
#define _MODBUS_CONTROLLER_COMMON
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#include "esp_modbus_master.h"
|
|
|
|
#include "esp_modbus_slave.h"
|
2020-04-17 09:56:50 +00:00
|
|
|
|
2018-10-19 13:51:27 +00:00
|
|
|
#endif
|