OpenLcbCLib 1.0 Alpha
OpenSource C Library to create OpenLcb/Lcc Nodes
Loading...
Searching...
No Matches
openlcb_node_state_t Struct Reference

Bit-packed node state flags. More...

Data Fields

uint8_t run_state: 5
 
bool allocated: 1
 
bool permitted: 1
 
bool initialized: 1
 
bool duplicate_id_detected: 1
 
bool openlcb_datagram_ack_sent: 1
 
bool resend_datagram: 1
 
bool firmware_upgrade_active: 1
 

Detailed Description

Bit-packed node state flags.

Field Documentation

◆ run_state

uint8_t run_state

Login state machine state (0-31)

◆ allocated

bool allocated

Node is allocated

◆ permitted

bool permitted

CAN alias allocated

◆ initialized

bool initialized

Node fully initialized

◆ duplicate_id_detected

bool duplicate_id_detected

Duplicate Node ID conflict

◆ openlcb_datagram_ack_sent

bool openlcb_datagram_ack_sent

Datagram ACK sent, awaiting reply

◆ resend_datagram

bool resend_datagram

Resend last datagram (retry logic)

◆ firmware_upgrade_active

bool firmware_upgrade_active

Firmware upgrade in progress


The documentation for this struct was generated from the following file:

Copyright (c) 2026 Jim Kueneman all rights reserved. See the License