GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CCSDS / V3-5-3 > ccsds_pkt_test / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

Synopsis

Name

ccsds_pkt_test - Manipulate a test CCSDS packet structure.

Usage

ccsds_pkt_test

Description

This is a test application to create a dummy CCSDS packet header, and subsequently set and extract various member values. The hex dump values of the header words are printed every time the members change.

Command Syntax

The following commands are supported:

-------------------------------------------------------------------------

create [--apid=\<x\>] [--scount=\<x\>] [--sflags=first|middle|last|none] [--length=\<x\>] [--time=\<x\>] [--type=command|telemetry] [--fcode=\<x\>]

set apid|scount|length|time|uflags \<x\>
set sflags first|middle|last|none

get apid|scount|sflags|length|time|type|fcode

dump

help

exit

-------------------------------------------------------------------------

create - Creates a new packet. If no qualifiers are present, then the APID = 0, Seq Count = 0, Seq Flags = none, Length = 0, TAI time = 0, Type = telemetry, User Flags = 0. Specifying a qualifier will create the packet with the designated attributes. This command must be issued before the get or set commands.

set - Sets the specifed attribute of the packet.

get - Displays the specified attribute of the packet.

dump - Displays all of the packet attributes.

help - Display a summary of the commands.

exit - Quit the program.


Generated on Tue Nov 29 19:42:50 2011 by  doxygen 1.5.8