|
MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
|
Optional RS-485 callbacks used by the async client around TX start/end. More...
#include <types.hpp>
Public Attributes | |
| void(* | on_tx_begin )(void *user) = nullptr |
| Optional callback fired immediately before the client expects TX to start. | |
| void(* | on_tx_end )(void *user) = nullptr |
| Optional callback fired after TX completion or after cleanup on failure/cancel. | |
| void * | user = nullptr |
| Opaque user pointer passed back to both callbacks. | |
Optional RS-485 callbacks used by the async client around TX start/end.
| void(* mcprotocol::serial::Rs485Hooks::on_tx_begin) (void *user) = nullptr |
| void(* mcprotocol::serial::Rs485Hooks::on_tx_end) (void *user) = nullptr |
| void* mcprotocol::serial::Rs485Hooks::user = nullptr |