GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-5-0

Constituent: pbc_bootshell     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

boottlm.c File Reference

Boot telemetry functions. More...

#include <vxWorks.h>
#include "PBC/PBC.h"
#include "bootshell.h"
#include "pbc_sio.h"
#include "PBC/PBC_types.h"
#include "PBC/PBC_string.h"
#include "PBC/PBC_msgs.h"
#include "CCSDS/CCSDS_pkt.h"
#include "CCSDS/CCSDS_msg.h"
#include "MSG/MSG_macdefs.h"
#include "MEM/MEM.h"
#include "cmdtlm.h"

Include dependency graph for boottlm.c:

Include dependency graph

Functions

unsigned int pbc_TlmGetBootData (PBC_LBTHKP_Tlm *hkpParam)
 Fill general bootshell data in boot housekeeping telemetry packet.

unsigned int pbc_TlmGetErrorData (PBC_LBTHKP_Tlm *hkpParam)
 Fill error data in boot housekeeping telemetry packet.

unsigned int pbc_TlmGetUplinkData (PBC_LBTHKP_Tlm *hkpParam)
 Fill uplink data in boot housekeeping telemetry packet.

unsigned int pbc_TlmGetMemoryData (PBC_LBTHKP_Tlm *hkpParam)
 Fill memory data in boot housekeeping telemetry packet.

unsigned int pbc_TlmGetFileData (PBC_LBTHKP_Tlm *hkpParam)
 Fill file upload data in boot housekeeping telemetry packet.

unsigned int Pbc_TlmCreateHkp (unsigned short seqCount, void *pkt_p, unsigned int *size_p, size_t pktSize)
 Create boot housekeeping telemetry packet.


Detailed Description

Boot telemetry functions.

Author:
Ray Caperoon
Date:
Thu Dec 4 11:10:52 2003
  CVS $Id: boottlm.c,v 1.15 2005/05/17 20:42:02 dmay Exp $
  

This file contains functions that are used to boot telemetry packets.


Function Documentation

unsigned int Pbc_TlmCreateHkp unsigned short  seqCount,
void *  pkt_p,
unsigned int *  size_p,
size_t  pktSize
 

Create boot housekeeping telemetry packet.

Creates an up-to-date boot housekeeping telemetry packet. All contents of the telemetry packet are gathered in this function EXCEPT the sequence count. The calling routine must manage the sequence count and pass in the desired sequence count as an argument.

The caller must also pass in a non-null pointer for pkt and must have allocated enough space to fit a housekeeping telemetry packet.

Parameters:
seqCount Sequence count to use in packet generation.
pkt_p Pointer to packet storage. Must be non-null.
size_p Location to return actual packet size, in bytes.
pktSize Size that the caller has allocated for telemetry packet. Must be large enough to contain the boot housekeeping telemetry.
Return values:
PBC_SUCCESS Packet successfully generated.
PBC_PKTSIZE pktSize too small.
PBC_NULLPTR pkt_p or tlm_bytes_p was NULL pointer.
. Also see CCSDS_pktHdrCreate() for more errors.

Here is the call graph for this function:

unsigned int pbc_TlmGetBootData PBC_LBTHKP_Tlm hkpParam  )  [static]
 

Fill general bootshell data in boot housekeeping telemetry packet.

Parameters:
hkpParam Pointer to boot housekeeping parameters.
Return values:
PBC_SUCCESS Packet parameters successfully filled.
PBC_UNKNOWN Coding error.
PBC_NULLPTR hkpParam was NULL pointer.

unsigned int pbc_TlmGetErrorData PBC_LBTHKP_Tlm hkpParam  )  [static]
 

Fill error data in boot housekeeping telemetry packet.

Parameters:
hkpParam Pointer to boot housekeeping parameters.
Return values:
PBC_SUCCESS Packet parameters successfully filled.
PBC_UNKNOWN Coding error.
PBC_NULLPTR hkpParam was NULL pointer.

Here is the call graph for this function:

unsigned int pbc_TlmGetFileData PBC_LBTHKP_Tlm hkpParam  )  [static]
 

Fill file upload data in boot housekeeping telemetry packet.

Parameters:
hkpParam Pointer to boot housekeeping parameters.
Return values:
PBC_SUCCESS Packet parameters successfully filled.
PBC_UNKNOWN Coding error.
PBC_NULLPTR hkpParam was NULL pointer.

Here is the call graph for this function:

unsigned int pbc_TlmGetMemoryData PBC_LBTHKP_Tlm hkpParam  )  [static]
 

Fill memory data in boot housekeeping telemetry packet.

Parameters:
hkpParam Pointer to boot housekeeping parameters.
Return values:
PBC_SUCCESS Packet parameters successfully filled.
PBC_UNKNOWN Coding error.
PBC_NULLPTR hkpParam was NULL pointer.

Here is the call graph for this function:

unsigned int pbc_TlmGetUplinkData PBC_LBTHKP_Tlm hkpParam  )  [static]
 

Fill uplink data in boot housekeeping telemetry packet.

Parameters:
hkpParam Pointer to boot housekeeping parameters.
Return values:
PBC_SUCCESS Packet parameters successfully filled.
PBC_UNKNOWN Coding error.
PBC_NULLPTR hkpParam was NULL pointer.


Generated on Fri Jul 22 20:17:06 2005 by doxygen 1.3.3