tvm
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Typedefs | Enumerations | Functions
tvm::runtime::micro_rpc Namespace Reference

Classes

class  FrameBuffer
 
class  Framer
 
class  PacketFieldSizeBytes
 
class  Session
 CRT communication session management class. Assumes the following properties provided by the underlying transport: More...
 
struct  SessionHeader
 
class  Unframer
 
class  WriteStream
 

Typedefs

typedef struct tvm::runtime::micro_rpc::SessionHeader SessionHeader
 

Enumerations

enum  Escape : uint8_t { Escape::kEscapeStart = 0xff, Escape::kEscapeNop = 0xfe, Escape::kPacketStart = 0xfd }
 
enum  MessageType : uint8_t {
  MessageType::kStartSessionInit = 0x00, MessageType::kStartSessionReply = 0x01, MessageType::kTerminateSession = 0x02, MessageType::kLog = 0x03,
  MessageType::kNormal = 0x10
}
 

Functions

uint16_t crc16_compute (const uint8_t *data, size_t data_size_bytes, uint16_t *previous_crc)
 

Typedef Documentation

◆ SessionHeader

Enumeration Type Documentation

◆ Escape

enum tvm::runtime::micro_rpc::Escape : uint8_t
strong
Enumerator
kEscapeStart 
kEscapeNop 
kPacketStart 

◆ MessageType

enum tvm::runtime::micro_rpc::MessageType : uint8_t
strong
Enumerator
kStartSessionInit 
kStartSessionReply 
kTerminateSession 
kLog 
kNormal 

Function Documentation

◆ crc16_compute()

uint16_t tvm::runtime::micro_rpc::crc16_compute ( const uint8_t *  data,
size_t  data_size_bytes,
uint16_t *  previous_crc 
)