10 #ifndef _EMBEDDED_RPC__SERIAL_TRANSPORT_H_ 11 #define _EMBEDDED_RPC__SERIAL_TRANSPORT_H_ 80 virtual erpc_status_t underlyingReceive(uint8_t *data, uint32_t size)
override;
91 virtual erpc_status_t underlyingSend(
const uint8_t *data, uint32_t size)
override;
95 const char *m_portName;
103 #endif // _EMBEDDED_RPC__SERIAL_TRANSPORT_H_ Base class for framed transport layers.
Definition: erpc_framed_transport.hpp:56
enum _erpc_status erpc_status_t
Type used for all status and error return values.
Definition: erpc_common.h:85
erpc_status_t init(uint8_t vtime, uint8_t vmin)
Initialize Serial peripheral.
Definition: erpc_serial_transport.cpp:45
virtual erpc_status_t underlyingReceive(MessageBuffer *message, uint32_t size, uint32_t offset)
Adds ability to framed transport to overwrite MessageBuffer when receiving data.
Definition: erpc_framed_transport.cpp:177
Definition: erpc_arbitrated_client_manager.hpp:25
Serial transport layer for host PC.
Definition: erpc_serial_transport.hpp:41
SerialTransport(const char *portName, speed_t baudRate)
Constructor.
Definition: erpc_serial_transport.cpp:35
virtual erpc_status_t underlyingSend(MessageBuffer *message, uint32_t size, uint32_t offset)
Adds ability to framed transport to overwrite MessageBuffer when sending data.
Definition: erpc_framed_transport.cpp:170
virtual ~SerialTransport(void)
Destructor.
Definition: erpc_serial_transport.cpp:40