<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic iMX8QM android auto : How to get Vehicle Sensor value in Android app in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-android-auto-How-to-get-Vehicle-Sensor-value-in-Android/m-p/1604955#M201971</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I'm trying to add and communicate new Car properties like sensors with RPMSG between Android app (A72) and M4 core&lt;BR /&gt;using Rear view camera sample source in iMX8Qm Anroid Auto.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I figured out how to send data from the M4 core to the A72 core through RPMSG,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;(android_build\vendor\nxp\mcu-sdk-auto\SDK_MEK-MIMX8QM\boards\mekmimx8qm\demo_apps\rear_view_camera)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;but I haven't yet found how to receive and process new data sent by the M4 core&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;at the Android App level.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;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.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;android_build\vendor\nxp-opensource\kernel_imx\drivers\mxc\vehicle&amp;nbsp;&lt;/P&gt;&lt;P&gt;vehicle_dummy_hw.c,&amp;nbsp;vehicle_rpmsg_m4.c,&amp;nbsp;vehicle_core.c&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;It seems that the above source is used at the Linux device driver level.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;I want to know the source code to access the driver from to communicate in the Android app&lt;BR /&gt;for adding new Car proerty value like sensors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I guess somewhere in android_build\packages\services\Car&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;or is invisible because of moduled?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Can you tell me where the source code is?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 05:35:03 GMT</pubDate>
    <dc:creator>ts_ki</dc:creator>
    <dc:date>2023-02-24T05:35:03Z</dc:date>
    <item>
      <title>iMX8QM android auto : How to get Vehicle Sensor value in Android app</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-android-auto-How-to-get-Vehicle-Sensor-value-in-Android/m-p/1604955#M201971</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I'm trying to add and communicate new Car properties like sensors with RPMSG between Android app (A72) and M4 core&lt;BR /&gt;using Rear view camera sample source in iMX8Qm Anroid Auto.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I figured out how to send data from the M4 core to the A72 core through RPMSG,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;(android_build\vendor\nxp\mcu-sdk-auto\SDK_MEK-MIMX8QM\boards\mekmimx8qm\demo_apps\rear_view_camera)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;but I haven't yet found how to receive and process new data sent by the M4 core&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;at the Android App level.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;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.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;android_build\vendor\nxp-opensource\kernel_imx\drivers\mxc\vehicle&amp;nbsp;&lt;/P&gt;&lt;P&gt;vehicle_dummy_hw.c,&amp;nbsp;vehicle_rpmsg_m4.c,&amp;nbsp;vehicle_core.c&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;It seems that the above source is used at the Linux device driver level.&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;I want to know the source code to access the driver from to communicate in the Android app&lt;BR /&gt;for adding new Car proerty value like sensors.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I guess somewhere in android_build\packages\services\Car&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;or is invisible because of moduled?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Can you tell me where the source code is?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 05:35:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-android-auto-How-to-get-Vehicle-Sensor-value-in-Android/m-p/1604955#M201971</guid>
      <dc:creator>ts_ki</dc:creator>
      <dc:date>2023-02-24T05:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8QM android auto : How to get Vehicle Sensor value in Android app</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-android-auto-How-to-get-Vehicle-Sensor-value-in-Android/m-p/1605876#M202035</link>
      <description>&lt;P&gt;I found the source code thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 06:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-android-auto-How-to-get-Vehicle-Sensor-value-in-Android/m-p/1605876#M202035</guid>
      <dc:creator>ts_ki</dc:creator>
      <dc:date>2023-02-27T06:57:47Z</dc:date>
    </item>
  </channel>
</rss>

