Android CMCC is in the warehouse. The terminal does not support text message and MMS resending.

Source: Internet
Author: User

1. view the mechanism of SMS re-sending: main log: the re-transmission will be performed in hanldeSmsSent () only when the sending fails due to radio off or no service. The result is RESULT_ERROR_RADIO_OFF/RESULT_ERROR_NO_SERVICE, in either case, the SMS will be re-transmitted. For more information about this function, see SmsReceiverService. java.

To sum up our current retransmission mechanism:

Modem has two types of retransmission:

1. When CP_DATA is sent, CP_DATA will be re-transmitted without waiting for CP_ACK

2. If SMS over CS or PS fails to be transferred, the mobile phone will try another domain.

There are two scenarios for APP retransmission,

1. The reason for sending failure is that when no service is available

2. The reason for sending failure is when radio is off.

In both cases, the APP listens to the network condition and then tries to send the failed information after the network is OK.

 

Test method: according to the previous knowledge, the CMCC test should use a shielding box.

To sum up, the MTK function is supported. Verify the test environment in the shielding room.

 

2. Currently, android default supports automatic resend of sms mms, which is specified by spec. This design is also available in the code.

For details about how to resend a MMS Message, refer to DefaultRetryScheme. java. The message is automatically resend five times. For each retransmission time point, refer to the setting of this variable:

Private static final int [] sDefaultRetryScheme = {

0, 1*60*1000, 5*60*1000, 10*60*1000, 30*60*1000 };

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.