Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
DefinitionsAndGlobals.h@275:605dd29161ad, 2016-07-23 (annotated)
- Committer:
- aniruddhv
- Date:
- Sat Jul 23 23:37:46 2016 +0000
- Revision:
- 275:605dd29161ad
- Parent:
- 268:ded5306a1fd1
Changed pin of com_tx_oc_fault, combined global variables
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shreeshas95 | 0:f016e9e8d48b | 1 | // **************DEFINITIONS********************* |
aniruddhv | 69:20f09a0c3fd2 | 2 | |
ee12b079 | 268:ded5306a1fd1 | 3 | #define bypass_adf 0 |
ee12b079 | 252:9c631b2f5da8 | 4 | #define dma 0 |
aniruddhv | 69:20f09a0c3fd2 | 5 | |
shreeshas95 | 0:f016e9e8d48b | 6 | // COM_RX |
shreeshas95 | 5:ab276a17ca07 | 7 | #define RX_TIMEOUT_LIMIT 0.5 |
ee12b079 | 268:ded5306a1fd1 | 8 | #define COM_RX_UART_TX PTE20 // For bypassing RX1M (SET BAUD RATE 1200) #define COM_RX_UART_TX USBTX |
ee12b079 | 268:ded5306a1fd1 | 9 | #define COM_RX_UART_RX PTE21 // For bypassing RX1M (SET BAUD RATE 1200) #define COM_RX_UART_RX USBRX |
ee12b079 | 81:1a39e9e14771 | 10 | |
ee12b079 | 268:ded5306a1fd1 | 11 | //#define COM_RX_UART_TX USBTX |
ee12b079 | 268:ded5306a1fd1 | 12 | //#define COM_RX_UART_RX USBRX |
aniruddhv | 56:a88e16f6c18e | 13 | |
shreeshas95 | 0:f016e9e8d48b | 14 | // COMMON SPI |
shreeshas95 | 0:f016e9e8d48b | 15 | #define SPI_MOSI PTE1 |
ee12b079 | 185:3b3cd96a7811 | 16 | #define SPI_MISO PTE3 |
shreeshas95 | 0:f016e9e8d48b | 17 | #define SPI_CLK PTE2 |
shreeshas95 | 1:a0055b3280c8 | 18 | #define SPI_CS_ADF PTA15 |
ee12b079 | 114:9fb55057b13f | 19 | #define SPI_CS_SDC PIN20 |
chaithanyarss | 261:1e54415b34d3 | 20 | //#define SPI_CS_RTC PIN26 |
chaithanyarss | 261:1e54415b34d3 | 21 | #define SPI_CS_RTC PIN60 |
shreeshas95 | 2:2caf2a9a13aa | 22 | |
shreeshas95 | 4:104dd82c99b8 | 23 | // COM_TX |
shreeshas95 | 4:104dd82c99b8 | 24 | #define COM_TX_CONFIG_LIMIT 3 |
aniruddhv | 52:0bd68655c651 | 25 | #define COM_TX_TICKER_LIMIT 32 |
shreeshas95 | 4:104dd82c99b8 | 26 | |
ee12b079 | 209:63e9c8f8b5d2 | 27 | // ADF INTERRUPT |
shreeshas95 | 2:2caf2a9a13aa | 28 | #define ADF_IRQ PTA14 |
ee12b079 | 161:a63672bf4423 | 29 | |
ee12b079 | 162:48fda0b8d573 | 30 | //I2C - Payload to CDMS (need to change while using CDMS hardware); |
ee12b079 | 209:63e9c8f8b5d2 | 31 | I2C master(PIN32,PIN31); |
ee12b079 | 209:63e9c8f8b5d2 | 32 | DigitalIn PL_I2C_Intr(PTC13); |
ee12b079 | 209:63e9c8f8b5d2 | 33 | DigitalOut PL_I2C_GPIO(PTC1); |
ee12b079 | 209:63e9c8f8b5d2 | 34 | |
ee12b079 | 162:48fda0b8d573 | 35 | //I2C - CDMS to BAE |
aniruddhv | 264:f7d8f9f361e3 | 36 | //DigitalIn BAE_I2C_GPIO(PIN67);//PTB21 from bae to cdms |
aniruddhv | 264:f7d8f9f361e3 | 37 | //DigitalOut CDMS_I2C_GPIO(PIN39);//PTA5 from cdms to bae |
aniruddhv | 264:f7d8f9f361e3 | 38 | |
aniruddhv | 264:f7d8f9f361e3 | 39 | #define SBC 1 |
aniruddhv | 264:f7d8f9f361e3 | 40 | |
aniruddhv | 264:f7d8f9f361e3 | 41 | #if SBC |
prasanthbj05 | 266:ae588e75cfa4 | 42 | DigitalOut CDMS_I2C_GPIO(PIN67,0); |
aniruddhv | 264:f7d8f9f361e3 | 43 | DigitalIn BAE_I2C_GPIO(PIN1); |
aniruddhv | 264:f7d8f9f361e3 | 44 | #endif |
aniruddhv | 264:f7d8f9f361e3 | 45 | |
aniruddhv | 264:f7d8f9f361e3 | 46 | #if !SBC |
aniruddhv | 264:f7d8f9f361e3 | 47 | DigitalIn BAE_I2C_GPIO(PIN67); |
prasanthbj05 | 266:ae588e75cfa4 | 48 | DigitalOut CDMS_I2C_GPIO(PIN39,0); |
aniruddhv | 264:f7d8f9f361e3 | 49 | #endif |
ee12b079 | 162:48fda0b8d573 | 50 | |
shreeshas95 | 0:f016e9e8d48b | 51 | // TC LIST |
shreeshas95 | 2:2caf2a9a13aa | 52 | #define TCL_STATE_INCOMPLETE 0x00 |
aniruddhv | 262:752c8689944a | 53 | #define TCL_STATE_ABORTED 0x01 |
aniruddhv | 262:752c8689944a | 54 | #define TCL_STATE_EXECUTING 0x02 |
aniruddhv | 262:752c8689944a | 55 | #define TCL_STATE_COMPLETED 0x03 |
shreeshas95 | 0:f016e9e8d48b | 56 | |
shreeshas95 | 0:f016e9e8d48b | 57 | // LIST OF FLAGS |
shreeshas95 | 2:2caf2a9a13aa | 58 | #define UART_INT_FLAG 0x0001 |
shreeshas95 | 2:2caf2a9a13aa | 59 | #define NEW_TC_RECEIVED 0x0002 |
shreeshas95 | 2:2caf2a9a13aa | 60 | #define COM_SESSION_FLAG 0x0004 |
shreeshas95 | 2:2caf2a9a13aa | 61 | #define COM_RX_FLAG 0x0008 |
shreeshas95 | 2:2caf2a9a13aa | 62 | #define COM_MNG_TMTC_RUNNING_FLAG 0x0010 |
shreeshas95 | 2:2caf2a9a13aa | 63 | #define COM_SESSION_VALIDITY 0x0020 |
shreeshas95 | 2:2caf2a9a13aa | 64 | #define ALL_CRC_PASS_FLAG 0x0040 |
shreeshas95 | 2:2caf2a9a13aa | 65 | #define COM_PA_HOT_FLAG 0x0080 |
aniruddhv | 262:752c8689944a | 66 | #define COM_PA_OC_FLAG 0x8000 |
shreeshas95 | 2:2caf2a9a13aa | 67 | #define COM_TX_FLAG 0x0100 |
shreeshas95 | 6:79d422d1ed42 | 68 | #define COM_SESSION_TIMEOUT_FLAG 0x0200 |
ee12b079 | 209:63e9c8f8b5d2 | 69 | #define COM_AUTO_POWER_OFF_BAE_FLAG 0x0400 |
ee12b079 | 209:63e9c8f8b5d2 | 70 | #define RF_SW_STATUS_FLAG 0x1000 |
ee12b079 | 209:63e9c8f8b5d2 | 71 | #define COM_INIT_STATUS_FLAG 0x2000 |
ee12b079 | 209:63e9c8f8b5d2 | 72 | #define COM_TX_STATUS_FLAG 0x4000 |
ee12b079 | 209:63e9c8f8b5d2 | 73 | |
shreeshas95 | 0:f016e9e8d48b | 74 | // COM_MNG_TMTC THREAD |
shreeshas95 | 0:f016e9e8d48b | 75 | #define COM_MNG_TMTC_SIGNAL_UART_INT 0x01 |
shreeshas95 | 0:f016e9e8d48b | 76 | #define COM_MNG_TMTC_SIGNAL_ADF_NSD 0x02 |
shreeshas95 | 0:f016e9e8d48b | 77 | #define COM_MNG_TMTC_SIGNAL_ADF_SD 0x03 |
aniruddhv | 262:752c8689944a | 78 | #define cdms_reset_timeout 345600000 |
ee12b079 | 245:da9d1bd999da | 79 | |
shreeshas95 | 0:f016e9e8d48b | 80 | // COM_MNG_TMTC |
aniruddhv | 262:752c8689944a | 81 | #define COM_MAX_TC_LIMIT 256 |
shreeshas95 | 4:104dd82c99b8 | 82 | #define TM_ACK_CODE_INDEX 2 |
shreeshas95 | 5:ab276a17ca07 | 83 | #define CRC_FAIL_NACK_CODE 0x01 |
shreeshas95 | 2:2caf2a9a13aa | 84 | |
shreeshas95 | 2:2caf2a9a13aa | 85 | // call sign |
shreeshas95 | 2:2caf2a9a13aa | 86 | #define PSC_CALLSIGN 0x00 |
shreeshas95 | 2:2caf2a9a13aa | 87 | #define APID_CALLSIGN 0x00 |
shreeshas95 | 2:2caf2a9a13aa | 88 | |
shreeshas95 | 2:2caf2a9a13aa | 89 | // max value of telecommands in a tcl |
shreeshas95 | 2:2caf2a9a13aa | 90 | #define TCL_OVERFLOW_CONSTANT 256 |
shreeshas95 | 4:104dd82c99b8 | 91 | #define TM_OVERFLOW_CONSTANT 256 |
shreeshas95 | 2:2caf2a9a13aa | 92 | |
shreeshas95 | 0:f016e9e8d48b | 93 | // starting value of packet sequence count at each pass |
shreeshas95 | 0:f016e9e8d48b | 94 | #define PSC_START_VALUE 1 |
shreeshas95 | 0:f016e9e8d48b | 95 | |
shreeshas95 | 0:f016e9e8d48b | 96 | // APID list |
aniruddhv | 52:0bd68655c651 | 97 | #define APID_COM 0 |
shreeshas95 | 0:f016e9e8d48b | 98 | #define APID_BAE 1 |
shreeshas95 | 0:f016e9e8d48b | 99 | #define APID_CDMS 2 |
shreeshas95 | 0:f016e9e8d48b | 100 | #define APID_SPEED 3 |
shreeshas95 | 0:f016e9e8d48b | 101 | |
aniruddhv | 52:0bd68655c651 | 102 | //SERVICE |
aniruddhv | 52:0bd68655c651 | 103 | #define SERVICE_OBOSC 0xB |
aniruddhv | 52:0bd68655c651 | 104 | #define SERVICE_OBSRS 0xF |
aniruddhv | 52:0bd68655c651 | 105 | |
shreeshas95 | 0:f016e9e8d48b | 106 | // HIGH PRIORITY TC - priority list |
shreeshas95 | 0:f016e9e8d48b | 107 | // not correct values here |
shreeshas95 | 0:f016e9e8d48b | 108 | #define HPTC1 5 |
shreeshas95 | 0:f016e9e8d48b | 109 | #define HPTC2 6 |
shreeshas95 | 0:f016e9e8d48b | 110 | // Add more entries above |
shreeshas95 | 0:f016e9e8d48b | 111 | |
shreeshas95 | 0:f016e9e8d48b | 112 | // TMID list |
shreeshas95 | 0:f016e9e8d48b | 113 | #define TMID_ACK_L1 0xA |
shreeshas95 | 4:104dd82c99b8 | 114 | #define TMID_ACK_L234 0xB |
shreeshas95 | 4:104dd82c99b8 | 115 | #define TMID_TCL 0x7 |
shreeshas95 | 4:104dd82c99b8 | 116 | #define TMID_CALL_SIGN 0xE |
shreeshas95 | 0:f016e9e8d48b | 117 | |
shreeshas95 | 0:f016e9e8d48b | 118 | // OBOSC SERVICE SUBTYPE |
shreeshas95 | 4:104dd82c99b8 | 119 | #define OBOSC_TCL_MAX_SHORT_SIZE 11 |
shreeshas95 | 4:104dd82c99b8 | 120 | #define OBOSC_LONG_TC_FIRST_HALF_SIZE 67 |
shreeshas95 | 4:104dd82c99b8 | 121 | #define OBOSC_LONG_TC_SECOND_HALF_SIZE 68 |
shreeshas95 | 4:104dd82c99b8 | 122 | #define OBOSC_TCL_TAG_LONG_FIRST_HALF 0x10 |
shreeshas95 | 4:104dd82c99b8 | 123 | #define OBOSC_TCL_TAG_LONG_SECOND_HALF 0x11 |
shreeshas95 | 4:104dd82c99b8 | 124 | |
shreeshas95 | 0:f016e9e8d48b | 125 | #define OBOSC_SUB_DISABLE 0x01 |
shreeshas95 | 0:f016e9e8d48b | 126 | #define OBOSC_SUB_RETRY 0x05 |
shreeshas95 | 4:104dd82c99b8 | 127 | #define OBOSC_SUB_REP_TCLD 0x06 |
shreeshas95 | 0:f016e9e8d48b | 128 | #define OBOSC_SUB_REP_LE 0x0F |
shreeshas95 | 0:f016e9e8d48b | 129 | #define OBOSC_SUB_RESET 0x07 |
shreeshas95 | 0:f016e9e8d48b | 130 | |
shreeshas95 | 101:bece931236a2 | 131 | // PAYLOAD or SCIENCE |
shreeshas95 | 101:bece931236a2 | 132 | #define PAYLOAD_BUFFER_LENGTH 6723 |
ee12b079 | 113:b8991d9e3b6c | 133 | #define PAY_SPI_MOSI PTE18 |
ee12b079 | 113:b8991d9e3b6c | 134 | #define PAY_SPI_MISO PTE19 |
ee12b079 | 113:b8991d9e3b6c | 135 | #define PAY_SPI_CLK PTE17 |
ee12b079 | 113:b8991d9e3b6c | 136 | #define PAY_SPI_CS PTE16 |
ee12b079 | 245:da9d1bd999da | 137 | #define SCIENCE_SIGNAL 0x04 |
ee12b079 | 209:63e9c8f8b5d2 | 138 | |
ee12b079 | 209:63e9c8f8b5d2 | 139 | //BEACON |
ee12b079 | 209:63e9c8f8b5d2 | 140 | #define BCN_APID_SOURCE 0x41 |
ee12b079 | 209:63e9c8f8b5d2 | 141 | #define BCN_SERVICE 0x81 |
shreeshas95 | 101:bece931236a2 | 142 | |
ee12b079 | 209:63e9c8f8b5d2 | 143 | //BAE |
ee12b079 | 209:63e9c8f8b5d2 | 144 | #define BAE_APID_SOURCE 0x81 |
ee12b079 | 209:63e9c8f8b5d2 | 145 | #define BAE_SERVICE 0x81 |
ee12b079 | 209:63e9c8f8b5d2 | 146 | #define BAE_POWER_ON_PID 0x13 |
ee12b079 | 209:63e9c8f8b5d2 | 147 | #define BAE_POWER_OFF_PID 0x23 |
ee12b079 | 209:63e9c8f8b5d2 | 148 | #define BAE_RESET_PID 0x33 |
ee12b079 | 209:63e9c8f8b5d2 | 149 | |
ee12b079 | 209:63e9c8f8b5d2 | 150 | //RF RELAY |
aniruddhv | 262:752c8689944a | 151 | #define RF_RELAY_CNTRL_TX PTB7 |
ee12b079 | 268:ded5306a1fd1 | 152 | #define RF_RELAY_CNTRL_BCN PTB17 |
chaithanyarss | 224:3ac1f91e0ebc | 153 | |
chaithanyarss | 224:3ac1f91e0ebc | 154 | //CDMS HK |
ee12b079 | 246:565458eefd94 | 155 | #define HK_SIGNAL 0x05 |
chaithanyarss | 224:3ac1f91e0ebc | 156 | #define COMRX_ALIVE 0x01 |
chaithanyarss | 224:3ac1f91e0ebc | 157 | #define COMRX_DEAD 0x00 |
chaithanyarss | 224:3ac1f91e0ebc | 158 | #define DEVICE_ENABLED 0x00 |
chaithanyarss | 224:3ac1f91e0ebc | 159 | #define DEVICE_POWERED 0x01 |
chaithanyarss | 224:3ac1f91e0ebc | 160 | #define DEVICE_OC_FAULT 0x02 |
chaithanyarss | 224:3ac1f91e0ebc | 161 | #define DEVICE_DISABLED 0x03 |
chaithanyarss | 224:3ac1f91e0ebc | 162 | |
ee12b079 | 209:63e9c8f8b5d2 | 163 | |
shreeshas95 | 3:6c81fc8834e2 | 164 | |
shreeshas95 | 0:f016e9e8d48b | 165 | // ****************GLOBAL VARIABLES****************** |
chaithanyarss | 251:c766afa330a3 | 166 | |
chaithanyarss | 251:c766afa330a3 | 167 | //Global |
chaithanyarss | 251:c766afa330a3 | 168 | Mutex gMutex; |
chaithanyarss | 251:c766afa330a3 | 169 | |
chaithanyarss | 251:c766afa330a3 | 170 | |
shreeshas95 | 0:f016e9e8d48b | 171 | // DEBUG |
shreeshas95 | 0:f016e9e8d48b | 172 | Serial gPC( USBTX, USBRX ); |
shreeshas95 | 4:104dd82c99b8 | 173 | DigitalOut gLEDR(LED_RED); |
shreeshas95 | 4:104dd82c99b8 | 174 | DigitalOut gLEDG(LED_GREEN); |
shreeshas95 | 0:f016e9e8d48b | 175 | |
shreeshas95 | 0:f016e9e8d48b | 176 | // COM_RX |
shreeshas95 | 0:f016e9e8d48b | 177 | RawSerial RX1M( COM_RX_UART_TX, COM_RX_UART_RX ); |
shreeshas95 | 0:f016e9e8d48b | 178 | COM_RX_DATA_NODE *gRX_HEAD_DATA_NODE = NULL; |
shreeshas95 | 0:f016e9e8d48b | 179 | COM_RX_DATA_NODE *gRX_CURRENT_DATA_NODE = NULL; |
shreeshas95 | 2:2caf2a9a13aa | 180 | // uint8_t *gRX_CURRENT_PTR = NULL; |
shreeshas95 | 0:f016e9e8d48b | 181 | uint32_t gRX_COUNT = 0; |
aniruddhv | 262:752c8689944a | 182 | uint16_t gTOTAL_RAW_BYTES = 0; |
shreeshas95 | 0:f016e9e8d48b | 183 | uint16_t gTOTAL_INCORRECT_SIZE_TC = 0x00; |
shreeshas95 | 0:f016e9e8d48b | 184 | uint16_t gTOTAL_CRC_FAIL_TC = 0x00; |
shreeshas95 | 2:2caf2a9a13aa | 185 | uint16_t gTOTAL_REPEATED_TC = 0x00; |
shreeshas95 | 0:f016e9e8d48b | 186 | |
shreeshas95 | 0:f016e9e8d48b | 187 | // COMMON SPI |
shreeshas95 | 0:f016e9e8d48b | 188 | SPI spi( SPI_MOSI, SPI_MISO, SPI_CLK ); |
shreeshas95 | 1:a0055b3280c8 | 189 | DigitalOut gCS_ADF(SPI_CS_ADF); |
ee12b079 | 86:a26f5f22631d | 190 | DigitalOut cs_sd(SPI_CS_SDC); |
shreeshas95 | 2:2caf2a9a13aa | 191 | DigitalOut gCS_RTC(SPI_CS_RTC); |
shreeshas95 | 0:f016e9e8d48b | 192 | Mutex SPI_mutex; |
shreeshas95 | 0:f016e9e8d48b | 193 | |
ee12b079 | 209:63e9c8f8b5d2 | 194 | //I2C |
ee12b079 | 209:63e9c8f8b5d2 | 195 | Mutex BAE_I2C_mutex; |
ee12b079 | 209:63e9c8f8b5d2 | 196 | |
ee12b079 | 209:63e9c8f8b5d2 | 197 | //RF Relay |
ee12b079 | 209:63e9c8f8b5d2 | 198 | DigitalOut RF_SW_CNTRL_BCN(RF_RELAY_CNTRL_BCN); |
ee12b079 | 209:63e9c8f8b5d2 | 199 | DigitalOut RF_SW_CNTRL_TX(RF_RELAY_CNTRL_TX); |
ee12b079 | 209:63e9c8f8b5d2 | 200 | |
ee12b079 | 209:63e9c8f8b5d2 | 201 | //COM_RX |
ee12b079 | 209:63e9c8f8b5d2 | 202 | DigitalOut COM_RX_CNTRL(PIN72); |
ee12b079 | 209:63e9c8f8b5d2 | 203 | DigitalOut COM_TX_CNTRL(PIN56); |
aniruddhv | 275:605dd29161ad | 204 | DigitalIn COM_TX_OC_FAULT(PIN58); |
ee12b079 | 209:63e9c8f8b5d2 | 205 | |
shreeshas95 | 0:f016e9e8d48b | 206 | // TC LIST |
shreeshas95 | 0:f016e9e8d48b | 207 | Base_tc* gHEAD_NODE_TCL = NULL; |
shreeshas95 | 0:f016e9e8d48b | 208 | Base_tc* gLAST_NODE_TCL = NULL; |
shreeshas95 | 2:2caf2a9a13aa | 209 | uint8_t gMASTER_STATE = TCL_STATE_INCOMPLETE; |
shreeshas95 | 2:2caf2a9a13aa | 210 | uint16_t gFLAGS = 0x0000; |
shreeshas95 | 0:f016e9e8d48b | 211 | |
shreeshas95 | 0:f016e9e8d48b | 212 | // COM_MNG_TMTC THREAD |
shreeshas95 | 0:f016e9e8d48b | 213 | Thread* gCOM_MNG_TMTC_THREAD = NULL; |
shreeshas95 | 0:f016e9e8d48b | 214 | Timeout gRX_TIMEOUT; |
shreeshas95 | 0:f016e9e8d48b | 215 | Timeout gSESSION_TIMEOUT; |
aniruddhv | 262:752c8689944a | 216 | Timeout gCOM_RX_DISABLE; |
shreeshas95 | 0:f016e9e8d48b | 217 | |
shreeshas95 | 0:f016e9e8d48b | 218 | // COM_MNG_TMTC |
aniruddhv | 262:752c8689944a | 219 | RtosTimer *sys_reset_cdms_timer; |
ee12b079 | 209:63e9c8f8b5d2 | 220 | |
shreeshas95 | 2:2caf2a9a13aa | 221 | // PA cooling timeout |
shreeshas95 | 4:104dd82c99b8 | 222 | Timeout gCOM_PA_COOLING_TIMEOUT; |
shreeshas95 | 2:2caf2a9a13aa | 223 | |
shreeshas95 | 2:2caf2a9a13aa | 224 | // GS code for verification |
aniruddhv | 37:c9a739750806 | 225 | const uint8_t gGSCODE[] = {0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; |
shreeshas95 | 2:2caf2a9a13aa | 226 | |
shreeshas95 | 0:f016e9e8d48b | 227 | uint8_t gTOTAL_VALID_TC = 0x00; |
shreeshas95 | 0:f016e9e8d48b | 228 | // USE LAST_L1_ACK FOR GENERATING REPORT |
shreeshas95 | 4:104dd82c99b8 | 229 | uint8_t gLAST_TM[TM_LONG_SIZE]; |
shreeshas95 | 4:104dd82c99b8 | 230 | uint8_t gLAST_TM_SHORT_OR_LONG = SHORT_TM_CODE; |
shreeshas95 | 3:6c81fc8834e2 | 231 | |
shreeshas95 | 101:bece931236a2 | 232 | // PAYLOAD OR SCIENCE_THREAD |
shreeshas95 | 3:6c81fc8834e2 | 233 | Thread* gSCIENCE_THREAD = NULL; |
ee12b079 | 245:da9d1bd999da | 234 | dmaSPISlave *gPAY_SPI; |
ee12b079 | 191:0636c8391407 | 235 | uint8_t gPAYLOAD_BUFFER[PAYLOAD_BUFFER_LENGTH] = {0x00,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x41}; |
chaithanyarss | 251:c766afa330a3 | 236 | RtosTimer *PL_wo_dma; |
ee12b079 | 209:63e9c8f8b5d2 | 237 | |
shreeshas95 | 4:104dd82c99b8 | 238 | // CALL SIGN TM |
shreeshas95 | 103:b55559925dc1 | 239 | const uint8_t gCALL_SIGN_STRING[TM_SHORT_SIZE] = {0xE0, 0x00, 0x00, 0x00, 0x56, 0x55, 0x32, 0x4E, 0x43, 0x46, 0x00, 0xAC, 0x11}; |
shreeshas95 | 103:b55559925dc1 | 240 | |
ee12b079 | 245:da9d1bd999da | 241 | //HK Thread |
ee12b079 | 245:da9d1bd999da | 242 | Thread* gHK_THREAD = NULL; |
ee12b079 | 245:da9d1bd999da | 243 | RtosTimer *HK_counter; |
ee12b079 | 245:da9d1bd999da | 244 | |
shreeshas95 | 103:b55559925dc1 | 245 | // CDMS HK |
ee12b079 | 209:63e9c8f8b5d2 | 246 | uint8_t CDMS_STANDBY; |
ee12b079 | 209:63e9c8f8b5d2 | 247 | uint8_t CDMS_HEALTH_DATA[128]; |
ee12b079 | 209:63e9c8f8b5d2 | 248 | uint8_t CDMS_RAM[59]; |
ee12b079 | 209:63e9c8f8b5d2 | 249 | uint16_t GPIO_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 250 | uint8_t CDMS_HK_MAIN_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 251 | uint8_t COMRX_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 252 | uint8_t RTC_FAULTCOUNT; |
ee12b079 | 209:63e9c8f8b5d2 | 253 | uint16_t SD_FAULTCOUNT; |
ee12b079 | 209:63e9c8f8b5d2 | 254 | uint8_t SD_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 255 | uint8_t BAE_FAULTCOUNT; |
ee12b079 | 209:63e9c8f8b5d2 | 256 | uint8_t BAE_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 257 | uint8_t PL_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 258 | uint16_t PL_FAULTCOUNT; |
ee12b079 | 209:63e9c8f8b5d2 | 259 | bool BAE_HK_I2C; |
ee12b079 | 209:63e9c8f8b5d2 | 260 | uint8_t RTC_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 261 | float RSSI_volatge; |
ee12b079 | 209:63e9c8f8b5d2 | 262 | |
shreeshas95 | 103:b55559925dc1 | 263 | CDMS_HK_actual actual_data; |
shreeshas95 | 103:b55559925dc1 | 264 | CDMS_HK_quant quant_data; |
shreeshas95 | 103:b55559925dc1 | 265 | CDMS_HK_min_max min_max_data; |
ee12b079 | 194:ab528911780d | 266 | bool firstCount=true; |
ee12b079 | 194:ab528911780d | 267 | |
ee12b079 | 209:63e9c8f8b5d2 | 268 | //GPIO PINS |
ee12b079 | 209:63e9c8f8b5d2 | 269 | DigitalIn V_A_PGOOD (PIN88); |
ee12b079 | 209:63e9c8f8b5d2 | 270 | DigitalIn V_B_PGOOD_1 (PIN6); |
ee12b079 | 209:63e9c8f8b5d2 | 271 | DigitalIn V_B_PGOOD_2 (PIN7); |
ee12b079 | 209:63e9c8f8b5d2 | 272 | DigitalIn V_C_PGOOD (PIN54); |
ee12b079 | 209:63e9c8f8b5d2 | 273 | DigitalIn COMRX_OC_FAULT (PIN68); |
ee12b079 | 209:63e9c8f8b5d2 | 274 | DigitalIn BAE_OC_FAULT (PIN92); |
ee12b079 | 259:066a7abd2a5f | 275 | DigitalOut PL_GPIO_1_STATUS (PIN71); |
chaithanyarss | 257:7d404e9dc9e2 | 276 | DigitalOut PL_GPIO_2_STATUS (PIN81); |
chaithanyarss | 257:7d404e9dc9e2 | 277 | DigitalOut PL_GPIO_3_STATUS (PIN80); |
chaithanyarss | 224:3ac1f91e0ebc | 278 | DigitalIn PL_BEE_SW_OC_FAULT (PIN91); |
chaithanyarss | 224:3ac1f91e0ebc | 279 | DigitalIn PL_EPS_LATCH_SW_OC_FAULT (PIN5); |
chaithanyarss | 257:7d404e9dc9e2 | 280 | DigitalOut EPS_V_C_EN_STATUS (PIN72); |
chaithanyarss | 257:7d404e9dc9e2 | 281 | DigitalOut EPS_V_D_EN_STATUS (PIN56); |
ee12b079 | 209:63e9c8f8b5d2 | 282 | |
ee12b079 | 209:63e9c8f8b5d2 | 283 | |
ee12b079 | 209:63e9c8f8b5d2 | 284 | DigitalIn SD_OC_FAULT (PIN90); |
ee12b079 | 209:63e9c8f8b5d2 | 285 | DigitalOut SD_SW_EN_DS (PIN97); |
ee12b079 | 209:63e9c8f8b5d2 | 286 | DigitalOut BAE_SW_EN_DS (PIN47); |
chaithanyarss | 257:7d404e9dc9e2 | 287 | DigitalOut TRXY_EN (PIN84); |
chaithanyarss | 257:7d404e9dc9e2 | 288 | DigitalOut TRZ_EN (PIN88); |
chaithanyarss | 257:7d404e9dc9e2 | 289 | DigitalOut V_A_EN (PIN99); |
ee12b079 | 259:066a7abd2a5f | 290 | DigitalOut sys_pwr_rst (PIN96); |
ee12b079 | 245:da9d1bd999da | 291 | |
ee12b079 | 245:da9d1bd999da | 292 | DigitalOut PYLD_DFF (PIN73); |
ee12b079 | 245:da9d1bd999da | 293 | DigitalOut PYLD_DFF_CLK (PIN65); |
ee12b079 | 245:da9d1bd999da | 294 | DigitalOut PYLD_EPS_DFF_PWR (PIN64); |
ee12b079 | 245:da9d1bd999da | 295 | DigitalOut PYLD_EPS_DFF_PWR_CLK (PIN40); |
ee12b079 | 245:da9d1bd999da | 296 | |
ee12b079 | 245:da9d1bd999da | 297 | DigitalOut RESET_TO_BAE(PIN93,1); |
ee12b079 | 245:da9d1bd999da | 298 | DigitalOut RESET_TO_PYLD(PIN21); |
ee12b079 | 209:63e9c8f8b5d2 | 299 | |
ee12b079 | 194:ab528911780d | 300 | //SD HK |
ee12b079 | 194:ab528911780d | 301 | uint32_t FSC_CURRENT[6]; |
ee12b079 | 195:6a549c0e9287 | 302 | uint32_t FSC_LAST[6]; |
ee12b079 | 209:63e9c8f8b5d2 | 303 | uint8_t SD_RD_ERROR; |
ee12b079 | 209:63e9c8f8b5d2 | 304 | |
ee12b079 | 209:63e9c8f8b5d2 | 305 | //Time's |
ee12b079 | 209:63e9c8f8b5d2 | 306 | uint32_t TIME_LATEST_RTC; |
ee12b079 | 209:63e9c8f8b5d2 | 307 | uint32_t TIME_LATEST_I2C_BAE; |
ee12b079 | 209:63e9c8f8b5d2 | 308 | uint32_t TIME_LATEST_I2C_SPEED; |
ee12b079 | 209:63e9c8f8b5d2 | 309 | uint32_t TIME_LATEST_SD_WR; |
ee12b079 | 209:63e9c8f8b5d2 | 310 | uint32_t TIME_LATEST_SD_RD; |
ee12b079 | 209:63e9c8f8b5d2 | 311 | uint32_t TIME_LATEST_SPI_SPEED; |
ee12b079 | 209:63e9c8f8b5d2 | 312 | |
ee12b079 | 209:63e9c8f8b5d2 | 313 | //Counter's |
ee12b079 | 209:63e9c8f8b5d2 | 314 | uint16_t CDMS_I2C_ERR_SPEED_COUNTER; |
ee12b079 | 209:63e9c8f8b5d2 | 315 | uint16_t CDMS_I2C_ERR_BAE_COUNTER; |
ee12b079 | 209:63e9c8f8b5d2 | 316 | uint16_t CDMS_HK_MAIN_COUNTER; |
ee12b079 | 209:63e9c8f8b5d2 | 317 | uint16_t COMRX_RESET_COUNTER; |
ee12b079 | 209:63e9c8f8b5d2 | 318 | uint16_t PL_MAIN_COUNTER; |
ee12b079 | 209:63e9c8f8b5d2 | 319 | uint16_t PL_RCV_SC_DATA_COUNTER; |
chaithanyarss | 257:7d404e9dc9e2 | 320 | uint16_t CDMS_WR_SD_FAULT_COUNTER; |
chaithanyarss | 257:7d404e9dc9e2 | 321 | uint16_t SD_LIB_WRITES = 0; |
ee12b079 | 209:63e9c8f8b5d2 | 322 | |
ee12b079 | 209:63e9c8f8b5d2 | 323 | //CDMS RAM parameters |
ee12b079 | 209:63e9c8f8b5d2 | 324 | uint8_t PL_INIT_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 325 | uint8_t PL_MAIN_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 326 | uint8_t PL_LOW_POWER; |
ee12b079 | 209:63e9c8f8b5d2 | 327 | uint8_t PL_STATE; |
ee12b079 | 209:63e9c8f8b5d2 | 328 | uint8_t PL_RCV_SC_DATA_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 329 | uint8_t EN_CDMS_HK; |
chaithanyarss | 257:7d404e9dc9e2 | 330 | uint8_t EN_PL; |
chaithanyarss | 257:7d404e9dc9e2 | 331 | uint8_t EN_RCV_SC; |
ee12b079 | 209:63e9c8f8b5d2 | 332 | uint8_t CDMS_INIT_STATUS; |
ee12b079 | 209:63e9c8f8b5d2 | 333 | uint8_t CDMS_HK_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 334 | uint8_t COM_RX_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 335 | uint8_t CDMS_RTC_BL; |
chaithanyarss | 257:7d404e9dc9e2 | 336 | |
chaithanyarss | 257:7d404e9dc9e2 | 337 | //CDMS FLASH parameters |
chaithanyarss | 257:7d404e9dc9e2 | 338 | uint8_t EPS_V_A_EN_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 339 | uint8_t BAE_SW_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 340 | uint8_t CDMS_SD_SW_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 341 | uint8_t PL_BEE_SW_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 342 | uint8_t PL_EPS_LATCH_SW_EN; |
chaithanyarss | 257:7d404e9dc9e2 | 343 | uint8_t RTC_INIT_STATUS; |
chaithanyarss | 257:7d404e9dc9e2 | 344 | uint8_t CDMS_RTC_DISABLE; |
chaithanyarss | 257:7d404e9dc9e2 | 345 | uint16_t CDMS_RESET_COUNTER; |
chaithanyarss | 257:7d404e9dc9e2 | 346 | uint32_t TIME_LATEST_CDSMS_RESET; |
chaithanyarss | 257:7d404e9dc9e2 | 347 | uint16_t COM_TC_BYTES_LIMIT; |
chaithanyarss | 257:7d404e9dc9e2 | 348 | uint8_t COM_RX_CURRENT_MAX; |
chaithanyarss | 257:7d404e9dc9e2 | 349 | uint8_t COM_RX_DISABLE_TIMEOUT; |
chaithanyarss | 257:7d404e9dc9e2 | 350 | uint8_t COM_PA_TMP_HIGH; |
chaithanyarss | 257:7d404e9dc9e2 | 351 | uint8_t COM_PA_RECOVERY_TIMEOUT; |
chaithanyarss | 257:7d404e9dc9e2 | 352 | uint8_t COM_SESSION_TIMEOUT; |
chaithanyarss | 257:7d404e9dc9e2 | 353 | uint8_t COM_RSSI_MIN; |
chaithanyarss | 257:7d404e9dc9e2 | 354 | uint16_t SD_LIB_BLK_CURRENT; |