|
Open Model Railroad Network (OpenMRN)
|
This structure defines how to piece together a reply to a Simple Info request, sich as SNIP. More...
#include <SimpleInfoProtocol.hxx>
Public Types | |
| enum | Cmd { END_OF_DATA = 0 , C_STRING = 1 , LITERAL_BYTE = 2 , CHAR_ARRAY = 3 , FILE_C_STRING = 4 , FILE_LITERAL_BYTE = 5 , FILE_CHAR_ARRAY = 6 } |
Public Attributes | |
| uint8_t | cmd |
| uint8_t | arg |
| uint16_t | arg2 |
| const char * | data |
| Points to a string if the command requires so. | |
This structure defines how to piece together a reply to a Simple Info request, sich as SNIP.
These structures will come in an array, where each member of the array defines a variable number of bytes to append to the end of the reply message. The last structure should be an EOF.
Definition at line 88 of file SimpleInfoProtocol.hxx.
| enum openlcb::SimpleInfoDescriptor::Cmd |
Definition at line 90 of file SimpleInfoProtocol.hxx.
| uint8_t openlcb::SimpleInfoDescriptor::arg |
Definition at line 102 of file SimpleInfoProtocol.hxx.
| uint16_t openlcb::SimpleInfoDescriptor::arg2 |
Definition at line 103 of file SimpleInfoProtocol.hxx.
| uint8_t openlcb::SimpleInfoDescriptor::cmd |
Definition at line 101 of file SimpleInfoProtocol.hxx.
| const char* openlcb::SimpleInfoDescriptor::data |
Points to a string if the command requires so.
Definition at line 105 of file SimpleInfoProtocol.hxx.