/**
 * @file modbus_tcp.h
 *
 * @brief TCP Modbus handler
 * @date Nov 6, 2023
 * @author Obe
 */

#ifndef INC_MODBUS_H_
#define INC_MODBUS_H_

#define MODBUSPORT 502 // 502 is the default


#include <tcp.h>
#include <string.h>
#include <stdint.h>
#include <stdio.h>
#include "lcd_api.h"
#include "llfs.h"


/**
 * @fn void modbus_init
 * @brief Initializes the modbus tcp
 */
void modbus_init(void);

#endif /* INC_MODBUS_H_ */
