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
Loading
Please register or sign in to comment