Go to the documentation of this file.
112 PGSt_SMF_status returnStatus;
113 char *routine =
"unpack_primary_header";
152 sprintf(
msg,
"version number from packet primary header: %d valid version number %d",
182 sprintf(
msg,
"Type from primary header: %d Normal Type: 0 Test Packet: 1",
183 packet_header->
type);
215 sprintf(
msg,
"Secondary Header Flag value: %d Normal Value: %d",
260 sprintf(
msg,
"APID value: %d MODIS APID range 64-127", packet_header->
apid);
268 sprintf(
msg,
"APID Value: %d", packet_header->
apid);
344 return (returnStatus);
#define MODIS_E_INV_PKT_SEQ_FLAG
#define MODIS_E_INV_SEC_HDR_FLAG
#define PH_PRI_VERSION_BYTE_OFFSET
#define PH_PRI_SEQUENCE_FLAG_BYTE_OFFSET
#define PH_PRI_VERSION_BIT_OFFSET
#define PH_PRI_SEC_HDR_FLAG_BIT_OFFSET
#define PH_PRI_VERSION_NUM_BITS
#define PH_PRI_SEQUENCE_FLAG_NUM_BITS
#define PH_PRI_APID_TEST_PACKET
#define PH_PRI_SEQUENCE_FLAG_BIT_OFFSET
#define PH_PRI_PKT_LENGTH_NUM_BITS
#define MODIS_E_INV_APID_TEST
#define PH_PRI_SEQUENCE_NOT_USED
#define PH_PRI_TYPE_NUM_BITS
#define PH_PRI_SEC_HDR_FLAG_BYTE_OFFSET
#define PH_PRI_MIN_MODIS_APID_AM1
#define PH_PRI_TYPE_VALUE
#define PH_PRI_PKT_LENGTH_BIT_OFFSET
#define PH_PRI_MAX_MODIS_APID_AM1
void log_fmt_msg(PGSt_SMF_status code, const char *routine, const char *msg_fmt,...)
#define PH_PRI_SOURCE_SEQ_CNT_NUM_BITS
#define MODIS_E_INV_VERSION
#define PH_PRI_SOURCE_SEQ_CNT_BIT_OFFSET
#define PH_PRI_APID_BYTE_OFFSET
#define PH_PRI_SOURCE_SEQ_CNT_BYTE_OFFSET
uint32 extr_bits(uint8 *a, int start_bit, int start_byte, int num_bits)
#define PH_PRI_PKT_LENGTH_BYTE_OFFSET
#define PH_PRI_TYPE_BIT_OFFSET
#define PH_PRI_SEC_HDR_FLAG_NUM_BITS
#define PH_PRI_APID_BIT_OFFSET
#define PH_PRI_TYPE_BYTE_OFFSET
#define PH_PRI_APID_NUM_BITS
#define PH_PRI_SEC_HDR_PRESENT
#define PH_PRI_VERSION_VALUE