Tell Position in File

\i S P byte::handle

Parameter Type Range Description
handle byte 0 ... 3 unique identifier for opened file

Requests the current position of the file pointer in the file accessed via handle.

Response: [ACK] position [ACK]

Parameter Type Range Description
position long 0 ... file size current position of the file pointer

Response Example

[ACK][00][0D][B0][F5][ACK]

This response means that the file pointer is currently located at byte 897269 (0xDB0F5) of the specified file.

Not supported by: DPC3050, DPC3020, DPC2060, DPC10xx

See also:

MicroSD Card Related Commands
Set Position in File
Open File