Represents a line protocol for registration. More...
Data Fields | |
const char * | helpHtml |
const char * | protocolName |
bool(* | startProtocol )(uint16_t zeroBasedIndex) |
void(* | stopProtocol )(uint16_t zeroBasedIndex) |
Represents a line protocol for registration.
This struct designates the procedures to start and stop a Serial Line protocol. It it used with ltrx_line_register_protocol().
Note that your struct must persist, so you will typically declare it static const
.
const char* ltrx_line_protocol::helpHtml |
HTML help for Line Protocol selection.
const char* ltrx_line_protocol::protocolName |
Name of this protocol as it will appear in configuration menu choices.
bool(* ltrx_line_protocol::startProtocol)(uint16_t zeroBasedIndex) |
Function that starts this protocol.
void(* ltrx_line_protocol::stopProtocol)(uint16_t zeroBasedIndex) |
Function that stops this protocol.