⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pdudeliver.java

📁 首先在串口上连接一个或者多个MODEL(简单的说就是可以收发短信的手机)
💻 JAVA
字号:

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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -