• Advertisement

RS-232 commands for a Sony TV connected to a DMP

Cisco CallManager, Cisco CallManager Express and IP Video

Re:RS-232 commands for a Sony TV connected to a DMP

Postby Guest » Wed Jul 14, 2010 11:40 am

Hi Tomas and Jeff,

 

I have tried executing the suggested commands and still no luck.

 

When I executed the enquiry command:

Sony  (POWER Enquiry)

Get

rs232.tx_hex=830000ffff81

 

I received the following dialogue in a new browser session but no actual response:

 

http://<user id>:<password>@<DMP IP address>:7777/get_param?rs232.tx_hex=830000ffff81
===========================================
10:06:50 AM
===========================================

 


When I ran the screen Off command (TV was on):

Sony (Turn  OFF)

Set

rs232.tx_hex=8c000002008e

 

Screen didn turn off.

 

I opened a browser session and added the following: http://<DMP IP Address>:7777/get_param?p=*.*:

and could see the command in the output:

 

rs232.tx_hex     T_STRING     8c000002008e

 

I also checked to ensure the rs232 service was enabled:

 

init.startService_rs232     T_STRING     yes

 

So it appears that the commands are being passed to the DMP.

 

Im going to try another test where I connect the rs-232 cable from my laptop to the DMP and Ill send the command using hyperterminal to see if the DMP will respond.  Ill let you know the outcome in a few hours as I have to go to another building to perform the test.

 

Cheers

Guest
 

Advertisement

Re:RS-232 commands for a Sony TV connected to a DMP

Postby Guest » Wed Jul 14, 2010 11:55 am

Gentlemen,

 

I ran the following test as suggested by Chip (Cisco Support) and the outcome wasn as I had hoped.

 

1) Connected my Windows laptop to one end of the rs232 cable and the

other end to the DMP

 

2) Opened up hyperterminal on my Windows laptop and set it to use

the comm port of the laptop with 9600, 8, n, 1, with no flow control

 

3) Used a browser to send the following command to the DMP connected to:

http://<ip address>/set_param?rs232.tx_hex=8C000002008E 

 

What I was hoping to see was a response from the DMP on the hyperterminal but unfortunately all I saw was a blank screen.

 

I ran the following command on a new browser to see the output :

http://<dmp ip address>:7777/get_param?p=*.*

 

and could see the following lines in the output as expected:

 

init.startService_rs232 T_STRING yes

 

rs232.tx_hex T_STRING 8C000002008E

 

Not sure what else to try.  If you have any ideas, please let me know.

 

Cheers

Guest
 

Re:RS-232 commands for a Sony TV connected to a DMP

Postby Guest » Wed Jul 14, 2010 1:01 pm

All-

We are successfully controlling a Sony FWD-40LX2F monitor by creating two custom Advance Tasks in the DMM-Digital Signs Module

using the following RS232 code and a "null modem" cable.

 

Sony (Turn ON)

Set

rs232.tx_hex=8c000002018f

 

Sony (Turn OFF)

Set

rs232.tx_hex=8c000002008e

 

Jeff

Guest
 

Re:RS-232 commands for a Sony TV connected to a DMP

Postby Guest » Wed Jul 14, 2010 1:28 pm

Hi Jeff,

 

Can you tell me what you did to get your commands to work as you had the same problem as me until your last post?

 

Also, is it possible to send me a copy of the output after you execute your command (either to turn the TV on or off)?  You can get the output by entering the following into a browser?

 

http://<dmp ip address>:7777/get_param?p=*.*

 

 

where <dmp ip address> is the IP address of your DMP that you are using to control the TV.

 

I would like to see if your DMP is configured differently to mine.

 

Many thanks

Linda

Guest
 

Re:RS-232 commands for a Sony TV connected to a DMP

Postby Guest » Wed Jul 14, 2010 3:02 pm

Linda,

 

1.) I created an Advanced Task to turn RS232 On and Off as follows:

 

"RS232 ON"

request type = "set"
request=  init.startService_rs232=yes&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1

 

"RS232 OFF"
request type = "set"
request =  init.startService_rs232=no&rs232.device=/dev/ttyS1&mib.save=1&mng.reboot=1

 

2.) Then I connected my DMP to the Sony FWD-40LX2F monitor using a "null modem" cable.

 

3.) I sent the "RS232 ON" command to the DMP.

 

4.) Then I ran the https://<dmp ip address>/get_param?p=rs232.*  in by browser to confirm the port was on.

 

Your results should be:

 

rs232.device     T_STRING     /dev/ttyS1
rs232.speed     T_STRING     9600
rs232.parity     T_STRING     none
rs232.data_size     T_STRING     8
rs232.stop_bits     T_STRING     1
rs232.flow_ctrl     T_STRING     none
rs232.tx_hex     T_STRING     
rs232.tx_str     T_STRING     
rs232.rx_buf     T_STRING     
rs232.rx_overflow_flag     T_STRING     false
rs232.tx_cnt     T_STRING     0
rs232.rx_cnt     T_STRING     0

 

5.) I was then able to send the following command to the monitor via the DMP.

Sony (Turn ON)

Set

rs232.tx_hex=8c000002018f

 

Sony (Turn  OFF)

Set

rs232.tx_hex=8c000002008e

 

 

6.) I ran the following in my browser to get the results that I have attached to this response as DMP.txt

 

http://<dmp  ip address>:7777/get_param?p=*.*

 

 

I hope this works for you.

Jeff

 

 

 

 


Guest
 

PreviousNext


  • Advertisement


Similar topics


Return to Cisco IP Communications

Who is online

Users browsing this forum: No registered users and 4 guests