# README 2024/09/19 # = MEA2 L0 binary data format There are L0 binary files for Venus flyby #1 and Mercurt flyby #4. In both cases, we got a problem before the closest approch : MEA2 switched to a mode with only DataID = 7 telemetry product, but we didn't find an commanding TCs that can explain this mode change. == Files pattern : * MEA2_L0_yyyymmdd_TLM_240.dat MEA2 binary L0 data for yyyy/mm/dd * MEA2_L0_yyyymmdd_TLM_240.log MEA2 telemetry download logfile == Files content: MEA2 binary L0 files containts both APID 0530 (science) and 0630 (HKs) == Data format int32_t len byte_t data [0..len-1] data correspond to the struct tlm_pkt {} define in MMO_SDTP.h include file. struct tlm_pkt { unsigned char ad_ver[1]; unsigned char ad_sat[1]; unsigned char ad_tim[10]; unsigned char ad_bnd[1]; unsigned char ad_dm1[1]; unsigned char ad_dm2[1]; unsigned char ad_lck[1]; unsigned char ad_brt[1]; unsigned char ad_pno[5]; unsigned char ad_dm3[1]; unsigned char ad_ant[1]; unsigned char ad_rsv[8]; unsigned char ad_rs2[32]; unsigned char ccsds_h1[6]; /* packet header */ unsigned char ccsds_h2[8]; /* 2nd header */ unsigned char u_data[65532]; /* TB checked*/ } data = [SDTP_HEADER][CCSDS_HEADER1][CCSDS_HEADER2][USER_DATA]