MT2523 API Reference  LinkIt SDK v4
serial_port_read_data_t Struct Reference

This structure defines the data structure for using SERIAL_PORT_CMD_READ_DATA to read data from the serial port. More...

#include <serial_port.h>

Data Fields

uint8_t * buffer
 The buffer to store the received data. More...
 
uint32_t size
 Size of the data to read. More...
 
uint32_t ret_size
 The actual size of data read from the serial port. More...
 

Detailed Description

This structure defines the data structure for using SERIAL_PORT_CMD_READ_DATA to read data from the serial port.

Field Documentation

uint8_t* buffer

The buffer to store the received data.

uint32_t ret_size

The actual size of data read from the serial port.

uint32_t size

Size of the data to read.


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