OpenLcbCLib 1.0 Alpha
OpenSource C Library to create OpenLcb/Lcc Nodes
Loading...
Searching...
No Matches
Topics
Here is a list of all topics with brief descriptions:
[detail level 12]
 Node Login State Machine StatesCAN alias allocation sequence: CID → RID → AMD → Init Complete → Run
 CAN Frame Format and MasksCAN 29-bit extended identifier bit definitions and frame type codes
 Message Network MTI CodesNode initialization, identification, protocol discovery, and error reporting
 Event Transport Protocol MTI CodesProducer/Consumer event identification, learning, and PCER
 Simple Node Information Protocol MTI CodesSNIP request/reply for human-readable node identification
 Train Protocol MTI CodesSpeed, direction, function, and consist control for train nodes
 Stream Protocol MTI CodesBulk data streaming with flow control
 Datagram Protocol MTI CodesReliable up-to-72-byte datagram transport with ACK/reject
 Data Field Bit Masks and ValuesMulti-frame indicator bits in the first data byte
 MTI Bit Field MasksMasks for priority, stream/datagram, dest address, and event presence
 CAN Control Frame IdentifiersCID, RID, AMD, AME, AMR frames for alias allocation and mapping
 CAN Identifier Field MasksExtract fields from the CAN 29-bit extended identifier
 Protocol Support Indicator Bits48-bit field returned in Protocol Support Reply
 Well-Known Event IDsStandard-defined Event IDs: auto-routed (emergency), local, and DCC
 Auto-Routed Well-Known Events0x0100000000xxxxxx — automatically forwarded by gateways
 Non-Auto-Routed Well-Known Events0x0101xxxxxxxxxxxx — segment-local, not forwarded by gateways
 OpenLCB Error CodesPermanent (0x1xxx) and temporary (0x2xxx) error codes
 Datagram Protocol FlagsFlag bits used in datagram protocol
 Configuration Memory Protocol CommandsDatagram byte 0 = 0x20, byte 1 = command code
 Configuration Memory Read CommandsRead command and reply codes for each address space encoding
 Configuration Memory Read Stream CommandsStream-based read commands for large transfers
 Configuration Memory Write CommandsWrite command codes and reply codes
 Configuration Memory Write Under Mask CommandsWrite commands that only modify specified bits
 Configuration Memory Write Stream CommandsStream-based write commands for large data transfers
 Configuration Memory Operation CommandsGeneral configuration memory operation commands
 Configuration Memory Address SpacesWell-known space identifiers (0xFF CDI through 0xEF Firmware)
 ACDI Manufacturer Space Memory LayoutSpace 0xFC: read-only manufacturer strings (version, name, model, hw, sw)
 ACDI User Space Memory LayoutSpace 0xFB: user-assignable name and description strings
 Configuration Memory Reply Code OffsetsAdd to command code: +0x10 = OK reply, +0x18 = FAIL reply
 Configuration Options Bit FlagsCapability flags returned by Get Configuration Options
 Configuration Write Length FlagsFlags for write length capabilities
 Address Space Information FlagsFlags returned in Get Address Space Information reply
 Node Enumeration Key ManagementUser keys (0-3) and internal keys (4-6) for independent node enumeration
 Broadcast Time Protocol Event IDsClock IDs (upper 6 bytes) + time/date/year/rate/command (lower 2 bytes)
 Train Control Protocol DefinesInstruction bytes and sub-commands for MTI_TRAIN_PROTOCOL / MTI_TRAIN_REPLY
 User-Configurable ConstantsCompile-time buffer depths, node limits, and event counts
 Message Buffer Size ConstantsNumber of BASIC message buffers (16 bytes each) in the pool
 Payload Buffer Type DefinitionsArray typedefs for each message payload size
 Payload Buffer Pool ArraysStorage pools for each payload type

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