w w w . s m a x . c o m . t w
Chapter 6.
P 79
6.1.7. SD Card Management
Example: (Get SD Card Status.)
[Get SD Card Status]
http://192.168.101.102:80/sdcard.cgi?action=status&
Return:
Parameter
Value
Description
sTime
yyyy-mm-dd-hh-mm-ss
List Start Time
eTime
yyyy-mm-dd-hh-mm-ss
List End Time
fname
filename
Download/Delete File
name
Return:
OK
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\n
<Result>
\r\n
FAIL
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\n
[Status]
1 : SD Card is available
0 : SD Card is not available
Ex: 1
Example: (Get SD Card Status.)
[Get SD Card Space]
http://192.168.101.102:80/sdcard.cgi?action=space&
Return:
[Total Space(KB)] | [Used Space(KB)] | [Free Space(KB)]
Ex: 30729552|30179056|550496
Example: (Format SD Card.)
[Format SD Card]
http://192.168.101.102:80/sdcard.cgi?action=format&
Return:
[Result]
1 : SD Card Format success
0 : SD Card Format fail
Ex: 1