BG95M3 Not Receiving SMS

I am working my way through integrating the BG95M3 into Android (7.1.1) RIL.

As of now the RIL is connecting to the modem, establishing a PPP connection that works within Android API and I can send SMS using Android API.

My problem is that it never receives SMS. When I was manually connecting to the USB I could send and receive SMS, and I would receive URC for new SMS.

Are there special setting for the RIL that I need to include for Android to be able to receive SMS?

Here is my radio log

I can see it setting the URC port to UART1

AT+QURCCFG=“URCPORT”,“UART1”
OK
AT+QCFG=“CMUX/URCPORT”,1
OK

As a side note, I see a ton of these errors in the radio log:

AT+CRSM=192,28478,0,0,0,"",“3F007F20”
+CME ERROR: 100

Any idea what these are for?

Thanks!

as you said ,the BG95 sms work fine 
  1. you can send AT via UART1 successful。

  2. you can send sms successfully via PC

for android side , pls check the below item

Any more confusion , pls send email to support, we need to collect log to do more analysis

I attached the related doc and libreference-ril.so here for you reference .

https://cnquectel-my.sharepoint.com/:f:/g/personal/america-fae_quectel_com/EshGgS1a8aVEuoTHvlD1-YsBVF0ifFFfp9DoZQCLw_Agfg?e=MZjpy1

pls check the below item also

Attached is an image of all props that contain “ril”, “gsm”, and “sms”:

There is no entry for telephony.sms.receive

I checked my config.xml and found:

<bool name="config_voice_capable">false</bool>
<bool name="config_sms_capable">true</bool>

Here is my networkAttributes from the same file:

<string-array translatable="false" name="networkAttributes">
     <item>"wifi,1,1,1,-1,true"</item>
     <item>"wifi_p2p,13,1,0,-1,true"</item>
     <item>"ethernet,9,9,2,-1,true"</item>
     <!-- BG95 Added-->
     <item>"mobile,0,0,0,-1,true"</item>
     <item>"mobile_mms,2,0,4,60000,true"</item>
     <item>"mobile_supl,3,0,2,60000,true"</item>
     <item>"mobile_dun,4,0,2,60000,true"</item>
     <!-- BG95 Add end-->
</string-array>

I was given Quectel_Android_RIL_Driver_V3.3.32 by support to use, should I use Quectel_Android_RIL_Driver_V2.9.6 instead?

Also, I am curious, do my PPP chat files get used at all by the RIL? I ask because right now my quectel-ppp script uses /dev/ttyUSB2 (I was testing out PPP and my modem was only attached to USB at the time, now it is attached to UART).

Thanks for the help!