![Harkwood Services cmdBridge Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/harkwood-services/cmdbridge/cmdbridge_reference-manual_3918175012.webp)
12 of 24
CON
USB
STATUS
LAN
OUTPUT
INTPUT
RX
TX
Source Reply
Target Reply
CON
USB
STATUS
LAN
OUTPUT
INTPUT
RX
TX
Source Command
Target Command
command {
desc = “Mute OFF”;
source_cmd = “4D 55 54 45 20 4F 46 46 0D”;
target_cmd = “02 11 00 00 00 13”;
}
NOTE
All command / reply data is input in hexadecimal pairs.
NOTE
Commands / replies may be up to 768 bytes in size.
In the example above the
source_cmd
in ASCII would be
MUTE OFF<cr>
Replies
Replies are context sensiti ve to the last translated command. A target reply (the
target_reply
) is
received from the target device and translated into a source reply (the
source_reply
) and sent the
source device.
Translati on data element
Commands
A Command consists of the data received from the source device (the
source_cmd
), if there is a match
it is translated into the target command data (the
target_cmd
) and sent to the target device.
If no match is found the source command is discarded.
command {
desc = “Mute OFF”;
source_cmd = “4D 55 54 45 20 4F 46 46 0D”;
target_cmd = “02 11 00 00 00 13”;
reply {
desc = “Mute OFF OK”;
target_reply = “22 00 01 20 00 43”;
source_reply = “3A”
}
}
A command may have multi ple replies, they are processed in the same order as they are defi ned in the
translati on fi le.
If no match is found then the reply is discarded. However this behaviour can be overridden with the use
of reply fl ags set for each specifi c reply.
Содержание cmdBridge
Страница 1: ...cmdBridge Harkwood Services Ltd Reference Manual Intelligent command protocol translation...
Страница 23: ...23 of 24 quoted_string printable character...
Страница 24: ...24 of 24...