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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值