pdudeliver.java
来自「首先在串口上连接一个或者多个MODEL(简单的说就是可以收发短信的手机)」· Java 代码 · 共 21 行
JAVA
21 行
public class PduDeliver extends PduData {
public PduDeliver(PduSms mainBody) throws Exception
{
super(mainBody);
}
protected void DecodeSMS() throws Exception
{
switch (MainBody.DCS)
{
case 0: Msg=PduUtil.Hex2GsmMsg(MainBody.UD); break;
case 1: Msg=PduUtil.Hex2AnsiMsg(MainBody.UD); break;
case 2: Msg=PduUtil.Hex2UnicodeMsg(MainBody.UD); break;
case 3: Msg="??"; break;
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?