Описание схемы данных:

{type	time_tlv_t
}

{type	tlv_unix_time_t
	{supper	time_tlv_t}
	{attr	m_utime	{of	oess_1::uint_t}}
}

{type	tlv_ascii_time_t
	{supper	time_tlv_t}
	{attr	m_atime
		{fixed-vector 14}
		{of	oess_1::char_t}}
}

{type	ascii_tlv_t
	{attr	m_value	{of	std::string}}
}

{type	tlv_unique_num_t
	{super	ascii_tlv_t}
}

{type	tlv_sum_t
	{super	ascii_tlv_t}
}

{type	tlv_currency_code_t
	{super	ascii_tlv_t}
}

{type	tlv_phone_t
	{super	ascii_tlv_t}
}

{type	tlv_terminal_num_t
	{super	ascii_tlv_t}
}

{type	tlv_operator_t
	{super	ascii_tlv_t}
}

{type	base_msg_tlv_t
	{attr	m_date_time {of {ptr}	time_tlv_t}}
	{attr	m_unique_num	{of	tlv_unique_num_t}}
	{attr	m_sum	{of	tlv_sum_t}}
	{attr	m_currency_code	{of	tlv_currency_code_t}}	
	{attr	m_phone	{of	tlv_phone_t}}
	{attr	m_terminal_num	{of	tlv_terminal_num_t}}
	{attr	m_operator	{of	tlv_operator_t}}
}

{type	tpii_gate_1_tlv_t
	{super	base_msg_tlv_t}
}

{type	tpii_gate_2_tlv_t
	{super	base_msg_tlv_t}
}

{type	tlv_result_t
	{attr	m_result	{of	oess_1::ushort_t}}
}

{type	base_resp_tlv_t
	{super	base_msg_tlv_t}
	{attr	m_result	{of	tlv_result_t}}
}

{type	gate_tpii_1_tlv_t
	{super	base_resp_tlv_t}
}

{type	gate_tpii_2_tlv_t
	{super	base_resp_tlv_t}
}

Описание отображения в TLV:

{tlv-params
	{tag-type	oess_1::uchar_t }
	{length-type	oess_1::ushort_t }

	{i-class	ient_tlv_t
		{cpp-namespace	mobilling_1::tpii::impl::tlv} }

	{o-class	oent_tlv_t
		{cpp-namespace	mobilling_1::tpii::impl::tlv} }
}

{type	tlv_unix_time_t
	{tag	0x82}
}

{type	tlv_ascii_time_t
	{tag	0x81}
}

{type	tlv_unique_num_t
	{tag	0x83}
}

{type	tlv_sum_t
	{tag	0x84}
}

{type	tlv_currency_code_t
	{tag	0x85}
}

{type	tlv_phone_t
	{tag	0x86}
}

{type	tlv_terminal_num_t
	{tag	0x87}
}

{type	tlv_operator_t
	{tag	0x88}
}

|| Не реализовано!
||{type	base_msg_tlv_t
||	{mandatory-attr	m_date_time}
||}

{type	tpii_gate_1_tlv_t
	{tag	0x01}
}

{type	tpii_gate_2_tlv_t
	{tag	0x03}
}

{type	tlv_result_t
	{tag	0x89}
}

{type	gate_tpii_1_tlv_t
	{tag	0x02}
}

{type	gate_tpii_2_tlv_t
	{tag	0x04}
}