gpt4 book ai didi

android - Android中SMS PDU的格式

转载 作者:太空狗 更新时间:2023-10-29 13:40:38 30 4
gpt4 key购买 nike

当我们在 BroadcastReceiver 中接收 sms 消息时,我们最初将它们作为 PDU 数组接收。我知道 GSM 规范中描述了 GSM 短信 PDU 的格式,我知道如何解码此类 gsm PDU。

我想知道:Android PDU 的格式是否与GSM 规范中的格式相同?如果不是,那么 android 短信 PDU 的格式是什么? GSM 和 CDMA 手机的 android PDU 格式是否不同?

提前谢谢你。

PS: 我知道有解码 PDU 的 SmsMessage 类,但我想自己解码它们,这就是我问这个问题的原因。

最佳答案

is the format of Android PDUs the same as in the GSM specification? If not then what is the format of android sms PDUs? Is the format of android PDUs different for GSM and for CDMA phones?

您必须通过检查解析 PDU 的类的源代码来自行确定:

关于android - Android中SMS PDU的格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6232684/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com