beautypg.com

Special commands – Grass Valley SMS-6000 Series User Manual

Page 124

background image

A-8

Appendix A — Remote Control Protocol

The router replies with:

Example ‘C’ code to list routes (format 2).

Special Commands

All the values in brackets {xx} are two digit hexadecimal numbers. Refer to
Table A-9.

Table A-9. Special Command Listing

Code

Command Meaning

#01(cr)

Test if router is connected. The router replies with (.)(A)(cr).

#12,{xx}(cr)

Reset router. This can be used after re-configuration. The xx
parameter is optional and causes all destinations to be set to source
xx.

#23(cr)

Halt vertical interval switching. This allows complex salvos to be set
up to occur in one vertical interval

#34(cr)

Restart vertical interval switching. As above.

#45,{xx}(cr)

Return Quick-Link status of device xx.
.Axx ,01 = on-line.Axx,02 = off-line.Axx ,03 = this unit

.A{level}{dest},{srce}{level}{dest},{srce}... {level}{dest},{srce}(cr)

level = “V”;/* levels to be controlled */
dest = 5;/* matrix output */
srce = 2;/* matrix input */

RS232_printf(".L%s%d,%d\r", level, destination, source);