|
OpenLcbCLib 1.0 Alpha
OpenSource C Library to create OpenLcb/Lcc Nodes
|
Permanent (0x1xxx) and temporary (0x2xxx) error codes. More...
Macros | |
| #define | S_OK 0x00 |
| Success code - no error. | |
| #define | ERROR_PERMANENT 0x1000 |
| Permanent error base code. | |
| #define | ERROR_PERMANENT_CONFIG_MEM_ADDRESS_SPACE_UNKNOWN 0x1081 |
| Permanent: Unknown or unsupported address space (0x1080 | 0x0001) | |
| #define | ERROR_PERMANENT_CONFIG_MEM_OUT_OF_BOUNDS_INVALID_ADDRESS 0x1082 |
| Permanent: Address is out of bounds for the address space (0x1080 | 0x0002) | |
| #define | ERROR_PERMANENT_CONFIG_MEM_ADDRESS_WRITE_TO_READ_ONLY 0x1083 |
| Permanent: Attempted write to read-only memory (0x1080 | 0x0003) | |
| #define | ERROR_PERMANENT_SOURCE_NOT_PERMITTED 0x1020 |
| Permanent: Source node not permitted to access this resource. | |
| #define | ERROR_PERMANENT_NOT_IMPLEMENTED 0x1040 |
| Permanent: Command or protocol not implemented. | |
| #define | ERROR_PERMANENT_NOT_IMPLEMENTED_SUBCOMMAND_UNKNOWN 0x1041 |
| Permanent: Subcommand not recognized. | |
| #define | ERROR_PERMANENT_NOT_IMPLEMENTED_COMMAND_UNKNOWN 0x1042 |
| Permanent: Command not recognized. | |
| #define | ERROR_PERMANENT_NOT_IMPLEMENTED_UNKNOWN_MTI_OR_TRANPORT_PROTOCOL 0x1043 |
| Permanent: MTI or transport protocol not supported. | |
| #define | ERROR_CODE_PERMANENT_COUNT_OUT_OF_RANGE 0x1044 |
| Permanent: Count or length parameter out of valid range. | |
| #define | ERROR_PERMANENT_INVALID_ARGUMENTS 0x1080 |
| Permanent: Invalid arguments in command. | |
| #define | ERROR_TEMPORARY 0x2000 |
| Temporary error base code. | |
| #define | ERROR_TEMPORARY_BUFFER_UNAVAILABLE 0x2020 |
| Temporary: Buffer or resource currently unavailable. | |
| #define | ERROR_TEMPORARY_NOT_EXPECTED_OUT_OF_ORDER 0x2040 |
| Temporary: Message received out of expected sequence. | |
| #define | ERROR_TEMPORARY_TRANSFER_ERROR 0x2080 |
| Temporary: Transfer error occurred. | |
| #define | ERROR_TEMPORARY_TIME_OUT 0x2011 |
| Temporary: Timeout waiting for response. | |
| #define | ERROR_TEMPORARY_OUT_OF_ORDER_MIDDLE_END_WITH_NO_START 0x2041 |
| Temporary: Received middle/end frame without start frame. | |
| #define | ERROR_TEMPORARY_OUT_OF_ORDER_START_BEFORE_LAST_END 0x2042 |
| Temporary: Received start frame before previous sequence completed. | |
Permanent (0x1xxx) and temporary (0x2xxx) error codes.
| #define S_OK 0x00 |
Success code - no error.
| #define ERROR_PERMANENT 0x1000 |
Permanent error base code.
| #define ERROR_PERMANENT_CONFIG_MEM_ADDRESS_SPACE_UNKNOWN 0x1081 |
Permanent: Unknown or unsupported address space (0x1080 | 0x0001)
| #define ERROR_PERMANENT_CONFIG_MEM_OUT_OF_BOUNDS_INVALID_ADDRESS 0x1082 |
Permanent: Address is out of bounds for the address space (0x1080 | 0x0002)
| #define ERROR_PERMANENT_CONFIG_MEM_ADDRESS_WRITE_TO_READ_ONLY 0x1083 |
Permanent: Attempted write to read-only memory (0x1080 | 0x0003)
| #define ERROR_PERMANENT_SOURCE_NOT_PERMITTED 0x1020 |
Permanent: Source node not permitted to access this resource.
| #define ERROR_PERMANENT_NOT_IMPLEMENTED 0x1040 |
Permanent: Command or protocol not implemented.
| #define ERROR_PERMANENT_NOT_IMPLEMENTED_SUBCOMMAND_UNKNOWN 0x1041 |
Permanent: Subcommand not recognized.
| #define ERROR_PERMANENT_NOT_IMPLEMENTED_COMMAND_UNKNOWN 0x1042 |
Permanent: Command not recognized.
| #define ERROR_PERMANENT_NOT_IMPLEMENTED_UNKNOWN_MTI_OR_TRANPORT_PROTOCOL 0x1043 |
Permanent: MTI or transport protocol not supported.
| #define ERROR_CODE_PERMANENT_COUNT_OUT_OF_RANGE 0x1044 |
Permanent: Count or length parameter out of valid range.
| #define ERROR_PERMANENT_INVALID_ARGUMENTS 0x1080 |
Permanent: Invalid arguments in command.
| #define ERROR_TEMPORARY 0x2000 |
Temporary error base code.
| #define ERROR_TEMPORARY_BUFFER_UNAVAILABLE 0x2020 |
Temporary: Buffer or resource currently unavailable.
| #define ERROR_TEMPORARY_NOT_EXPECTED_OUT_OF_ORDER 0x2040 |
Temporary: Message received out of expected sequence.
| #define ERROR_TEMPORARY_TRANSFER_ERROR 0x2080 |
Temporary: Transfer error occurred.
| #define ERROR_TEMPORARY_TIME_OUT 0x2011 |
Temporary: Timeout waiting for response.
| #define ERROR_TEMPORARY_OUT_OF_ORDER_MIDDLE_END_WITH_NO_START 0x2041 |
Temporary: Received middle/end frame without start frame.
| #define ERROR_TEMPORARY_OUT_OF_ORDER_START_BEFORE_LAST_END 0x2042 |
Temporary: Received start frame before previous sequence completed.
Copyright (c) 2026 Jim Kueneman all rights reserved. See the License