Nol.A SDK Library  24.11.0
For IoT System Software Development
Public Member Functions | Public Attributes | List of all members
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)
 
SerialPortgetSerialPort ()
 

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: