GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSD / V0-0-1
Constituent: qsdccsds     Tag: sun-gcc
#include "QSD/CCSDS_header.h"
#include "PBI/Endianness.h"
Include dependency graph for CCSDS_telemetry.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _CCSDS_telemetrySecondary |
The secondary header for the CCSDS telemetry packets. More... | |
struct | _CCSDS_telemetry |
Standard CCSDS telemetry packet (with only a placeholder for the payload). More... | |
Typedefs | |
typedef enum _CCSDS_TELEMETRY_VERSION_K | CCSDS_TELEMETRY_VERSION_K |
Typedef for _CCSDS_TELEMETRY_VERSION_K. | |
typedef _CCSDS_telemetrySecondary | CCSDS_telemetrySecondary |
Typedef for struct _CCSDS_telemetrySecondary. | |
typedef _CCSDS_telemetry | CCSDS_telemetry |
Typedef for struct _CCSDS_telemetry. | |
Enumerations | |
enum | _CCSDS_TELEMETRY_VERSION_K { CCSDS_TELEMETRY_VERSION_K_EXPECTED = CCSDS_HEADER_VERSION_K_1 } |
Enumeration of the current version. More... | |
Functions | |
static __inline unsigned | CCSDS__telemetryVersionIsWrong (const CCSDS_telemetry *packet) |
Checks if the CCSDS header format version matches the expectation. | |
static __inline unsigned | CCSDS__telemetryApid (const CCSDS_telemetry *packet) |
Returns the application identifier. | |
static __inline unsigned | CCSDS__telemetrySecondaryFlag (const CCSDS_telemetry *packet) |
Returns the value of the secondary header present flag. | |
static __inline unsigned | CCSDS__telemetryType (const CCSDS_telemetry *packet) |
Returns the type of the packet. | |
static __inline unsigned | CCSDS__telemetryVersion (const CCSDS_telemetry *packet) |
Returns the CCSDS header format version. | |
static __inline unsigned | CCSDS__telemetrySequenceNumber (const CCSDS_telemetry *packet) |
Returns the packet sequence number. | |
static __inline unsigned | CCSDS__telemetrySequenceFlags (const CCSDS_telemetry *packet) |
Returns the packet sequence flagnumber. | |
static __inline unsigned | CCSDS__telemetryLength_m1 (const CCSDS_telemetry *packet) |
Returns the value of length_m1 field, in bytes. | |
static __inline unsigned | CCSDS__telemetryVerify (const CCSDS_telemetry *packet) |
Verifies that a telemetry packet is properly formated. | |
static __inline unsigned | CCSDS__telemetrySeconds (const CCSDS_telemetry *packet) |
Returns the seconds part of the time field in the secondary header of a telemetry packet. | |
static __inline unsigned | CCSDS__telemetryUseconds (const CCSDS_telemetry *packet) |
Returns the micros seconds part of the time field in the secondary header of a telemetry packet. | |
static __inline unsigned | CCSDS__telemetryBridge (const CCSDS_telemetry *packet) |
Returns the bridge word of in the telemetry payload. | |
static __inline unsigned | CCSDS__telemetryLength (const CCSDS_telemetry *packet) |
Returns the number of bytes in the telemetry payload. | |
static __inline const void * | CCSDS__telemetryPayload (const CCSDS_telemetry *packet) |
Returns a pointer to the telemetry payload. | |
static __inline void | CCSDS__telemetrySwapb (CCSDS_telemetry *packet) |
On little-endian machines, swaps the header to big-endian format. On big-endian machines, this is a NOOP. | |
static __inline void | CCSDS__telemetrySwap2b (CCSDS_telemetry *packet, const CCSDS_telemetry *src) |
On little-endian machines, swaps the header to big-endian format. On big-endian machines, this is a copy. | |
static __inline void | CCSDS__telemetrySsrSwapb (CCSDS_telemetry *packet) |
On little-endian machines, swaps the header to big-endian format. On big-endian machines, this is a NOOP. | |
static __inline void | CCSDS__telemetrySsrSwap2b (CCSDS_telemetry *packet, const CCSDS_telemetry *src) |
On little-endian machines, swaps the header + the first payload word (the number of pad bytes) to big-endian format. On big-endian machines, this is a copy. | |
static __inline unsigned | CCSDS__telemetrySsrPad (const CCSDS_telemetry *packet) |
Returns the number of pad bytes in the telemetry SSR payload. | |
static __inline unsigned | CCSDS__telemetrySsrLength (const CCSDS_telemetry *packet) |
Returns the number of bytes in the telemetry SSR payload. | |
static __inline unsigned | CCSDS__telemetrySsrActiveLength (const CCSDS_telemetry *packet) |
Returns the number of bytes in the telemetry SSR payload, not including the pad bytes. | |
static __inline const void * | CCSDS__telemetrySsrPayload (const CCSDS_telemetry *packet) |
Returns a pointer to the telemetry payload when the packet is from the SSR. |
CVS $Id: CCSDS_telemetry.h,v 1.3 2008/04/04 21:22:35 russell Exp $
|
Typedef for _CCSDS_TELEMETRY_VERSION_K.
|
|
Enumeration of the current version.
|
|
Returns the application identifier.
|
|
Returns the bridge word of in the telemetry payload.
|
|
Returns the number of bytes in the telemetry payload.
|
|
Returns the value of length_m1 field, in bytes.
|
|
Returns a pointer to the telemetry payload.
|
|
Returns the value of the secondary header present flag.
|
|
Returns the seconds part of the time field in the secondary header of a telemetry packet.
|
|
Returns the packet sequence flagnumber.
|
|
Returns the packet sequence number.
|
|
Returns the number of bytes in the telemetry SSR payload, not including the pad bytes.
|
|
Returns the number of bytes in the telemetry SSR payload.
|
|
Returns the number of pad bytes in the telemetry SSR payload.
|
|
Returns a pointer to the telemetry payload when the packet is from the SSR.
|
|
On little-endian machines, swaps the header + the first payload word (the number of pad bytes) to big-endian format. On big-endian machines, this is a copy.
|
|
On little-endian machines, swaps the header to big-endian format. On big-endian machines, this is a NOOP.
|
|
On little-endian machines, swaps the header to big-endian format. On big-endian machines, this is a copy.
|
|
On little-endian machines, swaps the header to big-endian format. On big-endian machines, this is a NOOP.
|
|
Returns the type of the packet.
|
|
Returns the micros seconds part of the time field in the secondary header of a telemetry packet.
|
|
Verifies that a telemetry packet is properly formated.
|
|
Returns the CCSDS header format version.
|
|
Checks if the CCSDS header format version matches the expectation.
|