@@ -19,6 +19,7 | |||||
19 | #define CCSDS_TC_TM_PACKET_OFFSET 7 |
|
19 | #define CCSDS_TC_TM_PACKET_OFFSET 7 | |
20 | #define PROTID_RES_APP 3 |
|
20 | #define PROTID_RES_APP 3 | |
21 | #define CCSDS_TELEMETRY_HEADER_LENGTH (16+4) |
|
21 | #define CCSDS_TELEMETRY_HEADER_LENGTH (16+4) | |
|
22 | #define CCSDS_TC_HEADER_LENGTH 10 | |||
22 | #define CCSDS_TM_PKT_MAX_SIZE 4412 |
|
23 | #define CCSDS_TM_PKT_MAX_SIZE 4412 | |
23 | #define CCSDS_TELECOMMAND_HEADER_LENGTH (10+4) |
|
24 | #define CCSDS_TELECOMMAND_HEADER_LENGTH (10+4) | |
24 | #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 |
|
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 | unsigned char serviceType; |
|
616 | unsigned char serviceType; | |
616 | unsigned char serviceSubType; |
|
617 | unsigned char serviceSubType; | |
617 | unsigned char sourceID; |
|
618 | unsigned char sourceID; | |
618 |
unsigned char dataAndCRC[CCSDS_TC_PKT_MAX_SIZE- |
|
619 | unsigned char dataAndCRC[CCSDS_TC_PKT_MAX_SIZE-CCSDS_TC_HEADER_LENGTH]; | |
619 | } ccsdsTelecommandPacket_t; |
|
620 | } ccsdsTelecommandPacket_t; | |
620 |
|
621 | |||
621 | //********** |
|
622 | //********** | |
@@ -876,7 +877,8 typedef struct { | |||||
876 |
|
877 | |||
877 | //****************** |
|
878 | //****************** | |
878 | // SOURCE DATA repeated N times with N in [0 .. PA_LFR_KCOEFF_BLK_NR] |
|
879 | // SOURCE DATA repeated N times with N in [0 .. PA_LFR_KCOEFF_BLK_NR] | |
879 |
|
|
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 | } Packet_TM_LFR_KCOEFFICIENTS_DUMP_t; |
|
883 | } Packet_TM_LFR_KCOEFFICIENTS_DUMP_t; | |
882 |
|
884 |
General Comments 0
You need to be logged in to leave comments.
Login now