|
OpenLcbCLib 1.0 Alpha
OpenSource C Library to create OpenLcb/Lcc Nodes
|
Callback interface for message network protocol notifications. More...
Data Fields | |
| void(* | on_optional_interaction_rejected )(openlcb_node_t *openlcb_node, node_id_t source_node_id, uint16_t error_code, uint16_t rejected_mti) |
| Optional. Called when an Optional Interaction Rejected message is received (MessageNetworkS Section 3.5.2). | |
| void(* | on_terminate_due_to_error )(openlcb_node_t *openlcb_node, node_id_t source_node_id, uint16_t error_code, uint16_t rejected_mti) |
| Optional. Called when a Terminate Due To Error message is received (MessageNetworkS Section 3.5.2). | |
Callback interface for message network protocol notifications.
| void(* on_optional_interaction_rejected) (openlcb_node_t *openlcb_node, node_id_t source_node_id, uint16_t error_code, uint16_t rejected_mti) |
Optional. Called when an Optional Interaction Rejected message is received (MessageNetworkS Section 3.5.2).
| openlcb_node | The node that received the rejection. |
| source_node_id | The Node ID of the rejecting node. |
| error_code | The 2-byte error code from payload bytes 0-1. |
| rejected_mti | The MTI of the rejected message from payload bytes 2-3. |
| void(* on_terminate_due_to_error) (openlcb_node_t *openlcb_node, node_id_t source_node_id, uint16_t error_code, uint16_t rejected_mti) |
Optional. Called when a Terminate Due To Error message is received (MessageNetworkS Section 3.5.2).
| openlcb_node | The node that received the error. |
| source_node_id | The Node ID of the error-sending node. |
| error_code | The 2-byte error code from payload bytes 0-1. |
| rejected_mti | The MTI of the terminated message from payload bytes 2-3. |
Copyright (c) 2026 Jim Kueneman all rights reserved. See the License