Joke Collection Website - Public benefit messages - What's the difference between CDMA and GSM texting?
What's the difference between CDMA and GSM texting?
When sending short messages, the fw layer uses a class called SmsDispatch.javagsm, which implements gsmSmsDispatch, while cdma implements cdmaSmsDispatch. The main difference between these two classes is the encapsulation/parsing method of pdu. Because every short message is encapsulated in the form of byte array (pdu) before it is sent to ril, gsm and cdma are different in protocol, so different methods are used to encapsulate and parse pud. If the gsm pdu is simply sent by cdma scheduling, it may not fail, but even if the other party can really receive it, there is a greater chance of garbled code. And I remember that one of gsm and cdma doesn't need a header at all, and it will be 8 bits shorter. In fact, there is no need to change anything, just take gsmSmsDispatch as an example to obtain cdmaSmsDispatch. Before sending a text message, judge the card type (C or G). You should be able to get the id of the operator from getprop. This judgment is one way, but I think there should be a better way to get cards.
- Related articles
- SMS query big data trip record
- How to format the Tmall magic screen projector?
- What can HNA do with 3000 points?
- I received a courier from JD.COM Mall. Is it true that I got a red envelope by scanning the code?
- How long will it take for the notification letter of JD.COM gold bars to be issued?
- How to determine accounts receivable without the amount in the property service contract?
- How does big data discover secret connections?
- How to use WeChat to send the WPS form made on the mobile phone to WeChat friends?
- A collection of 60 warm-hearted messages for girlfriends on WeChat.
- Thanksgiving greetings from the hotel to the owners