34 #if !defined(EO_PACKETSTREAM_H) 35 #define EO_PACKETSTREAM_H 43 #define SER_SYNCH_CODE 0x55 44 #define SER_HEADER_NR_BYTES 4 46 #define SER_INTERBYTE_TIME_OUT 100 81 STATES_GET_PACKET u8State;
83 uint32_t u32LastTimeoutCheckTickCount;
85 uint32_t u32LastByteReceivedTickCount;
105 virtual void Close() = 0;
141 #endif // !defined(EO_PACKETSTREAM_H)
contains Dolphin API Definitions
virtual bool IsPacketPending()
virtual eoReturn Receive(eoPacket *p)
virtual eoReturn SendByte(uint8_t d)=0
eoReturn
contains all the return values from different functions
Definition: eoApiDef.h:40
The base class for all PacketStreams Implementations.
Definition: eoPacketStream.h:58
virtual eoReturn ReceiveByte(uint8_t *d)=0
Class which contains a Packet.
Definition: eoPacket.h:43
virtual eoReturn Send(const eoPacket &p)
virtual eoReturn Open(const char *port)=0