iMX8QM android auto : How to get Vehicle Sensor value in Android app

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8QM android auto : How to get Vehicle Sensor value in Android app

ソリューションへジャンプ
1,060件の閲覧回数
ts_ki
Contributor II

hello,

I'm trying to add and communicate new Car properties like sensors with RPMSG between Android app (A72) and M4 core
using Rear view camera sample source in iMX8Qm Anroid Auto.
 

I figured out how to send data from the M4 core to the A72 core through RPMSG,

(android_build\vendor\nxp\mcu-sdk-auto\SDK_MEK-MIMX8QM\boards\mekmimx8qm\demo_apps\rear_view_camera)

but I haven't yet found how to receive and process new data sent by the M4 core

at the Android App level. 

I found that the already existing VEHICLE_GEAR was used in the cluster app, but the deeper part of getting data using the kernel driver was not found yet.

android_build\vendor\nxp-opensource\kernel_imx\drivers\mxc\vehicle 

vehicle_dummy_hw.c, vehicle_rpmsg_m4.c, vehicle_core.c

It seems that the above source is used at the Linux device driver level.
I want to know the source code to access the driver from to communicate in the Android app
for adding new Car proerty value like sensors.

I guess somewhere in android_build\packages\services\Car

or is invisible because of moduled?

Can you tell me where the source code is?

 

0 件の賞賛
返信
1 解決策
1,026件の閲覧回数
ts_ki
Contributor II

I found the source code thanks!

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,027件の閲覧回数
ts_ki
Contributor II

I found the source code thanks!

0 件の賞賛
返信