<?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>i.MX Processors中的主题 Re: Integrate SHT41 sensor using I2C with android application i.MX8MM</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1922493#M226856</link>
    <description>Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171173"&gt;@AldoG&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for you response. I'll move in the same direction but can you tell me like do we have to give some permission or enable AIDL from kernel side or just application level? Can you please give me a detailed description as I am new to this , I might me missing something ?</description>
    <pubDate>Thu, 01 Aug 2024 05:34:09 GMT</pubDate>
    <dc:creator>archana_verma</dc:creator>
    <dc:date>2024-08-01T05:34:09Z</dc:date>
    <item>
      <title>Integrate SHT41 sensor using I2C with android application i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1920461#M226755</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to port custom android OS on &lt;STRONG&gt;i.MX8MM&lt;/STRONG&gt; board with &lt;STRONG&gt;android 14(6.1.57 kernel&lt;/STRONG&gt;). I have connected SHT41 temperature and humidity sensor through I2C interface. I want the sensor data to be displayed on an android application and run it on the board.&lt;BR /&gt;&lt;BR /&gt;I have enabled the sensor from kernel and able to print the sensor data to console as there is one ASCII text file in &lt;STRONG&gt;/sys/class/hwmon/hwmon0/temp1_input&lt;/STRONG&gt;. When trying to open the file I'm getting &lt;STRONG&gt;permission denied&lt;/STRONG&gt;(error 13). I have enabled &lt;STRONG&gt;SeLinux&lt;/STRONG&gt; policies permissive.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also tried to open &lt;STRONG&gt;/dev/i2c-2&lt;/STRONG&gt;, as the sensor driver is using I2C but again getting the same error.&lt;BR /&gt;&lt;BR /&gt;So, Please help me with how can I access I2C driver and SHT41 sensor and I found on android website that we need to enable &lt;STRONG&gt;AIDL&lt;/STRONG&gt; to interact with HAL layer. So how can I do it? I am a beginner to the android OS.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.android.com/develop/background-work/services/aidl" target="_blank" rel="noopener"&gt;https://developer.android.com/develop/background-work/services/aidl&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 11:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1920461#M226755</guid>
      <dc:creator>archana_verma</dc:creator>
      <dc:date>2024-07-30T11:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate SHT41 sensor using I2C with android application i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1922110#M226839</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Actually you're looking at the correct place, as developer.android webpage provides all documentation for android development on application level.&lt;BR /&gt;&lt;BR /&gt;Even the link you have shared is spot on as it proivide examples of AIDL files and how it should be implemented.&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 21:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1922110#M226839</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-07-31T21:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate SHT41 sensor using I2C with android application i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1922493#M226856</link>
      <description>Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171173"&gt;@AldoG&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for you response. I'll move in the same direction but can you tell me like do we have to give some permission or enable AIDL from kernel side or just application level? Can you please give me a detailed description as I am new to this , I might me missing something ?</description>
      <pubDate>Thu, 01 Aug 2024 05:34:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1922493#M226856</guid>
      <dc:creator>archana_verma</dc:creator>
      <dc:date>2024-08-01T05:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate SHT41 sensor using I2C with android application i.MX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1929466#M227185</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Please accept my apologize for the delayed response, please refer to the following post, I believe this does show exactly what needs to be done:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Adding-a-sensor-to-Android-but-HAL-doesn-t-seem-to-be/m-p/1074912" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Adding-a-sensor-to-Android-but-HAL-doesn-t-seem-to-be/m-p/1074912&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards/Saludos,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 21:51:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Integrate-SHT41-sensor-using-I2C-with-android-application-i/m-p/1929466#M227185</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2024-08-09T21:51:34Z</dc:date>
    </item>
  </channel>
</rss>

