Query Volume
Description
Returns the free space and the total size of the inserted card. The two values given are in decimal format and in kibibytes (i.e. 1024 bytes per kibibyte).
Format
Q
[A
]
Parameters
A
displays the file system type as well as the free/total information.
Response Format
response | Successful (see below) |
Enn | An error occurred |
If there are no parameters, response
is of the form:
uu..uuu/tt.ttt
where:
uu..uuu
is the free space on the card.tt..ttt
is the total space on the card.
If “A
” parameter is given, response
is of the form:
FATff«cr» uu..uuu/tt.ttt
where:
- FATff is the file system type (one of FAT12, FAT16 or FAT32).
uu..uuu
is the free space on the card.tt..ttt
is the total space on the card.
Example
Example with a card that has 51,245 kibibytes available, from a total of 61,525 kibibytes.
Q
51245/61525
Q A
FAT12«cr» 51245/61525