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?
Solved! Go to Solution.
I found the source code thanks!