发件人编号(SMS)的地址类型

时间:2013-03-26 23:49:01

标签: parsing sms

我想知道发件人编号的type-of-address是什么类型。例如,下面的PDU包含91 type-of-address

07 91 {9742020096F6400B {1}} 9742039333F7

91表示电话号码的国际格式,我必须在此号码前添加91。有时我会遇到+D0等类型的地址类型。那他们是什么意思?我在哪里可以找到有关它的信息?提前致谢。

- 更新 -

我找到了名为C8的程序。它可以识别PDUspy。我发现type-of-address - D0并且数字表示为文字,例如Alpha (acc. to TS 03.38)Nikolas - C8。但它们意味着什么以及如何根据其类型解析这些数字?

2 个答案:

答案 0 :(得分:2)

TON / NPI信息可以在3GPP TS 23.040的第9.1.2.5节中找到。 地址值(电话号码)是BCD左编码,用可选的'F'填充以使其均匀然后交换。

从SMS主动命令解析APDU数据的示例(还需要参考3GPP TS 11.14

D0 16 81 03 06 13 01 82 02 81 83 0B 0B 01 00 03 81 00 F7 00 F2 02 70 6C

PROACTIVE SIM COMMAND - SEND SHORT MESSAGES - GSM MODE [D0]
  Command Details Tag [81]
        Length : 03
        Command Number : 06
        Command Type : Send Short Message
        Command Qualifier : 01H, 0000 0001 (SMS packing by the ME required)
  Device Identities Tag [82]
        Length : 02
        Source device : SIM
        Destination device : Network
  SMS TPDU Tag [0B]
        Length : 0B
        TP-MTI : SMS Submit/Submit Report
        TP-RD  : Instruct the SC to accept an SMS-SUBMIT
        TP-VPF : TP-VP field not present
        TP-RP  : TP-Reply Path parameter is not set in this SMS SUBMIT/DELIVER
        TP-UDHI : The TP-UD field contains only the short message
        TP-SRR  : a report is not requested
        TP-MR : 00
        TP-DA : 
              Number of digits: 3
              TON/NPI : Unknown - ISDN/Telephone numbering plan
              Address Value : "007"
        TP-PID : 00
        TP-DCS : F2
        TP-UDL : 02
        TP-UD : "pl"

答案 1 :(得分:0)

数字表示为文本,您可以使用7位类型对其进行解码。 CEF4FACD0ECF01 =尼古拉斯

相关问题