首页 行业 电信     /    javacmpp2.03.0无jar纯源码demo(含服务端测试工具)[20171205]

javacmpp2.03.0无jar纯源码demo(含服务端测试工具)[20171205]

上传者: datedateup | 上传时间:2023/10/3 2:42:31 | 文件大小:330KB | 文件类型:zip
javacmpp2.03.0无jar纯源码demo(含服务端测试工具)[20171205]
javacmpp2.03.0无jar纯源码demo(含服务端测试工具)[20171205]找了挺多资料,CMPP的资源很多,但可以参考可用的不多,特此开源cmpp的DEMO程序,无jar插件,纯源码实现。
语言为:java工具为:IntellijIDEA2017附带第三方CMPP服务器测试工具,便于调试。
注解详细如:privatelongMsg_Id=0x00;//信息标识,由SP接入的短信网关本身产生,本处填空。
privatebytePk_total=0x01;//相同Msg_Id的信息总条数,从1开始privatebytePk_number=0x01;//相同Msg_Id的信息序号,从1开始privatebyteRegistered_Delivery=0x01;//是否要求返回状态确认报告:0:不需要1:需要privatebyteMsg_level=0x01;//信息级别privateStringService_Id="";//业务类型,是数字、字母和符号的组合。
privatebyteFee_UserType=0x00;//计费用户类型字段0:对目的终端MSISDN计费;
1:对源终端MSISDN计费;
2:对SP计费privateStringFee_terminal_Id="";//被计费用户的号码privatebyteTP_pId=0x00;//GSM协议类型privatebyteTP_udhi=0x00;//GSM协议类型。
详细是解释请参考privatebyteMsg_Fmt=0x0f;//信息格式0:ASCII串3:短信写卡操作4:二进制信息8:UCS2编码(0f)15:含GB汉字privateStringMsg_src="";//信息内容来源(SP_Id)privateStringFeeType="01";//资费类别01:对“计费用户号码”免费02:对“计费用户号码”按条计信息费03:对“计费用户号码”按包月收取信息费04:对“计费用户号码”的信息费封顶05:对“计费用户号码”的收费是由SP实现privateStringFeeCode="000000";//资费代码(以分为单位)privateStringValId_Time="";//存活有效期privateStringAt_Time="";//定时发送时间privateStringSrc_Id="";//源号码SP的服务代码或前缀为服务代码的长号码,网关将该号码完整的填到SMPP协议Submit_SM消息相应的source_addr字段,该号码最终在用户手机上显示为短消息的主叫号码privatebyteDestUsr_tl=0x01;//接收信息的用户数量(小于100个用户)privateStringDest_terminal_Id="";//接收短信的MSISDN号码privatebyteMsg_Length;//信息长度(Msg_Fmt值为0时:<160个字节;
其它<=140个字节)privatebyte[]Msg_Content;//信息内容privateStringReserve="";//保留 本软件ID:10146876

文件下载

资源详情

[{"title":"(28个子文件330KB)javacmpp2.03.0无jar纯源码demo(含服务端测试工具)[20171205]","children":[{"title":"java_idea2017","children":[{"title":"myJavaCmpp2.0","children":[{"title":"META-INF","children":[{"title":"application.xml <span style='color:#111;'>323B</span>","children":null,"spread":false}],"spread":true},{"title":"myJavaCmpp.iml <span style='color:#111;'>746B</span>","children":null,"spread":false},{"title":"src","children":[{"title":"testMain.java <span style='color:#111;'>9.34KB</span>","children":null,"spread":false},{"title":"cmpp","children":[{"title":"CMPP_SUBMIT.java <span style='color:#111;'>7.47KB</span>","children":null,"spread":false},{"title":"MsgUtils.java <span style='color:#111;'>4.91KB</span>","children":null,"spread":false},{"title":"CMPP_DELIVER.java <span style='color:#111;'>5.91KB</span>","children":null,"spread":false},{"title":"Message_Header.java <span style='color:#111;'>1.98KB</span>","children":null,"spread":false},{"title":"CMPP_SUBMIT_RESP.java <span style='color:#111;'>1.42KB</span>","children":null,"spread":false},{"title":"CMPP_CONNECT_RESP.java <span style='color:#111;'>2.53KB</span>","children":null,"spread":false},{"title":"CMPP_CODEMSG.java <span style='color:#111;'>1.61KB</span>","children":null,"spread":false},{"title":"CMPP_CONNECT.java <span style='color:#111;'>2.46KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'>273B</span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'>260B</span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'>48.94KB</span>","children":null,"spread":false},{"title":"artifacts","children":[{"title":"myJavaCmpp_ear_exploded.xml <span style='color:#111;'>349B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"out","children":[{"title":"production","children":[{"title":"myJavaCmpp","children":[{"title":"testMain.class <span style='color:#111;'>7.18KB</span>","children":null,"spread":false},{"title":"cmpp","children":[{"title":"CMPP_SUBMIT_RESP.class <span style='color:#111;'>1.90KB</span>","children":null,"spread":false},{"title":"CMPP_DELIVER.class <span style='color:#111;'>5.38KB</span>","children":null,"spread":false},{"title":"CMPP_SUBMIT.class <span style='color:#111;'>6.54KB</span>","children":null,"spread":false},{"title":"MsgUtils.class <span style='color:#111;'>3.94KB</span>","children":null,"spread":false},{"title":"Message_Header.class <span style='color:#111;'>2.14KB</span>","children":null,"spread":false},{"title":"CMPP_CODEMSG.class <span style='color:#111;'>1.87KB</span>","children":null,"spread":false},{"title":"CMPP_CONNECT.class <span style='color:#111;'>2.35KB</span>","children":null,"spread":false},{"title":"CMPP_CONNECT_RESP.class <span style='color:#111;'>1.97KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"第三方CMPP接收数据.png <span style='color:#111;'>43.25KB</span>","children":null,"spread":false},{"title":"说明.txt <span style='color:#111;'>2.35KB</span>","children":null,"spread":false},{"title":"程序及调试结果.png <span style='color:#111;'>76.09KB</span>","children":null,"spread":false},{"title":"第三方cmpp2服务器工具.rar <span style='color:#111;'>186.26KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • qq_34274825:
    可以,学习了2019-11-06
  • doufuli010:
    只能参考代码了运行不起来2019-03-08
  • levin_china:
    只有2.0的,没有3.02019-02-28
  • yanlinz:
    还不错,有较好的的参考意义2019-01-04
  • 痞子元:
    纯源码,可以学习下,但是使用cmpp2.0配置的账号,提示如下错误“CMPP返回===&gt;:[9]=&gt;系统繁忙。”2019-01-03

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明