Get the DIs and DOs signal level. The return of this command is in hexadecimal. The bit[1:0] indicate the DI 2/1 level and the bit[5:4] indicate the DO 1/1 level. the. For example, the DIO_STATUS=0x31 means the DI2 is low and DI1 is high and DO2 and DO1 are high.
Here is the mapping table of the bit in the return value and the DIs and DOs pins.
Bit in the Return Value DIO Pin Bit 0 DI1 Bit 1 DI2 Bit 4 DO1 Bit 5 DO2 The value in the bits 2, 3, 6 and 7 are ignored. The 1 in the bit value indicates the level of the corresponding DIO pin is HIGH.
If the CHANNEL=n was not set with this URL to the multiple channel encoders, this command is read-only command and the CHANNEL 1 module's DIO_STATUS configuration will be returned. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.
Important Note :
Because we allowed user level account to request for control token in control message session, the user level account could control DOs then. That applies to this URL access authority. So, user level account could use this URL to control DO level.
None
DIO_STATUS='0x00'
Valid
http://ip:port/cgi-bin/cgi?USER=Admin&PWD=123456&DIO_STATUS
or
http://ip:port/cgi-bin/cmd/cgi?DIO_STATUS where
cgi could be mpeg4 or encoder