android - smsc 值为"当地短信中心号码",145 后面那个145代表什么,正常么?
PHPz
PHPz 2017-04-17 14:19:55
[Android讨论组]

Android手机无法收发短信,现在在尝试定位问题。刷新smsc发现了这个数值,主要好奇后面那个145是什么意思

PHPz
PHPz

学习是最好的投资!

全部回复(1)
巴扎黑
+CSCA=address[,address_type]

The address_type Parameter

The second parameter of the +CSCA AT command, address_type, specifies the type of the SMSC address assigned to the address parameter. Two values, 129 and 145, are commonly used.

129. Meaning: The SMSC address is formatted using the typical ISDN / telephony numbering plan (ITU E.164/E.163) but it is not sure whether the SMSC address is an international number, a national number or a number of other types. Example addresses: "85291234567" and "91234567".

145. Meaning: The SMSC address is formatted using the typical ISDN / telephony numbering plan (ITU E.164/E.163) and it is an international number. Example address: "+85291234567".

As address_type is an optional parameter, it can be omitted. If you do so, the GSM/GPRS modem or mobile phone will use the default value of the address_type parameter, which is:

129 if the SMSC address does not start with a "+" character. For example, "85291234567".

145 if the SMSC address starts with a "+" character. For example, "+85291234567".

如果你看不懂英文,我可以告诉你145这个参数代表是一个国际号码,但它不是必要的,如果没有,145,根据你前面的号码看有没有+号,如果有代表是145类型(国际号码)如果不是,则是129类型代表不确定是否是国际号码。

综上,如果你的当地短信中心号码是有效的,就应该是正常的。

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号