电信 smgp3 长短信的下发
submit.ucMsgFormat=8;//(byte) MsgFormat;
byte[] tp_udhiHead = new byte[6];
tp_udhiHead[0] = 0x05;
tp_udhiHead[1] = 0x00;
tp_udhiHead[2] = 0x03;
tp_udhiHead[3] = 0x39;
tp_udhiHead[4] = (byte)cPkTotal;
tp_udhiHead[5] = (byte)cPkNumber;
submit.sMsgContent=tp_udhiHead+MsgContent;
submit.sReserve="";//该字段不知道是干什么用的不知道有用没
--------------------------TLV包-------------------
TSMGP_TLV tlv=new TSMGP_TLV();
tlv.b_cUdhi=true;
tlv.cUdhi=1;
tlv.b_cPkNumber=true;
tlv.cPkNumber=cPkNumber;
tlv.b_cPkTotal=true;
tlv.cPkTotal=cPkTotal;
哪位大哥帮忙看看我长短信下发的代码那里有错或缺少哪些设置?????