|
OpenLcbCLib 1.0 Alpha
OpenSource C Library to create OpenLcb/Lcc Nodes
|
Application-provided callbacks for the train module. More...
Data Fields | |
| bool(* | send_openlcb_msg )(openlcb_msg_t *openlcb_msg) |
| Queues an outgoing OpenLCB message (required). | |
| void(* | on_heartbeat_timeout )(openlcb_node_t *openlcb_node) |
| Called when the heartbeat timer for a train node reaches zero (optional). | |
Application-provided callbacks for the train module.
send_openlcb_msg is required for all throttle-side send helpers. on_heartbeat_timeout may be NULL if the application does not need notification.
| bool(* send_openlcb_msg) (openlcb_msg_t *openlcb_msg) |
Queues an outgoing OpenLCB message (required).
| void(* on_heartbeat_timeout) (openlcb_node_t *openlcb_node) |
Called when the heartbeat timer for a train node reaches zero (optional).
Copyright (c) 2026 Jim Kueneman all rights reserved. See the License