Nol.A SDK Library 26.11.2
For IoT System Software Development
Loading...
Searching...
No Matches
SLIPConverter Class Reference

Public Member Functions

 SLIPConverter (SerialPort &)
void begin (void(*func)(void *ctx, const unsigned char *data, uint16_t len), void *ctx)
void end ()
uint16_t send (const unsigned char *data, uint16_t len)
SerialPort & getSerialPort ()

Public Attributes

void(* onFrameEnd )(void *ctx, const uint8_t *data, uint16_t len) = nullptr
void * ctxOnFrameEnd = nullptr
void(* onFrameError )(void *ctx, const uint8_t *data, uint16_t len) = nullptr
void * ctxOnFrameError = nullptr
void(* onBufferOverflow )(void *ctx, const uint8_t *data, uint16_t len) = nullptr
void * ctxOnBufferOverflow = nullptr

The documentation for this class was generated from the following file: