GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CCSDS / V3-5-2
Constituent: ccsds_pri     Tag: linux-gcc
#include "CCSDS/CCSDS_msg.h"
Include dependency graph for CCSDS_pri.h:
This graph shows which files directly or indirectly include this file:
Functions | |
unsigned int | CCSDS_priHdrSizeof (void) |
Get the size of a CCSDS packet primary header. | |
unsigned int | CCSDS_priHdrVerify (const void *pkt) |
Verify the prescience of a valid CCSDS packet primary header. | |
unsigned int | CCSDS_priHdrGetLength (const void *pkt, unsigned short *length) |
Get the packet length value in a CCSDS packet primary header. | |
unsigned int | CCSDS_priHdrGetType (const void *pkt, unsigned short *type) |
Get the packet type value in a CCSDS packet header. | |
unsigned int | CCSDS_priHdrGetApid (const void *pkt, unsigned short *apid) |
Get the application ID value in a CCSDS packet primary header. | |
unsigned int | CCSDS_priHdrGetSeqCount (const void *pkt, unsigned short *seqCount) |
Get the packet sequence count value in a CCSDS packet primary header. | |
unsigned int | CCSDS_priHdrGetSeqFlags (const void *pkt, unsigned short *seqFlags) |
Get the packet grouping value in a CCSDS packet primary header. |
The specifications for the CCSDS Packet header formats may be found in the following documents:
Telecommand - CCSDS Telecommand Part 3 (203.0-B-1 Blue Book)
Telemetry - CCSDS Packet Telemetry (102.0-B-5 Blue Book)
The functions in this library are generic, and do not suppose any peculiar fomatting for the secondary header. Thus, they may be used to examine SC or GBM packets in mixed telemetry streams. No support is given for creating packet headers, or for examining secondary header contents. The CCSDS_priGetLength() only accounts for the size of the primary header, so the size of the secondary header is included in the returned length value.
|
Get the application ID value in a CCSDS packet primary header. Returns the CCSDS packet application ID.
|
|
Get the packet length value in a CCSDS packet primary header. Returns the value of the CCSDS packet header length member. The size of the packet secondary header is not taken into account when extracting the packet header length member, so that the return value from this function includes the secondary header size and the size of application data following the packet secondary header.
|
|
Get the packet sequence count value in a CCSDS packet primary header. Returns the CCSDS packet sequence count.
|
|
Get the packet grouping value in a CCSDS packet primary header. Returns the CCSDS packet sequence flags.
|
|
Get the packet type value in a CCSDS packet header. Returns the CCSDS packet header type.
|
|
Get the size of a CCSDS packet primary header. Returns the size of the CCSDS packet primary header.
|
|
Verify the prescience of a valid CCSDS packet primary header. Checks to see if the contents of pkt contain a properly formatted CCSDS packet primary header.
|