beautypg.com

2 remote commands and queries overview, 1 basic protocol, 2 packet structure – Comtech EF Data CDD-880 User Manual

Page 103

background image

CDD-880 Multi Receiver Router

Revision 1

Serial-based Remote Product Management

MN-CDD880

6–3

6.2

Remote Commands and Queries Overview

6.2.1

Basic Protocol

In an EIA‐232 configuration, the Controller device is connected directly to the Target device via a two wire‐plus‐ground connection. All data 
is  transmitted  in  framed  packets  as  asynchronous  serial  characters,  suitable  for  transmission  and  reception  to  the  Controller  using  a 
universal asynchronous receiver/transmitter (UART). Controller‐to‐Target data is carried via EIA‐232 electrical levels on one conductor, and 
Target‐to‐Controller data is carried in the other direction on the other conductor: 
 

Controller‐to‐Target: The Controller device (e.g., the user PC/CLI) is used to transmit instructions (commands) to – or to request 

information from (queries) – the Target device (i.e., the CDD‐880).  

 

Target‐to‐Controller: The Target, in return, only transmits response information to the Controller when specifically directed by 

the Controller. 

 
For Serial Remote Control, all issued commands (Controller‐to‐Target) require a response (Target‐to‐Controller). This response is either 
to  return  data  that  has  been  queried  by  the  Controller,  or  to  confirm  the  Target’s  receipt  of  a  command  to  change  the  Target’s 
configuration.  

6.2.2

Packet Structure

The  exchange  of  information  is  transmitted,  Controller‐to‐Target  and  Target‐to‐Controller,  in  ‘packets’.  Each  packet  contains  a  finite 
number of bytes consisting of printable ASCII characters, excluding ASCII code 127 (DELETE). 
 
In this context, the Carriage Return and Line Feed characters are considered printable. With one exception, all messages from Controller‐
to‐Target require a response – this will be either to return data that has been requested by the Controller, or to acknowledge reception of an 
instruction to change the configuration of the Target.