CSMP各个参数的意思

1.CSMP各个参数的意思
按照不同的位进行介绍参照协议:23040 9.2.3
Fo:
TP SRR TP SRI TP VPF TP MMS TP MTI
5 4 3 2 1 0
①bit 1 0 两位表示 SMS_SUBMIT,取为0 1时方向是手机->消息中心,还有三种取值这里不介绍。
②bit 2 取值 0 表示 后续没有短信息要发送;
取值 1 表示 后续还有短信息。

③bit 4 取值0 状态报告不返回消息实体
取值1 状态报告返回消息实体
④ bit 5 取值 0 关闭传送回报
取值 1 打开传送回报。
通常情况下系统默认为010001即为0X11 十进制为17(此时没有状态报告回报)
默认值17: 010001
VP:消息发出去之前保存在短信中心的时间 无法模拟实际功能,计算方法如下:

  1. 0 - 143 对应的保留时间为: (vp + 1)*5 分钟,最大为12小时 2) 144-167 对应的保留时间为: 12小时 + (vp - 143)*30分钟, 最大为24小时
  2. 168-196 对应的保留时间为: (vp - 166) * 1 天 4) 197 - 255 对应时间为: (vp - 192)*1 星期
    DCS: TP Data Coding Scheme

PID:通常设置为0
Bits 5…0 indicate the following:
Bit 5, if set to 0, indicates the text is uncompressed
Bit 5, if set to 1, indicates the text is compressed using the compression algorithm
Bit 4, if set to 0, indicates that bits 1 to 0 are reserved and have no message class meaning
Bit 4, if set to 1, indicates that bits 1 to 0 have a message class meaning
Bits 3 and 2 indicate the character set being used, as follows
Bit3 bit2
0 0 GSM 7 bit default alphabet
0 1 8bit
1 0 UCS2 (16bit)
1 1 Reserved
bit1 bit0
0 0
0 0 Class 0
0 1 Class 1 Default meaning: ME-specific.
1 0 Class 2 (U)SIM specific message
1 1 Class 3 Default meaning: TE specific

发布了5 篇原创文章 · 获赞 0 · 访问量 200

猜你喜欢

转载自blog.csdn.net/jingjing_2/article/details/102670615