class0,class1,class2 SMS

来源:互联网 发布:mac新建word文件 编辑:程序博客网 时间:2024/05/23 19:18

支持CLASS类型的短信,如CLASS0收到就自动显示,用户看完就自动消失

Class0短信,网上通常叫即显短信(注意并不是Nokia的闪信),就是那种收到之后信息直接被显示在手机屏幕的信息。在GSM规范里,大概是这样描述它的:接收方不需要确认是否已经确实收到了class0短信,就可以直接将信息显示给用户。这里,“接收方不需要确认”其实包含了两层含义:1、接收方可以向网络回复已经收到了信息的认可(Ack)也可以不回复;2、(这点正是我当初没有考虑到的)网络也不需要确认接收方是否确实已经收到了信息,也就是说,网络并不会根据接收方的认可回复(Ack)来判断信息是否已经发送成功。正因为此,所以在计费上,网络并不会管你信息是否已经到达,始终会给你计算一条信息流量。

[Project]: 60A_COSMOS_11B 

[Question]: 手机上短信存储满后不能切换到SIM卡上,编辑短信无法保存到sim卡上 

在没有设置将短信存储到手机里的选项,测试中发现当手机存储满时,接收到新短信时,sim卡有存储空间,但短信不会存储到手机上,只能删除手机里的短信才能接收,且在手机短信满的状态下,sim卡有空间,也无法编辑短信,无法将短信内容保存到SIM卡上,请问应如何修改sim卡上也能保存短信.

  • [A:]
    在cosmos的平台上,不支持将普通短信存放在SIM卡。

    根据短信SPEC的规定,短信分为class 0,class 1,class 2 和class 3四种。COSMOS根据SPEC的规定并进行实现,对于class 1的短信会存储在phone上,而class2的短信则会存储在SIM上。通常的短信多为class 1,会存储在phone上,而SIM上的存储空间是用于存储class2短信的。用户只能手动的将phone的短信copy到SIM上。

    在cosmos平台现有的代码,并不支持将class1自动存储在SIM卡,若是硬将相关宏打开,就app部分仍存在很多问题。烦请贵司重新评估该功能,是否有支持该功能的必要性。



class 0 (accept and displayed, but not stored)


class 1 (storing in ME and displaying)


class 2 (storing in SIM and displaying)


class 3 (directly to the terminal equipment)


Class 0: Indicates that this message is to be displayed on the MS immediately and a message delivery report is to be sent back to the SC. The message does not have to be saved in the MS or on the SIM card (unless selected to do so by the mobile user).

Class 1: Indicates that this message is to be stored in the MS memory or the SIM card (depending on memory availability).

Class 2: This message class is Phase 2 specific and carries SIM card data. The SIM card data must be successfully transferred prior to sending acknowledgement to the SC. An error message will be sent to the SC if this transmission is not possible.

Class 3: Indicates that this message will be forwarded from the receiving entity to an external device. The delivery acknowledgement will be sent to the SC regardless of whether or not the message was forwarded to the external device.


0 0
原创粉丝点击