Resolution - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Resolution

Resolution
Resolution Get
Example1: get resolution for DVI1
Request1
curl -k -X GET -H 'password: admin123' https://localhost/api/2.0/resolution/DVI1
Reply1
{"DVI1":"device_name=AOC\nrelation=same-as\nsupport_resolution_list=1360x768@60,1280x768@5
9,1024x768@60,800x600@60,800x600@56,640x480@60\ncurrent_resolution=1360x768@60\nsetting_re
solution=1360x768@60\npreferred_resolution=1280x768@59\nrotation=normal*,right,inverted,le
ft\nreflection=normal*,x,y,xy","success":"true","getAt":"2013-06-13 11:20:20"}
Example2: get resolution for VGA1
Request2
curl -k -X GET -H 'password: admin123' https://localhost/api/2.0/resolution/VGA1
Reply2
{"VGA1":"device_name=None\nrelation=same-as\nsupport_resolution_list=1024x768@60,800x600@6
0,800x600@56,848x480@60,640x480@59\ncurrent_resolution=1024x768@60\nsetting_resolution=102
4x768@60\npreferred_resolution=1024x768@60\nrotation=normal*,right,inverted,left\nreflecti
on=normal*,x,y,xy","success":"true","getAt":"2013-06-13 11:22:14"}
Example3: get resolution for all
Request3
curl -k -X GET -H 'password: admin123' https://localhost/api/2.0/resolution/fullInfo
Reply3
{"fullInfo":"Screen 0: minimum 320 x 240, current 1360 x 768, maximum 8192 x 8192\n
359mm x 203mm\nCrtcs: 2\nSizes @ Refresh Rates:\n
@ [60, 56]\n
inverted left \n\nOutputs:\n
60*\n\n
x 600 @ 60\n\n
right inverted left\n\n
0mm)\n
[2] 800 x 600 @ 56\n\n
Rotations:normal right inverted left","success":"true","getAt":"2013-06-13 11:23:34"}
Resolution Set
Example1: set resolution of VGA1 to 800x600@60
Request1
curl -k -X PUT -H 'password:admin123' -H 'Content-Type: application/json' -d
'{"resolution":"VGA1,800x600@60"}' https://localhost/api/2.0/resolution/resolution
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-66
[2] 848 x 480 @ [60]\n
DVI1 (410mm x 230mm)\n
[1] 1280 x 768 @ 59(preferred)\n\n
[4] 800 x 600 @ 56\n\n
LVDS1 (not connected)\n
Modes:\n
[0] 1024 x 768 @ 60*(preferred)\n\n
[3] 848 x 480 @ 60\n\n
[0] 1024 x 768 @ [60]\n
[3] 640 x 480 @ [60]\nRotations: normal right
Modes:\n
[2] 1024 x 768 @ 60\n\n
[5] 640 x 480 @ 60\n\n
DP1 (not connected)\n
[4] 640 x 480 @ 59\n\n
Chapter 4
Configuring HTTP API
[1] 800 x 600
[0] 1360 x 768 @
[3] 800
Rotations:normal
VGA1 (0mm x
[1] 800 x 600 @ 60\n\n
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents