Logo
中文版
详情联系: neusar-support@reachauto.com
用户实例文档 文档

1 文档概述

本文档的内容参考《AP产品-Communication Manage-模块使用手册》文档和《NeuSAR工具链-配置工具-Creator使用手册》文档,在上述文档的基础上进行实例的配置和部署;本文涉及实例仅做演示用途,不做其他用途。

1.1 文档目的和范围

本文档为NeuSAR的SOA的用户实例文档,为用户开发SOA自适应平台应用程序时,使用SOA Adapter模块提供范例参考。

1.1.1 术语/缩略语

序号术语/缩略语说明
1CMCommunication Management(通信管理)
2SOA面向服务架构

1.2 参考文档

序号文档名版本
1AP产品-Communication Manage-模块使用手册11.51
2NeuSAR工具链-配置工具-Creator使用手册10.0

2 实例配置

本用户实例以调用SOA Adapter提供灯光控制,车窗,后视镜相关服务为例进行说明。

2.1 用户实例设计

2.1.1 设计框图

1

基于SOA Adapter功能,设计SOA用户实例,业务APP可与SOA Adapter部署在同一硬件环境中,也可部署在其他ECU中。

2.1.2 设计原则

SOA Adapter中配置了对外提供灯光控制,车窗,后视镜相关服务。业务APP配置相应的请求服务,与SOA Adapter通信,控制灯光,车窗,后视镜。 设计了如下服务:

服务名服务类型ServiceIDInstanceIDMethodID示例内容
LightCtrl SetLightModeR/R Method0x20010x00010x0001业务APP循环调用method,设置参数down,设置成功返回值0x1
LightCtrl LightFieldField Setter0x20010x00010x6001业务APP循环调用Setter,设置值从0递增到4
LightCtrl LightFieldField Getter0x20010x00010x5001业务APP循环调用Getter,获取当前灯光值
LightCtrl LightEventEvent0x20010x00010x8001业务APP订阅Event,业务SWC定期发送灯光Event
WindowFunctionCfg WindowCfgFiled Setter0x100B0x00010x6003业务APP定期调用Setter,设置数据,从0递增至0XFFFFFFFF’FFFFFFFF,该服务会发送CAN信号
MirrorPosFRSts EnRightMirrorYPosFiled Getter0x10320x00010x0001业务APP定期调用Getter,获取数据,数据值为WindowFunctionCfg WindowCfg Setter设置的值。
MirrorPosFRSts EnRightMirrorYPosField Notifier0x10320x00010x8002业务APP订阅Notifier,业务SWC定期通知该消息,其中数据来源于CAN信号

2.2 上位机配置

2.2.1 配置服务

首先把设计的服务配置到上位机中。

2.2.1.1 配置数据类型

为服务接口准备数据类型,先配置枚举定义 GeneralConfiguration->CompuMethod右键add,命名CompuMethodLightEventType 2

添加子节点 3

4

类似的创建CompuMethodLightValueType、CompuMethodLightResultType、CompuMethodOperateCode类型如下 5

6

7

8

9

10

添加数据类型 GeneralConfiguration->StdCppImplementationDataType右键add,命名LightEventType 11

配置命名空间 12

添加枚举类型引用至CompuMethodLightEventType 13

类似的再创建LightValueType 14

15

16

创建OperateCode 17

18

19

创建LightResultType 20

21

创建WLFunCfgSt 22

2.2.1.2 配置服务接口

根据设计好的服务配置接口

CommunicationManagement->ServiceInterface右键add,命名LightCtrl,并创建子节点Events,命名LightEvent,Type Tref引用数据类型LightEventType,如下 23

添加Fields节点和LightField子节点,引用LightValueType类型 24

添加Methods节点和SetLightMode子节点如下 25

配置入参出参 26

27

创建命名空间 28

类似的创建WindowFunctionCfg接口 29

创建MirrorPosFRSts接口配置fields->EnRightMirrorYPos 30

2.2.1.3 配置服务部署

CommunicationManagement->SomeipServiceInterfaceDeployment右键add 31

32

33

34

35

36

37

38

继续配置WindowFunctionCfgSomeipServiceInterfaceDeployment和MirrorPosFRStsSomeipService InterfaceDeployment节点 39

40

41

42

43

44

45

46

47

48

2.2.2 配置应用

创建AdaptiveApplicationSwComponentType GeneralConfiguration->AdaptiveApplicationSwComponentType右键add,命名AsfNeusarSoaClient 49

继续创建子节点,选择RPortTrotoType,创建WindowFunctionCfg_RPort、MirrorPosFRSts_RPort、LightCtrl_RPort三个节点,引用上面配置的服务接口如下 50

添加启动配置 ExecutionManagement->StartupConfigSet->StartupConfigs右键add,取名AsfNeusarSoaClient 51

GeneralConfigurationExecutable右键add,取名AsfNeusarSoaClient,继续add子节点,选择上一步创建的AdaptiveApplicationSwComponentType节点 52

GeneralConfigurationProcessDesign右键add,取名AsfNeusarSoaClient,Executable选择上一步创建的节点 53

GeneralConfigurationProcess右键add,取名AsfNeusarSoaClient,Design和Executable Ref选择上面配置的节点,继续创建子节点StateDependentStartupConfig,选择之前配置的节点 54

配置启动依赖 55

56

57

配置请求实例 CommunicationManagement->RequiredSomeipServiceInstance右键add 58

59

60

61

62

配置InstanceToMachineMapping CommunicationManagement->SomeipServiceInstanceToMachineMapping右键add 63

64

65

配置ServiceInstanceToPortPrototypeMapping CommunicationManagement->ServiceInstanceToPortPrototypeMapping右键add 66

67

68

69

70

71

2.2.3 配置SOAAdapter

点击左侧ASF栏,在SOAAdapter下新增SOAAdapterConfig节点 72

配置LightCtrlServiceAdapter 73

添加EventAdapterConfig 74

75

添加FieldAdapterConfig 76

77

78

79

类似的,添加MirrorPosFRStsServiceAdapter配置 80

81

继续添加子节点选择FieldGetterAdapterForS2S,配置SignalMapping,填入VCU_Sample_Ctrl0_ Msg、VCU_SampleRXSig_Ctrl0_1 82

添加FieldNotifierAdapterForS2S 83

84

继续配置WindowFunctionCfgServiceAdapter 85

86

添加FieldSetterAdapterForS2S子节点,配置SignalMapping,填入BMS_Sample_Ctrl0_TX_1、BMS_SampleTXSig_Ctrl0_1 87

2.2.4 生成SOAAdapter服务

UpdateAndConfigManagement->SoftwareCluster->NeuSARPlatform 88

添加AsfNeusarSoaServer和AsfNeusarSoaClient 89

右键asf,点击Update SOAAdapter,会根据配置的映射关系生成SOAAdapter服务到AP节点中 90

右键AP节点hpc1,点击Arxml Check 91

点击save保存生成的服务节点 92

右键AP hpc1节点,生成代码 93

右键asf节点,生成代码 94

示例应用代码会生成至adaptive/hpc1/output/code/AsfNeusarSoaClient Soa服务进程代码会生成至adaptive/hpc1/output/code/AsfNeusarSoaServer

3 实例实现

3.1 业务应用

业务应用用于控制灯光,车窗,后视镜服务,其主要使用CM的相关API进行服务调用。

本实例中,AsfNeusarSoaClient为SOA Adapter提供服务的客户端应用程序,作为服务消费者,需要遵从《NeuSAR工具链-配置工具-Creator使用手册》和本实例文档的要求进行设计和开发,这里列出主要的客户端操作,仅供参考。

3.1.1 查找服务

作为客户端,需要发现服务,注册服务回调函数(即注册发现服务后的动作函数),并实现服务回调函数。

代码块举例如下:

1)开始发现服务,并注册服务回调函数 <Name>Proxy::StartFindService:参见《AP产品-Communication Manage-模块API》

95

调用Proxy::StartFindService开始查找服务,MirrorPosFRStsAvailabilityCallback,LightCtrlAvailabilityCallback,WindowFunctionCfgAvailabilityCallback为查找到服务之后的回调函数。

2)实现服务回调函数 <Name>Proxy::<Name>Proxy(const HandleType &handle)、 <Name>Proxy::GetHandle()、HandleType::GetInstanceId():参见《AP产品-Communication Manage-模块API》

96

实现MirrorPosFRStsAvailabilityCallback函数,即查找到服务之后会调用该函数,该函数的主要目的是获取服务句柄mirrorposfrsts_proxy。 97

实现LightCtrlAvailabilityCallback函数,即查找到服务之后会调用该函数,该函数的主要目的是获取服务句柄lightctrl_proxy。 98

实现WindowFunctionCfgAvailabilityCallback函数,即查找到服务之后会调用该函数,该函数的主要目的是获取服务句柄windowfunctioncfg_proxy。 后续针对各服务接口的Method、Field都需要使用对应的<Service>_proxy作为句柄进行调用。

3.1.2 Method处理

Method是由客户端发送,服务端接收的;对于客户端来说,只要进行Method调用即可。

具体代码块举例如下:

1)调用Method Method::operator()(input1,input2,...):参见《AP产品-Communication Manage-模块API》

99

​ 上述代码块中使用了C++中的future特性,以进行异步编程,建议在用户应用程序中也做同样处理。 ​ 在这部分代码中调用SetLightModeMethodCall发送控制inMethod,inMethod设置为down,表示下调灯光。并使用future特性接收Method调用的返回值。

3.1.3 Field处理

​ Field包含两部分:Notifier是由服务端发送,客户端接收的,是作为Event进行处理的,可以直接调用Event提供的接口;Getter和Setter是由客户端发送、服务端接收的,与Method处理类似。

具体代码块举例如下:

1)如果未曾订阅过该Field-Notifier,则注册Field-Notifier接收回调函数,并请求订阅Field-Notifier Event::IsSubscribed()、Event::SetReceiveHandler、Event::Subscribe:参见《AP产品-Communication Manage-模块API》

100

Event与Field-Notifier类似 101

若Field-Notifier订阅成功,客户端将会收到服务提供端发送的Field-Notifier消息,然后会自动调用注册的回调函数进行处理(回调函数即上述代码块中的ClientActivity::Receive_LightFieldNotifier_CallBack(),ClientActivity::Receive_EnRightMirrorYPosNotifier_CallBack())。

2)实现Field-Notifier接收回调函数 Event::GetFreeSampleCount()、Event::GetNewSamples:参见《AP产品-Communication Manage-模块API》 回调函数由用户根据实际业务需求进行具体的功能实现。

102

该回调函数每次收到灯光Event消息后,打印灯光值。 103

该回调函数每次收到后视镜通知消息后,打印后视镜值。

3)进行Field-Getter调用 Field::Get():参见《AP产品-Communication Manage-模块API》

104

105

Getter方法打印当前获取的后视镜数值。

4)进行Field-Setter调用 Field::Set(const FieldType& value):参见《AP产品-Communication Manage-模块API》

106

107

上述代码块中使用了C++中的future特性,以进行异步编程,建议在用户应用程序中也做同样处理。 LightFieldSetter函数调用Setter方法,循环设置灯光值。 将此应用编译并部署到系统上去。

3.2 CM API

请参阅《AP产品-Communication Manage-模块API》文档。

4 实例运行结果

1.将编译完成的AsfNeusarSoaClient包部署在系统/opt/目录下。

注:需要搭配对应的SOA Adapter程序及M核bin程序;

2.确保实例中配置的IP信息与系统IP信息一致

3.运行AsfNeusarSoaClient程序(部署成功后重启系统AsfNeusarSoaClient会自动启动),查看日志

日志可以查看/log/redirected/AsfNeusarSoaClient文件内容。

运行结果如下:

client object address 0x559c1ca3cfa0
enter ClientActivity init()
2023/10/09 15:25:26.134567 44603492 000 ECU1 SOAC INTM log info V 1 [Enabled console output.]
2023/10/09 15:25:26.134679 44603493 000 ECU1 SOAC PER- log warn V 1 [The Storage<persistency_manifest> location </opt/AsfNeusarSoaClient/shared/persistency_manifest.json> was not found. ]
2023/10/09 15:25:26.134754 44603494 001 ECU1 SOAC PER- log info V 2 [Failed to load manifest database due to: persistency_manifest]
Version: SOMEIP.1.1911.P00AP.02
2023-10-09 15:25:26.135824 [info] load_unicast_multicast_address port:30490 unicast_ip:172.30.30.30 multicast_ip=224.224.224.245
2023-10-09 15:25:26.135900 [info] set_magic_cookies_unicast_address unicast_address:127.0.0.1
2023-10-09 15:25:26.135913 [info] Parsed vsomeip configuration in 0ms
2023-10-09 15:25:26.135923 [info] Using configuration file: "../../etc/vsomeip.json".
2023-10-09 15:25:26.135934 [info] Default configuration module loaded.
2023-10-09 15:25:26.135942 [info] Initializing vsomeip application "AsfNeusarSoaClient".
2023-10-09 15:25:26.135993 [info] SOME/IP client identifier configured. Using 000a (was: 0000)
2023-10-09 15:25:26.136004 [info] Instantiating routing manager [Proxy].
2023-10-09 15:25:26.136024 [info] Client [a] is connecting to [0] at /tmp/vsomeip-0
2023-10-09 15:25:26.136041 [info] Using e2e configuration file: /etc/e2e_configuration.json
2023-10-09 15:25:26.136053 [info] E2E protection disabled.
2023-10-09 15:25:26.136076 [info] Listening at /tmp/vsomeip-a
2023-10-09 15:25:26.136084 [info] Application(AsfNeusarSoaClient, a) is initialized (11, 100).
2023-10-09 15:25:26.136124 [info] Starting vsomeip application "AsfNeusarSoaClient" using 2 threads
2023-10-09 15:25:26.136254 [info] io thread id from application: 000a (AsfNeusarSoaClient) is: 7f3a456ed700
2023-10-09 15:25:26.136358 [info] main dispatch thread id from application: 000a (AsfNeusarSoaClient) is: 7f3a44eec700
2023-10-09 15:25:26.136417 [info] Client a successfully connected to routing ~> registering..
2023-10-09 15:25:26.136496 [info] shutdown thread id from application: 000a (AsfNeusarSoaClient) is: 7f3a3ffff700
2023-10-09 15:25:26.136514 [info] io thread id from application: 000a (AsfNeusarSoaClient) is: 7f3a3f7fe700
2023-10-09 15:25:26.136619 [info] Application/Client a is registered.
2023/10/09 15:25:26.136928 44603516 000 ECU1 SOAC S2S- log info V 2 [Using s2s configuration file: /etc/s2s_config.json]
2023/10/09 15:25:26.136941 44603516 001 ECU1 SOAC S2S- log info V 2 [Begin to loading S2S configuartion /etc/s2s_config.json]
2023/10/09 15:25:26.136984 44603516 002 ECU1 SOAC S2S- log error V 2 [Loading S2S configuration Failed : /etc/s2s_config.json: cannot open file]
2023/10/09 15:25:26.136994 44603516 003 ECU1 SOAC S2S- log info V 2 [Parse S2S configuration status: 0]
2023/10/09 15:25:26.137009 44603516 000 ECU1 SOAC VSOM log debug V 1 [StartFindService IAM iam_handler_ NULL!]
2023-10-09 15:25:26.137017 [info] routing_manager_proxy::request_service service 1032 instance 1 is static Service Discovery: False
2023/10/09 15:25:26.137031 44603517 001 ECU1 SOAC VSOM log info V 4 [StartFindService RegisterFindServiceHandle service_id: 0x1032 instance_id: 0x0001]
2023/10/09 15:25:26.137047 44603517 002 ECU1 SOAC VSOM log debug V 1 [StartFindService IAM iam_handler_ NULL!]
2023-10-09 15:25:26.137053 [info] routing_manager_proxy::request_service service 2001 instance 1 is static Service Discovery: False
2023/10/09 15:25:26.137060 44603517 003 ECU1 SOAC VSOM log info V 4 [StartFindService RegisterFindServiceHandle service_id: 0x2001 instance_id: 0x0001]
2023/10/09 15:25:26.137069 44603517 004 ECU1 SOAC VSOM log debug V 1 [StartFindService IAM iam_handler_ NULL!]
2023-10-09 15:25:26.137074 [info] routing_manager_proxy::request_service service 100b instance 1 is static Service Discovery: False
2023/10/09 15:25:26.137080 44603517 005 ECU1 SOAC VSOM log info V 4 [StartFindService RegisterFindServiceHandle service_id: 0x100b instance_id: 0x0001]
Now, let's start doing something...
enter WindowFunctionCfg_act
enter MirrorPosFRSts_act
enter LightCtrl_act
2023/10/09 15:25:26.137278 44603519 006 ECU1 SOAC VSOM log debug V 6 [VSomeIPProxyFactoryImpl AvailabilityHandler available: 0 service_id: 0x1032 instance_id: 0x0001]
2023/10/09 15:25:26.137548 44603522 007 ECU1 SOAC VSOM log info V 2 [StartFindService callback the service is not available service_id: 0x1032]
[MirrorPosFRSts] Service.instance is not available: 4146.1
2023/10/09 15:25:26.137818 44603525 008 ECU1 SOAC VSOM log debug V 6 [VSomeIPProxyFactoryImpl AvailabilityHandler available: 0 service_id: 0x2001 instance_id: 0x0001]
2023/10/09 15:25:26.137925 44603526 009 ECU1 SOAC VSOM log info V 2 [StartFindService callback the service is not available service_id: 0x2001]
[LightCtrl] Service.instance is not available: 8193.1
2023/10/09 15:25:26.138143 44603528 010 ECU1 SOAC VSOM log debug V 6 [VSomeIPProxyFactoryImpl AvailabilityHandler available: 0 service_id: 0x100b instance_id: 0x0001]
2023/10/09 15:25:26.138312 44603529 011 ECU1 SOAC VSOM log info V 2 [StartFindService callback the service is not available service_id: 0x100b]
[WindowFunctionCfg] Service.instance is not available: 4107.1
2023-10-09 15:25:26.147519 [error] Have not APP unicass address and locators service:4107 _instance:1
2023-10-09 15:25:26.147528 [info] APP get_unicast_address its_unicast_address:127.0.0.1 service:100b _instance:1
2023-10-09 15:25:26.147533 [error] Have not APP unicass address and locators service:4146 _instance:1
2023-10-09 15:25:26.147535 [info] APP get_unicast_address its_unicast_address:127.0.0.1 service:1032 _instance:1
2023-10-09 15:25:26.147538 [error] Have not APP unicass address and locators service:8193 _instance:1
2023-10-09 15:25:26.147540 [info] APP get_unicast_address its_unicast_address:127.0.0.1 service:2001 _instance:1
2023-10-09 15:25:26.147634 [info] application_impl::on_availability handler _service:100b _instance:1 _is_available:true
2023-10-09 15:25:26.147662 [info] ON_AVAILABLE(000a): [100b.0001:1.1]
2023-10-09 15:25:26.147672 [info] application_impl::on_availability handler _service:1032 _instance:1 _is_available:true
2023-10-09 15:25:26.147675 [info] ON_AVAILABLE(000a): [1032.0001:1.1]
2023-10-09 15:25:26.147688 [info] application_impl::on_availability handler _service:2001 _instance:1 _is_available:true
2023-10-09 15:25:26.147701 [info] ON_AVAILABLE(000a): [2001.0001:1.1]
2023/10/09 15:25:26.147717 44603624 012 ECU1 SOAC VSOM log debug V 6 [VSomeIPProxyFactoryImpl AvailabilityHandler available: 1 service_id: 0x100b instance_id: 0x0001]
2023/10/09 15:25:26.147741 44603624 013 ECU1 SOAC VSOM log info V 4 [StartFindService callback the service is available service_id: 0x100b instance_id 0x0001]
[WindowFunctionCfg] Instance 1 is available
[WindowFunctionCfg] Created proxy from handle with instance: 1
2023/10/09 15:25:26.147775 44603624 014 ECU1 SOAC VSOM log debug V 6 [VSomeIPProxyFactoryImpl AvailabilityHandler available: 1 service_id: 0x1032 instance_id: 0x0001]
2023/10/09 15:25:26.147785 44603624 015 ECU1 SOAC VSOM log info V 4 [StartFindService callback the service is available service_id: 0x1032 instance_id 0x0001]
[MirrorPosFRSts] Instance 1 is available
[MirrorPosFRSts] Created proxy from handle with instance: 1
2023/10/09 15:25:26.147807 44603624 016 ECU1 SOAC VSOM log debug V 6 [VSomeIPProxyFactoryImpl AvailabilityHandler available: 1 service_id: 0x2001 instance_id: 0x0001]
2023/10/09 15:25:26.147816 44603625 017 ECU1 SOAC VSOM log info V 4 [StartFindService callback the service is available service_id: 0x2001 instance_id 0x0001]
[LightCtrl] Instance 1 is available
[LightCtrl] Created proxy from handle with instance: 1
enter WindowFunctionCfg_act
2023/10/09 15:25:28.137737 44623524 018 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
2023/10/09 15:25:28.137774 44623524 019 ECU1 SOAC VSOM log debug V 6 [registerMethodHandler service_id: 0x100b instance_id: 0x0001 method_id: 0x6003]
2023-10-09 15:25:28.137792 [info] application_impl::register_message_handler _service:100b _instance:1 _method:6003
2023-10-09 15:25:28.137836 [info] Client [a] is connecting to [9] at /tmp/vsomeip-9
2023-10-09 15:25:28.137877 [warning] connection not establish, send directly return
enter MirrorPosFRSts_act
2023/10/09 15:25:28.137908 44623525 020 ECU1 SOAC VSOM log info V 6 [Set Event Receive Handler service_id: 0x1032 instance_id: 0x0001 event_id: 0x8001]
2023/10/09 15:25:28.137930 44623526 021 ECU1 SOAC VSOM log info V 6 [Subscribe service_id: 0x1032 instance_id: 0x0001 event_id: 0x8001]
2023/10/09 15:25:28.137937 44623526 022 ECU1 SOAC VSOM log info V 1 [EVENT IAM iam_handler NULL!]
2023-10-09 15:25:28.137954 [info] application_impl::register_message_handler _service:1032 _instance:1 _method:8001
2023-10-09 15:25:28.137972 [info] routing_manager_proxy::register_event service 4146 instance 1 state 0
2023-10-09 15:25:28.138007 [info] routing_manager_proxy::subscribe _eventgroup:1 _service:1032 _instance:1 is static Service Discovery: False
2023/10/09 15:25:28.138020 44623527 023 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
2023/10/09 15:25:28.138029 44623527 024 ECU1 SOAC VSOM log debug V 6 [registerMethodHandler service_id: 0x1032 instance_id: 0x0001 method_id: 0x0001]
2023-10-09 15:25:28.138034 [info] application_impl::register_message_handler _service:1032 _instance:1 _method:1
enter LightCtrl_act
2023/10/09 15:25:28.138061 44623527 025 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
2023/10/09 15:25:28.138070 44623527 026 ECU1 SOAC VSOM log debug V 6 [registerMethodHandler service_id: 0x2001 instance_id: 0x0001 method_id: 0x5001]
2023-10-09 15:25:28.138076 [info] application_impl::register_message_handler _service:2001 _instance:1 _method:5001
2023-10-09 15:25:28.139858 [info] SUBSCRIBE ACK(0009): [1032.0001.0001.8001]2023/10/09 15:25:28.139974 44623546 027 ECU1 SOAC VSOM log info V 11 [subscription status notify: service[ 4146 ] instance[ 1 ] event group[ 1 ] event[ 32769 status[ 0 ]]
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 0
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 1
[windowfunctioncfg.WindowCfg]-Setter: reset 0
[mirrorposfrsts.EnRightMirrorYPos]-Getter: Current value is { 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 }
[lightctrl.LightField]-Getter: Current value is { 0x01 }
2023/10/09 15:25:28.142358 44623570 028 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
2023/10/09 15:25:28.142390 44623570 029 ECU1 SOAC VSOM log debug V 6 [registerMethodHandler service_id: 0x2001 instance_id: 0x0001 method_id: 0x6001]
2023-10-09 15:25:28.142419 [info] application_impl::register_message_handler _service:2001 _instance:1 _method:6001
[lightctrl.LightField]-Setter: reset 1
2023/10/09 15:25:28.143501 44623581 030 ECU1 SOAC VSOM log info V 6 [Set Event Receive Handler service_id: 0x2001 instance_id: 0x0001 event_id: 0x8001]
2023/10/09 15:25:28.143523 44623582 031 ECU1 SOAC VSOM log info V 6 [Subscribe service_id: 0x2001 instance_id: 0x0001 event_id: 0x8001]
2023/10/09 15:25:28.143530 44623582 032 ECU1 SOAC VSOM log info V 1 [EVENT IAM iam_handler NULL!]
2023-10-09 15:25:28.143561 [info] application_impl::register_message_handler _service:2001 _instance:1 _method:8001
2023-10-09 15:25:28.143574 [info] routing_manager_proxy::register_event service 8193 instance 1 state 0
2023-10-09 15:25:28.143601 [info] routing_manager_proxy::subscribe _eventgroup:1 _service:2001 _instance:1 is static Service Discovery: False
2023/10/09 15:25:28.143614 44623582 033 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
2023/10/09 15:25:28.143625 44623583 034 ECU1 SOAC VSOM log debug V 6 [registerMethodHandler service_id: 0x2001 instance_id: 0x0001 method_id: 0x0001]
2023-10-09 15:25:28.143630 [info] application_impl::register_message_handler _service:2001 _instance:1 _method:1
METHODS: SetLightMode is calling, please wait ...
2023/10/09 15:25:28.143946 44623586 035 ECU1 SOAC VSOM log info V 11 [subscription status notify: service[ 8193 ] instance[ 1 ] event group[ 1 ] event[ 32769 status[ 0 ]]
2023-10-09 15:25:28.143966 [info] SUBSCRIBE ACK(0009): [2001.0001.0001.8001]
[lightctrl.SetLightMode]-Method_call: the result is success value:0
[LightCtrl.LightEvent] Receive_Event_CallBack: 1
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 0
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 1
[LightCtrl.LightEvent] Receive_Event_CallBack: 1
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 0
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 1
enter WindowFunctionCfg_act
2023/10/09 15:25:30.143094 44643577 036 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
enter MirrorPosFRSts_act
2023/10/09 15:25:30.143182 44643578 037 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
[windowfunctioncfg.WindowCfg]-Setter: reset 1
[mirrorposfrsts.EnRightMirrorYPos]-Getter: Current value is { 0x01 0x01 0x01 0x01 0x01 0x01 0x01 0x01 }
enter LightCtrl_act
2023/10/09 15:25:30.194070 44644087 038 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
[lightctrl.LightField]-Getter: Current value is { 0x01 }
2023/10/09 15:25:30.195927 44644106 039 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
[lightctrl.LightField]-Setter: reset 2
2023/10/09 15:25:30.197386 44644120 040 ECU1 SOAC VSOM log debug V 1 [METHOD IAM iam_handler NULL!]
METHODS: SetLightMode is calling, please wait ...
[lightctrl.SetLightMode]-Method_call: the result is success value:0
[LightCtrl.LightEvent] Receive_Event_CallBack: 1
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 0
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 1
[LightCtrl.LightEvent] Receive_Event_CallBack: 1
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 0
[MirrorPosFRSts.EnRightMirrorYPos] Receive_Notifier_CallBack: 1