User's Guide

II-VI Incorporated
375 Saxonburg Boulevard
Saxonburg, PA 16056
T. 724.352.4455 | F. 724.352.5284 | www.ii-vi.com
6.3 SERIAL APPLICATION
Serial Application is intended to use for direct communication over serial interface without much
processing. It can help to automate communication using script by calling application along with
required arguments.
Serial application can be executed by “serialapp” command on XMF-H terminal prompt.
Sample commands and output are displayed below.
Command Format:- cmd-a == ASCII
Command Format:- cmd-x == HEX
Response Format:- resp-a == ASCII
Response Format:- resp-x == HEX
root@xmf-h:~# serialapp
USAGE : serialapp serial-port-no cmd-a/x resp-a/x command
Example:
serialapp 0 cmd-a resp-a otdr measure_time%0d%0a
serialapp 1 cmd-a resp-x CBDI%0d%0a
6.3.1 OTDR COMMANDS EXAMPLES
root@xmf-h:~# serialapp 0 cmd-a resp-a ver%0d%0a
ver
Configuration: IIVI_OTDR
Firmware Vers: IIVI_SUB_OTDR_0.5.41B
Serial Number:
root@xmf-h:~# serialapp 0 cmd-a resp-a echo%0d%0a
echo
ECHO: ON
root@xmf-h:~# serialapp 0 cmd-a resp-a echo on%0d%0a
echo on
root@xmf-h:~# serialapp 0 cmd-a resp-a otdr measure_time%0d%0a
otdr measure_time
OTDR MEASURE_TIME: 1.0 s
root@xmf-h:~# serialapp 0 cmd-a resp-a otdr run%0d%0a
otdr run
root@xmf-h:~# serialapp 0 cmd-a resp-a otdr status%0d%0a