| eRPC API Reference Rev. 1.8.1 NXP Semiconductors

- Main Page
- API Reference
- Classes
- Files

Modules | Macros | Typedefs | Enumerations
Infrastructure

C++ core. More...

## Overview

C++ core.

Collaboration diagram for Infrastructure:

## Modules
| Transports
| Superclasses for building transports.
| Utilities
| Utility code used by the infrastructure.
| Server
| Server classes.
| Client
| Client classes.
| Serialization
| Classes used for message serialization.

## Macros
#define | ERPC_VERSION
| String version of eRPC.
#define | ERPC_VERSION_NUMBER
| Integer version of eRPC.

## Typedefs
typedef enum _erpc_status | erpc_status_t
| Type used for all status and error return values.

## Enumerations
enum | _erpc_status { kErpcStatus_Success, kErpcStatus_Fail, kErpcStatus_InvalidArgument, kErpcStatus_Timeout, kErpcStatus_InvalidMessageVersion, kErpcStatus_ExpectedReply, kErpcStatus_CrcCheckFailed, kErpcStatus_BufferOverrun, kErpcStatus_UnknownName, kErpcStatus_ConnectionFailure, kErpcStatus_ConnectionClosed, kErpcStatus_MemoryError, kErpcStatus_ServerIsDown, kErpcStatus_InitFailed, kErpcStatus_ReceiveFailed, kErpcStatus_SendFailed, kErpcStatus_UnknownCallback, kErpcStatus_NestedCallFailure, kErpcStatus_BadAddressScale }
| eRPC status return codes. More...

## Enumeration Type Documentation

enum _erpc_status

eRPC status return codes.

Enumerator
kErpcStatus_Success | No error occurred.
kErpcStatus_Fail | Generic failure.
kErpcStatus_InvalidArgument | Argument is an invalid value.
kErpcStatus_Timeout | Operated timed out.
kErpcStatus_InvalidMessageVersion | Message header contains an unknown version.
kErpcStatus_ExpectedReply | Expected a reply message but got another message type.
kErpcStatus_CrcCheckFailed | Message is corrupted.
kErpcStatus_BufferOverrun | Attempt to read or write past the end of a buffer.
kErpcStatus_UnknownName | Could not find host with given name.
kErpcStatus_ConnectionFailure | Failed to connect to host.
kErpcStatus_ConnectionClosed | Connected closed by peer.
kErpcStatus_MemoryError | Memory allocation error.
kErpcStatus_ServerIsDown | Server is stopped.
kErpcStatus_InitFailed | Transport layer initialization failed.
kErpcStatus_ReceiveFailed | Failed to receive data.
kErpcStatus_SendFailed | Failed to send data.
kErpcStatus_UnknownCallback | Sending/Receiving callback function which is not defined in IDL.
kErpcStatus_NestedCallFailure | Calling eRPC function from another eRPC function. For more information see erpc_common.h.
kErpcStatus_BadAddressScale | When sending address from bigger architecture to smaller.