|
rusEFI
The most advanced open source ECU
|
#include <tunerstudio_io.h>


Public Member Functions | |
| SerialTsChannelBase (const char *p_name) | |
| virtual void | start (uint32_t baud)=0 |
Public Member Functions inherited from TsChannelBase | |
| TsChannelBase (const char *name) | |
| virtual void | write (const uint8_t *buffer, size_t size, bool isEndOfPacket=false)=0 |
| virtual size_t | readTimeout (uint8_t *buffer, size_t size, int timeout)=0 |
| virtual void | flush () |
| virtual bool | isConfigured () const |
| virtual bool | isReady () const |
| virtual void | stop () |
| size_t | read (uint8_t *buffer, size_t size) |
| virtual void | writeCrcPacket (uint8_t responseCode, const uint8_t *buf, size_t size, bool allowLongPackets=false) |
| void | sendResponse (ts_response_format_e mode, const uint8_t *buffer, int size, bool allowLongPackets=false) |
| void | assertPacketSize (size_t size, bool allowLongPackets) |
| uint32_t | writePacketHeader (const uint8_t responseCode, const size_t size) |
| void | crcAndWriteBuffer (const uint8_t responseCode, const size_t size) |
| void | copyAndWriteSmallCrcPacket (uint8_t responseCode, const uint8_t *buf, size_t size) |
| void | writeCrcResponse (uint8_t responseCode) |
Additional Inherited Members | |
Data Fields inherited from TsChannelBase | |
| int | bytesIn = 0 |
| int | bytesOut = 0 |
| char | scratchBuffer [scratchBuffer_SIZE+30] |
| page1_s | page1 |
| const char * | name |
| bool | in_sync = false |
Definition at line 98 of file tunerstudio_io.h.
|
inline |
Definition at line 100 of file tunerstudio_io.h.
|
pure virtual |
Implemented in SerialTsChannel, UartTsChannel, and UartDmaTsChannel.
Referenced by findBaudIndex(), and runCommands().
