Files
SOMEIP/code_generator/backup/old/tcu_cfg_ids.hpp
2026-06-09 20:16:47 +08:00

55 lines
1.4 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/// @author liuzhimin@huaxu.com
/// @generate date: 2022-07-20 16:22:40
/// [注本文件为自动生成不需要人为编辑若有修改请通过配置py脚本来重新生成.]
#ifndef VSOMEIP_TCU_CFG_IDS_HPP
#define VSOMEIP_TCU_CFG_IDS_HPP
#define VSOMEIP_CONFIGURATION "/etc/vsomeip"
#define APP_NAME "TCU"
#define TCU_SERVICE_ID 0x1000
#define TCU_INSTANCE_ID 0x2000
#define USE_TCP 1
#define OFFER_F_F_METHOD 1
#define OFFER_R_R_METHOD 1
#define OFFER_SETTER 1
#define OFFER_GETTER 1
#define OFFER_EVENT 0
#define OFFER_FIELD_EVENT 1
#if OFFER_F_F_METHOD
#define TCU_ADASOFF_F_F_METHOD_ID 0x0100 //0x0101,0x0102...
#endif
#if OFFER_R_R_METHOD
#define TCU_CAMSTATUS_R_R_METHOD_ID 0x0200 //0x0201,0x0202...
#endif
#if OFFER_GETTER
#define TCU_DISTANCE_GET_METHOD_ID 0x0300 //0x0301,0x0302...
#endif
#if OFFER_SETTER
#define TCU_LIMITEDSPEED_SET_METHOD_ID 0x0400 //0x0401,0x0402...
#endif
#if OFFER_EVENT
#define TCU_SIGNDETECTED_EVENTGROUP_ID 0x8100 //0x8200,0x8300...
#define TCU_SPEEDLIMITSIGNDETECTED_EVENT_ID 0x8101 //0x8102,0x8103...
#endif
#if OFFER_FIELD_EVENT
#define TCU_SIGNDETECTED_FIELD_EVENTGROUP_ID 0x8800 //0x8900,0x8a00...
#define TCU_SPEEDLIMITSIGNDETECTED_FIELD_EVENT_ID 0x8801 //0x8802,0x8803...
#endif
#endif // VSOMEIP_EXAMPLES_SAMPLE_CFG_IDS_HPP