<?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のトピックAndroid RIL GPRS MODEM</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Android-RIL-GPRS-MODEM/m-p/631785#M96056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying integrate a GPRS modem in Android 6.0.1 without sucess. Modem works well at hardware level and answer correctly AT commands. In Android UI I only see SIM card not present and not related do modem works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;Android log I can see a lot of subId=-2, phoneId=-1, slotId=-1, I think my problem is because of this wrong numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone with experience in Android RIL could help me to understand how this numbers are generate and where?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Sep 2016 18:45:17 GMT</pubDate>
    <dc:creator>leonardoprates</dc:creator>
    <dc:date>2016-09-19T18:45:17Z</dc:date>
    <item>
      <title>Android RIL GPRS MODEM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-RIL-GPRS-MODEM/m-p/631785#M96056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying integrate a GPRS modem in Android 6.0.1 without sucess. Modem works well at hardware level and answer correctly AT commands. In Android UI I only see SIM card not present and not related do modem works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In&amp;nbsp;Android log I can see a lot of subId=-2, phoneId=-1, slotId=-1, I think my problem is because of this wrong numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone with experience in Android RIL could help me to understand how this numbers are generate and where?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Leonardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 18:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-RIL-GPRS-MODEM/m-p/631785#M96056</guid>
      <dc:creator>leonardoprates</dc:creator>
      <dc:date>2016-09-19T18:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Android RIL GPRS MODEM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-RIL-GPRS-MODEM/m-p/631786#M96057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="226451" data-username="leonardoprates" href="https://community.nxp.com/people/leonardoprates"&gt;Leonardo&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Suggest you read the document or comare your steps with it to check if you forgot something, because GPRS module is not manufactured by us, I only give you some advice.&lt;/P&gt;&lt;P&gt;---See the link, please!&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.u-blox.com/sites/default/files/AndroidRIL-SourceCode_AppNote_(UBX-13002041).pdf" title="https://www.u-blox.com/sites/default/files/AndroidRIL-SourceCode_AppNote_(UBX-13002041).pdf"&gt;https://www.u-blox.com/sites/default/files/AndroidRIL-SourceCode_AppNote_(UBX-13002041).pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In addition, You can also get a lot of experience on how to integrate GPRS to android from internet.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.e-consystems.com/blog/linux-android/?p=443" title="https://www.e-consystems.com/blog/linux-android/?p=443"&gt;&amp;nbsp;How to integrate GSM/2G Modem in Android – To establish data Connection | Linux &amp;amp; Android Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above information can help you!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 03:27:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-RIL-GPRS-MODEM/m-p/631786#M96057</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2016-09-27T03:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Android RIL GPRS MODEM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Android-RIL-GPRS-MODEM/m-p/631787#M96058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I discovered the root cause of the problem. The subid number is generate from iccid of simcard. Android gets it calling&amp;nbsp;AT+CRSM=176,12258,0,0,15. In my case the problem is exactly this command, because modem doesn't accept P3 parameter as 15, the correct is 10 (&lt;SPAN&gt;AT+CRSM=176,12258,0,0,10&lt;/SPAN&gt;). The solution in my case was change the P3 parameter inside reference-ril, when command is 12258. See below. Now Android can get iccid and subId, phoneId and slotId are correct and I can see the modem signal. Now I'm implementing the gsm0710muxd to get two channels, because Android needs one for command and another for data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside this function:&amp;nbsp;void requestSIM_IO(void *data, size_t datalen __unused, RIL_Token t)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Add:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (modemModel &amp;amp; MDM_GL865){ // SEVA&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;if (p_args-&amp;gt;fileid == 0x2FE2) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (p_args-&amp;gt;command == 0xb0) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;p_args-&amp;gt;p3=10; //Change P3 from 15 to 10&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 12:08:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Android-RIL-GPRS-MODEM/m-p/631787#M96058</guid>
      <dc:creator>leonardoprates</dc:creator>
      <dc:date>2016-09-27T12:08:20Z</dc:date>
    </item>
  </channel>
</rss>

