Browser commands group controls the internal browser of the DISPLAY. For example, “OPENURL http://www.google.com.tr” can be executed to open Google on TV, or “GETURL” can be executed to get URL of the current page. These commands can be seen below with their definitions, parameters and returns.
Commands | Definition | Parameters | Return |
SETURL | Loads the portal with the given URL as the start page. Returns web page load status via portal. | string-integer n n’ /> | #*status= … url=n inject_url=… |
OPENURL | Starts the given URL and returns web page load status directly. | string-integer n n’ /> | #*status= … url=n |
GETURL | Gets URL of the current page if the portal is active. | no parameter | #*URL : … |
SETSETTINGSURL | Sets the browser settings URL (URL set by the command is openned with long press on CMS key) | string | #*Setting URL is set |
GETSETTINGSURL | Gets the browser settings URL | no parameter | #*Setting URL is … |
SETSTARTURL | Sets the start URL | string | #*Start URL is set |
GETSTARTURL | Gets the start URL | no parameter | #*Start URL is … |
GETUSERAGENT | Gets portal user agent. | no parameter | #*Current UA : … |
GETCURSORPOSITION | Gets cursor position in the browser. | no parameter | #*X: … Y: … |
SETCURSORPOSITION | Sets cursor position in the browser. | string-integer a,b | #*X: a Y: b |
GETTOUCHCONTROL | Touch control is n, where n is one of (off, on) | no parameter | #*Touch control is n |
SETTOUCHCONTROL | SETTOUCHCONTROL n, where n is one of (off, on) | string parameter “on” or “off” | #*Set Touch Control on or #*Set Touch Control off or #*Touch Control is already on or #*Touch Control is already off or #*invalid value entered |
CLEARCACHE | Clear browser cache/cookies | no parameter | #*Browser cookies are cleared |
CLEARBROWSERDATA | Clear browser data files like History, Bookmarks, Speed Dial and Configuration | no parameter | #*Browser data files are cleared |
GETCMSSTATUS | Gets the CMS status | no parameter | Returns the value of cms status |
SETCMSSTATUS | Sets the CMS status | string parameter max. length of 255 characters | #*CMS status set to … or #*NACK |
GETCMSPARAMS | Gets the CMS parameters | no parameter | Returns the value of cms params |
SETCMSPARAMS | Sets the CMS parameters | string parameter max. length of 255 characters | #*CMS params set to … or #*NACK |
SETBROWSERDEBUG | Sets the browser debug 4725 port | string n (n = ON, n = OFF) | browser debug 4725 port is enabled or browser debug 4725 port is disabled |
SETCONTENTRES | Set content resolution to content_resolution file for browser | integer n (0 = 1280×720 1 = 1920×1080 99 = Delete ) | content_resolution: 1280×720, content_resolution: 1920×1080 or Deleted |
GETCONTENTRES | Get content resolution from content_resolution file for browser | no parameter | content_resolution: 1280×720 or content_resolution: 1920×1080 |
Table 1: Browser commands