Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e66f7832 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Support P2P SMS

When satellite is enabled in non-emergnecy mode and user sends P2P sms
then:
- SmsDispatchersController will forward the sms to DatagramDispatcher
- DatagramDispatcher will store the sms in a pending list until
  satellite is connected and modem is idle to send sms.
- Once modem is ready, DatagramDispatcher will send sms back to
  SmsDispatchersController to send the sms.
- DatagramDispatcher will also updateSendStatus as SENDING to
  PointingUI and SatelliteSessionController.
- After the sms is sent, SmsDispatchersController will update sent
  status to DatagramDispatcher. DatagramDispatcher will remove the sms
  from pending list and also update the sms sent status to
  PointingUI and SatelliteSessionController.
- If there are pending sms and pending datagrams, then
  DatagramDispatcher will prioritize sending datagrams over sms.
  Only sms or datagram is sent at a time in order to maintain mutual
  exclusivity.

Bug: 350514607
Test: atest DatagramDispatcherTest, atest SmsDispatchersTest, atest
SatelliteControllerTest
Manual Test: b/356400474
FLAG: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn

Change-Id: Icf39522e24e4ff277cbbdd8a31c6ad37644235ba
parent 3f2d3a85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment