C2A_Core
packet_handler_params.h
[詳解]
1 
5 #ifndef PACKET_HANDLER_PARAMS_H_
6 #define PACKET_HANDLER_PARAMS_H_
7 
8 // TL_MIS, DR の利用の有無で必要な PL が変わるので, include する
9 #include "../Applications/timeline_command_dispatcher_define.h"
10 #include "../Applications/data_recorder_define.h"
11 
12 
13 #undef TL_TLM_PAGE_SIZE
14 #undef TL_TLM_PAGE_MAX
15 
16 #undef PH_GSC_LIST_MAX
17 #undef PH_RTC_LIST_MAX
18 #undef PH_TLC_GS_LIST_MAX
19 #undef PH_TLC_BC_LIST_MAX
20 #undef PH_TLC_TLM_LIST_MAX
21 #undef PH_TLC_MIS_LIST_MAX
22 #undef PH_RT_TLM_LIST_MAX
23 #undef PH_ST_TLM_LIST_MAX
24 #undef PH_RP_TLM_LIST_MAX
25 
26 #define TL_TLM_PAGE_SIZE (32)
27 #define TL_TLM_PAGE_MAX (8)
28 
29 #define PH_GSC_LIST_MAX (8)
30 #define PH_RTC_LIST_MAX (32)
31 #define PH_TLC_GS_LIST_MAX (TL_TLM_PAGE_SIZE * TL_TLM_PAGE_MAX) // コメント追加(2019/08/19)
32  // これが最長じゃないといけない
33  // timeline_command_dispatcher.tlm_info_.tl_list の長さがこれなので
34 #define PH_TLC_BC_LIST_MAX (TL_TLM_PAGE_SIZE * 4)
35 #define PH_TLC_TLM_LIST_MAX (TL_TLM_PAGE_SIZE * 4)
36 #ifdef TLCD_ENABLE_MISSION_TL
37 #define PH_TLC_MIS_LIST_MAX (TL_TLM_PAGE_SIZE * 4) // とりあえず TL_DEPLOY_BC, TL_DEPLOY_TLM と同じ長さにした
38 #endif
39 #define PH_RT_TLM_LIST_MAX (16)
40 #ifdef DR_ENABLE
41 #define PH_ST_TLM_LIST_MAX (16)
42 #define PH_RP_TLM_LIST_MAX (16)
43 #endif
44 
45 #endif