Home AMX User Forum AMX General Discussion

Barco CSC-1

Hi,

Does anybody have controlled Barco CSC-1?
I haven't got any luck.

****************************************
Example: changing the display mode of the CSC Base Unit from “single” to “extended”:
request “PUT /v1.0/Display/Mode --data {“value”:”Extended”}”
****************************************

//send_string dvIPDevice,"'PUT /v1.0/Display/Mode --data {"value":"Extended"}',$0D";

//send_string dvIPDevice, "'http://integrator:integrator@192.168.0.110/v1.0/Display/Mode',$0D";

send_string dvIPDevice, "'/jsonrpc?request={','"jsonrpc":"2.0",','"method":"/v1.0/Display/Mode --data",','"params":{“value”:”Single”}}',',"id":"2"}',$0D,$0A"

//send_string dvIPDevice, "'POST /v1.0/Display/Mode --data HTTP/1.0',$0D,$0A"
//send_string dvIPDevice, "'Content-Length: 134',$0D,$0A"
//send_string dvIPDevice, "'Content-Type: application/json',$0D,$0A"
//send_string dvIPDevice, "'{ " --data" : {"value" : "Extended"} }',$0D,$0A"
Sign In or Register to comment.