You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
437 B
C++
29 lines
437 B
C++
/*
|
|
* RUBUS.cpp
|
|
*
|
|
* Author: Aleksey Gerasimenko
|
|
* gerasimenko.aleksey.n@gmail.com
|
|
*/
|
|
|
|
#include "MODBUSRTU/RUBUS.h"
|
|
|
|
namespace MODBUSRTU
|
|
{
|
|
|
|
//CONSTRUCTOR
|
|
RUBUS::RUBUS(uint16_t len):
|
|
mode(MODBUSRTU::RUBUS::RUBUS_RESET),
|
|
size(len),
|
|
accepted(),
|
|
response_shadow(),
|
|
response(),
|
|
mask(),
|
|
m_cell(),
|
|
cell_data(0)
|
|
//
|
|
{}//CONSTRUCTOR
|
|
//
|
|
//
|
|
//
|
|
} /* namespace MODBUSRTU */
|