##// END OF EJS Templates
two constants added for logiscope rule complaince
paul -
r59:7c46de605967 default
parent child
Show More
@@ -19,6 +19,7
19 19 #define CCSDS_TC_TM_PACKET_OFFSET 7
20 20 #define PROTID_RES_APP 3
21 21 #define CCSDS_TELEMETRY_HEADER_LENGTH (16+4)
22 #define CCSDS_TC_HEADER_LENGTH 10
22 23 #define CCSDS_TM_PKT_MAX_SIZE 4412
23 24 #define CCSDS_TELECOMMAND_HEADER_LENGTH (10+4)
24 25 #define CCSDS_TC_PKT_MAX_SIZE 232 // (228+3) with 3 for Prot ID, Reserved and User App bytes, SHALL BE A MULTIPLE OF 4
@@ -615,7 +616,7 typedef struct {
615 616 unsigned char serviceType;
616 617 unsigned char serviceSubType;
617 618 unsigned char sourceID;
618 unsigned char dataAndCRC[CCSDS_TC_PKT_MAX_SIZE-10];
619 unsigned char dataAndCRC[CCSDS_TC_PKT_MAX_SIZE-CCSDS_TC_HEADER_LENGTH];
619 620 } ccsdsTelecommandPacket_t;
620 621
621 622 //**********
@@ -876,7 +877,8 typedef struct {
876 877
877 878 //******************
878 879 // SOURCE DATA repeated N times with N in [0 .. PA_LFR_KCOEFF_BLK_NR]
879 unsigned char kcoeff_blks[3900]; // one blk is 2 + 4 * 32 = 130 bytes, 30 blks max in one packet (30 * 130 = 3900)
880 // one blk is 2 + 4 * 32 = 130 bytes, 30 blks max in one packet (30 * 130 = 3900)
881 unsigned char kcoeff_blks[KCOEFF_BLK_SIZE * KCOEFF_BLK_NR_PKT1];
880 882
881 883 } Packet_TM_LFR_KCOEFFICIENTS_DUMP_t;
882 884
General Comments 0
You need to be logged in to leave comments. Login now