
Copyright © 2009, 2010 Black Box Network Services
724-746-5500 | blackbox.com 36
iCOMPEL Digital Signage (V8.1.0)
Allow external applications to query and optionally clear the RS-232 buffer. This allows devices with RS-232 communication
interface to dynamically interact with iCOMPEL Digital Signage platform
Syntax
Get RS-232 Buffered Data without clearing the buffer:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<get_rs232_buffered_data clear_buffer="no"/>
Get RS-232 Buffered Data clearing the buffer.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<get_rs232_buffered_data clear_buffer="yes"/>
Return Status
HTTP Status code 200 on success, 500 otherwise.
Example
If the buffer contained 'Welcome to Digital Signage', the output will be
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rs232_buffered_data>57656c636f6d6520746f204469676974616c205369676e616765</rs232_buffered_data>
The data element is hex encoding of 'Welcome to Digital Signage'.
If the buffer is empty:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rs232_buffered_data></rs232_buffered_data>
Compatibility
Introduced in 8.0.
4.2.2 Transmit RS-232 Data
Function
A mechanism to send RS-232 output from a iCOMPEL.
Enables one to write dynamic web applications that can drive external RS-232 devices.
Syntax
The data must be encoded in hex format for transmission.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<transmit_rs232_data>61636b206669727374206d7367</transmit_rs232_data>
Return Status
HTTP Status code 200 on success, 500 otherwise.
Comentarios a estos manuales