|
Safe Communication Framework 0.1.0 build feea4f9
ERTMS/ETCS safe communication (Subset-037 EuroRadio, Subset-098 RBC/RBC), CENELEC EN 50128 SIL 4 oriented
|
Common status codes for the Safe Communication Framework. More...
Go to the source code of this file.
Enumerations | |
| enum | safecomm_status_t { SAFECOMM_STATUS_OK = 0 , SAFECOMM_STATUS_INVALID_PARAM , SAFECOMM_STATUS_NOT_INITIALISED , SAFECOMM_STATUS_STATE , SAFECOMM_STATUS_TIMEOUT , SAFECOMM_STATUS_TRANSPORT , SAFECOMM_STATUS_AUTH_FAILED , SAFECOMM_STATUS_MAC_MISMATCH , SAFECOMM_STATUS_SEQ_ERROR , SAFECOMM_STATUS_PEER_DISCONNECT , SAFECOMM_STATUS_BUFFER_TOO_SMALL , SAFECOMM_STATUS_NOT_IMPLEMENTED } |
| Result of a Safe Communication Framework operation. More... | |
Functions | |
| const char * | safecomm_status_to_string (safecomm_status_t status) |
| Human-readable name of a status code (for logs, never for control flow). | |
Common status codes for the Safe Communication Framework.
REQ-SC-CORE-001: every public function that can fail returns a safecomm_status_t; success is always 0 (SAFECOMM_STATUS_OK).
Definition in file status.h.
| enum safecomm_status_t |
Result of a Safe Communication Framework operation.
| const char * safecomm_status_to_string | ( | safecomm_status_t | status | ) |
Human-readable name of a status code (for logs, never for control flow).
| status | a safecomm_status_t value. |