/**
 * @file modbus_tcp.h
 *
 * @brief TCP Modbus handler
 *  Created on: Nov 6, 2023
 *      Author: Obe
 */

#ifndef INC_MODBUS_H_
#define INC_MODBUS_H_
#define MODBUSPORT 502 //is the default


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


/**
 * @fn void modbus_init
 * @brief Initiallises the modbus tcp
 */

void modbus_init(void);

#endif /* INC_MODBUS_H_ */
