WowWee Group Limited API Specification for Rovio Version 1.2 October 8, 2008 prepared by WowWee Group Limited
Resolution Resolution 0 = [176x144] 1 = [320x240] 2 = [352x240] 3 = [640x480] video_compression Video compression 0 = Low 1 = Med 2 = High frame_ra
Return Value response (Please refer to “Response Code Commands Table”) Remark Rovio will resist going outside NorthStar coverage area while recording
Grammar /rev.cgi?Cmd=nav&action=value&name=n_value Input Parameter value = 5 n_value = (name of the path) Privilege None Return Value response
Movement Control – PlayPathBackward (string PathName) Description Replays a stored path from closest point to the beginning; If NorthStar signal is lo
Movement Control – RenamePath(string OldPathName, string NewPathName) Description Rename the old path. Grammar /rev.cgi?Cmd=nav&action=value&
Privilege None Return Value response (Please refer to “Response Code Commands Table”) Movement Control – UpdateHomePosition () Description Define cu
Input Parameter value = 16 Privilege None Return Value Response (Please refer to “Response Code Commands Table”) LeftRight Forward Reverse DriveTurn H
7 (Diagonal forward left) 8 (Diagonal forward right) 9 (Diagonal backward left) 10 (Diagonal backward right) 11 (Head up) 12 (Head down) 13 (Head midd
14 1B bit 0 : Light LED (head) status, 0: OFF, 1: ON bit 1 : IR-Radar power status. 0: OFF, 1: ON bit 2 : IR-Radar detector status: 0: fine, 1: barr
4 (recording path) Movement Control – SaveParameter( long index, long value) Description Stores parameter in the robot’s Flash Grammar /rev.cgi?Cm
Introduction WowWee RovioTM is a mobile wireless IP camera with a three-wheeled drive system. Rovio is equipped with an IR sensor on the front for b
Input Parameter value = 25 Privilege None Return Value Response (Please refer to “Response Code Commands Table”) libNS version Movement Control – Em
Grammar /ChangeResolution.cgi?ResType=value[&RedirectUrl=sUrl] Input Parameter None Privilege None Return Value An instance captured motion image.
<param name="URL" value="http://192.168.10.18" /> <param name="AutoStart" value="1" /> </object
Grammar /ChangeFramerate.cgi?Framerate=value[&RedirectUrl=sUrl] Input Parameter Framerate: 2 – 32 frame per seconds respectively Default Value: 3
Return Value None Camera Control – ChangeMicVolume.cgi Description Change the Mic Volume setting of IP_Cam. Grammar /ChangeMicVolume.cgi?MicVolume=v
Grammar /GetCamera.cgi?[&JsVar=variable[&OnJs=function]] Input Parameter None Privilege None Return Value Each line represents an item, and ev
User Management – DelUser.cgi Description Delete a user account. Grammar /DelUser.cgi?User=sUserName[&RedirectUrl=sUrl] Input Parameter Username P
Return Value None Time – SetTime.cgi Description Set server time zone and time. Grammar /SetTime.cgi?[&Sec1970=value1][&TimeZone=value2][&am
Input Parameter showstring time - time date - date ver - version pos 0 – top left 1 – top right 2 – bottom left 3 – bottom right (visit GetLogo.cgi
Privilege Administrator Return Value None Network – GetIP.cgi Description Get IP settings. Grammar /GetIP.cgi[Interface=<eth1|wlan0>&][?Js
TABLE OF CONTENT INTRODUCTION ...
Network – GetWlan.cgi Description Get WiFi settings. Grammar /GetWlan.cgi[?JsVar=variable[&OnJs=function]] Input Parameter None Privilege None Ret
Network – GetDDNS.cgi Description Get DDNS settings Grammar /GetDDNS.cgi[?JsVar=variable[&OnJs=function]] Input Parameter None Privilege None Ret
Input Parameter None Privilege Administrator Return Value Mac Address Http Server – SetHttp.cgi Description Set the parameters for HTTP server (Curr
Each line represents an item, and every item is in the format as Name = Value. (visit SetHttp.cgi for the current setting) Mail – SetMail.cgi Desc
Mail – SendMail.cgi Description Send an email with IPCam images. Grammar /SendMail.cgi[?JsVar=variable[&OnJs=function]] Input Parameter None Priv
Return Value CameraName (visit SetName.cgi for the current setting) Other – GetStatus.cgi Description Get run-time status of Rovio. Grammar /GetStat
31 user check 0 - do not check user, any user can connect and act as a super user 1 - username and password required, only username is "adminis
Other – GetLog.cgi Description Get Rovio’s system logs information. Grammar /GetLog.cgi[?JsVar=variable[&OnJs=function]] Input Parameter None Pri
Example c"Set Motion Detect", 28, "Set Monite Area", 29, "Set Server Time", 30, "Set Server IP", 31, "Se
if (iType == sLogConst[j + 1]) { sRes += "<tr><td>" + sLogConst[j]; break; } } if (j >= sLogConst.length
CAMERA CONTROL – SETCAMERA.CGI ...24 CAMERA CONTROL – GE
Input Parameter None Privilege None Return Value Version – Date and Time of the firmware $Id (Subversion) – filename, version number, date, time and a
Grammar /GetData.cgi[?Status=<true|false>] Input Parameter True / false Privilege None Return Value GetData.cgi is designed for "server-pus
Privilege None Remark The data flow is from client to IPCam, which is different from GetData.cgi. The audio data must be send with HTTP POST method. A
Other – Upload.cgi Description Upload new firmware image Grammar /Upload.cgi Input Parameter Posted file [name = SourceFile] Privilege Administrator R
redirected to the address specified by "RedirectUrl", and certainly not what you want. Privilege None Example 1. Add user abc(password 123),
CGI Commands Specifications Category CGI Commands Description Movement Rev.cgi Refer to Movement Command table Camera Control GetData.cgi Get M
the server SetMediaFormat.cgi Set media format GetMediaFormat.cgi Get media format Upload.cgi Upload firmware image (*.bin) Cmd.cgi Use th
Movement Commands Specifications Action number Function Name Description 1 GetReport() Generates report of current status 2 StartRecoding() Sta
Response Code Commands Table Code Error Code Description 0 SUCCESS CGI command successful 1 FAILURE CGI command general failure 2 ROBOT_BUSY
Movement Control – GetReport() Description Generates a report from libNS module that provides Rovio’s current status. Grammar /rev.cgi?Cmd=nav&act
Commentaires sur ces manuels