b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

移动 短信 收发 短信文本pdu模式解析(3)

电脑杂谈  发布时间:2018-02-22 01:09:45  来源:网络整理

1 1 1 Reserved for extension

ll not interpret reserved values but will store them as received.

Bits 3,2,1,0:Numbering-plan-identification(号码鉴别),0000—未知,0001—ISDN/电话号码(E.164/E.163),1111—留作扩展;一般默认为0001,表示电话号码类型的。下面是GSM03.40号码鉴别的解释:

Bits3 2 1 0

0 0 0 0 Unknown

0 0 0 1 ISDN/telephone numbering plan (E.164/E.163)

0 0 1 1 Data numbering plan (X.121)

0 1 0 0 Telex numbering plan

1 0 0 0 National numbering plan

1 0 0 1 Private numbering plan

1 0 1 0 ERMES numbering plan (ETSI DE/PS 3 01-3)

1 1 1 1 Reserved for extension

All other values are reserved.

<2>短信中心号码:683108200805F0

一个字节内反转,8613800280500,如果长度为奇数则需要加“F”补齐。比如号码为:+8613505165495,去掉"+"后在末尾添加F变为:8613505165495F,再将手机号码的奇数位和偶数位的相交换为683105155694F5

<3>FirstOctet字段:1119

(1)11 包含TP-MTI(2bit),TP-RD(1bit),TP-VPF(2bit),TP-RP(1bit),TP-UDHI(1bit),TP-SRR(1bit)

二进制表示形式:0 0 0 10 0 01

TP-MTI:01 TP-Message-Type-Indicator(消息类型指示符)

Bit1,0:00—读出(Deliver); 01—提交(Submit)

Bit1,0:01指示为SMS-SUBMIT类型

下面是GSM03.40的解释:

bit1 bit0 Message type

0 0 SMS-DELIVER (in the direction SC to MS)

0 0 SMS-DELIVER REPORT (in the direction MS to SC)

1 0 SMS-STATUS-REPORT (in the direction SC to MS)

1 0 SMS-COMMAND (in the direction MS to SC)

0 1 SMS-SUBMIT (in the direction MS to SC)

0 1 SMS-SUBMIT-REPORT (in the direction SC to MS)

1 1 ReservedTP-RD:0 TP-Reject-Duplicates(是否拒绝相同重复消息)

Bit2:0—接受复制; 1—拒绝复制

Bit2:0 指示短消息中心接收未转发的具有相同TP-MR的消息。

Bit 2:

0 Instruct the SC to accept an SMS-SUBMIT for an SM still held in the SC which has the same TP-MR and the same TP-DA as a previously submitted SM from the same OA.


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-87895-3.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...