Commit 608a4af672900d3cd3d4ddd1edc3ce7f0c3d3a25
1 parent
a457c658
Implmenting ModbusBase class
Showing
4 changed files
with
11 additions
and
1 deletions
documentation/graphics/originals/.~lock.modbus_drawings.odg# deleted
documentation/modbus-cpp.asta
0 → 100644
No preview for this file type
src/modbusbase.cpp
src/modbusbase.h
| ... | ... | @@ -44,6 +44,10 @@ |
| 44 | 44 | |
| 45 | 45 | #define BAD_CON -1 |
| 46 | 46 | |
| 47 | +namespace osdev { | |
| 48 | +namespace components { | |
| 49 | +namespace modbus { | |
| 50 | + | |
| 47 | 51 | // Modbus base class. Providing all Modbus PDUs without transport implementation |
| 48 | 52 | class ModbusBase |
| 49 | 53 | { |
| ... | ... | @@ -169,3 +173,8 @@ private: // Members (Giggity!) |
| 169 | 173 | int m_slaveId{}; |
| 170 | 174 | |
| 171 | 175 | }; |
| 176 | + | |
| 177 | +} // End namespace modbus | |
| 178 | +} // End namespace components | |
| 179 | +} // End namespace osdev | |
| 180 | + | ... | ... |