android - smsc 值为"当地短信中心号码",145 后面那个145代表什么,正常么?

 上善若水纯_310 发布于 2022-11-04 09:58

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

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类型代表不确定是否是国际号码。

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

    2022-11-07 10:05 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有