/*
 * th_b1553_icd_messages_id.h
 *
 *  Created on: 04/apr/2019
 *      Author: chessaa
 */

#ifndef TH_B1553_ICD_MESSAGES_ID_H_
#define TH_B1553_ICD_MESSAGES_ID_H_


namespace icd1553
{

enum message_subaddress_enum_t
{
	SA_A1_rdr_operational_setting=1,
	SA_A2_rdr_operation_command=2,
	SA_A3_graphic_settings=3,
	SA_A4_navigation_andcursor_data=4,
	SA_A5_inu_high_speed_vector=5,
	SA_A6_not_used=6,
	SA_A7_data_link_targets_1=7,
	SA_A8_data_link_targets_2=8,
	SA_A9_reserved_debug=9,

	SA_B0_reserved_debug=SA_A9_reserved_debug,

	SA_B1_tws_status_1_2=11,
	SA_B2_tws_status_3_4_5,
	SA_B3_tws_status_6_7_8,
	SA_B4_stp,
	SA_B5_stt,
	SA_B6_rdr_operational_setting_tellback,
	SA_B7_rdrstatus_tellback,
	SA_B8_bit_report,
	SA_B9_reserved_1,
	SA_B10_reserved_2,

	SA_B11_mtt3=21,
	SA_B12_mtt4,
	SA_B13_mtt5,
	SA_B14_mtt6,
	SA_B15_mtt7,
	SA_B16_mtt8,
	SA_B17_mtt9,
	SA_B18_mtt10,

	SA_Wraparound=30
};

enum message_len_enum_t
{
	LEN_A1_rdr_operational_setting=10,
	LEN_A2_rdr_operation_command=3,
	LEN_A3_graphic_settings=32,
	LEN_A4_navigation_andcursor_data=31,
	LEN_A5_inu_high_speed_vector=23,
	LEN_A6_not_used=0,
	LEN_A7_data_link_targets_1=31,
	LEN_A8_data_link_targets_2=30,
	LEN_A9_reserved_debug=32,

	LEN_B1_tws_status_1_2=29,
	LEN_B2_tws_status_3_4_5=27,
	LEN_B3_tws_status_6_7_8=27,

	LEN_B4_stp_legacy=24,

	LEN_B4_stp=(24+3),	//T&S: same as stt
	LEN_B5_stt=(26+1),
	LEN_B6_rdr_operational_setting_tellback=23,
		//LEN_B6_rdr_operational_setting_tellback_reserved_words=4,
		//LEN_B6_rdr_operational_setting_tellback_ext=LEN_B6_rdr_operational_setting_tellback+LEN_B6_rdr_operational_setting_tellback_reserved_words,

	LEN_B7_rdrstatus_tellback=3,
	LEN_B8_bit_report=22,
		LEN_B8_bit_report_ext=32,

	LEN_B9_reserved_1=32,
	LEN_B10_reserved_2=32,
	LEN_B11_reserved_debug=32
};

} //name-space icd1553

#endif /* TH_B1553_ICD_MESSAGES_ID_H_ */
