![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| brp_errcode brp_FlashFS_ReadRecords | ( | brp_protocol | protocol, | 
| unsigned | FileId, | ||
| unsigned | StartRecord, | ||
| unsigned | RecordCount, | ||
| brp_FlashFS_ReadRecords_RecordList_Entry ** | RecordList, | ||
| size_t * | RecordList_len, | ||
| brp_mempool * | mempool | ||
| ) | 
This command reads one or more records from a file.
If the file contains less records than specified, the response only returns the available number of records.
| [in] | protocol | used to execute the command | 
| [in] | FileId | File ID of the file to read from. | 
| [in] | StartRecord | First record number to read. | 
| [in] | RecordCount | Number of records to read. Should not be larger than the return value of brp_FlashFS_GetFileSize(). | 
| [out] | RecordList | |
| [out] | RecordList_len | |
| [in] | mempool | is used to store response data. Maybe NULL to use an internal mempool, in this case the data is only available until another command uses the internal mempool |