Avisaro Online Documentation - Wiki
Impressum Kontakt Sitemap

RS

Description

The RS command allows random read access of raw sectors of an SD card or USB stick. The storage device does not need to be formatted.

Parameters

RS requires a single argument that is the sector number. After the command was invoked, the module sends back 512 bytes which is the content of the requested sector.

Return Values

ERR_OK (0) if sector was read successfully.
ERR_FR_NOT_READY (13) if disk read operation failed.

Example

RS 1234 

Read sector 1234

Remarks

Sector contents are delived as raw binary data.