Code Monkey home page Code Monkey logo

smgp's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

lsh009

smgp's Issues

运行一段时间出错

你的代码我没仔细看,我接了网关,运行一段时间就出错,��
�直返回-1。我自己又写了一个就没问题了


Original issue reported on code.google.com by [email protected] on 30 Jun 2012 at 2:36

长短信发送乱码问题

普通短信发送正常,发送长短信时,在电信短信中心发现无ud
h值,且短信前面为一小点乱码,在电信短信中心正常长短信�
��:(udh:050003ee0201)短信内容,通过您的代码发送的长短信��
�: 乱码 短信内容,请问一下这是什么问题?


Original issue reported on code.google.com by [email protected] on 27 Oct 2011 at 2:44

上行漏短信

What steps will reproduce the problem?
1. 我用接收程序稍微改造了下 根据判断report 
分别插入report队列和mo队列 
然后由另外的线程将队列数据入库,发现report和mo都漏,没有
报任何异常
2. 启2个接收线程也没用
3. 发送没有异常

Original issue reported on code.google.com by [email protected] on 27 Sep 2010 at 11:49

下行消息时出现乱码

我下行消息时一直出现乱码,收到消息为"屯屯".消息网关基于s
mgp3.0协议的.请帮忙看一下,谢
谢!

00000000  00 00 00 2A 00 00 00 01  00 00 00 00 36 30 30 
30   ...*.... ....6000 
00000010  30 34 30 00 73 CA E7 FD  C7 EB EB 6E 44 E6 C0 BA   040.s淑?请雗D
胬?
00000020  68 92 7C D6 02 06 BD CE  CE 30                     h抾?.轿 ?





00000000  00 00 00 21 80 00 00 01  00 00 00 00 00 00 00 00   ...!
€... ........ 
00000010  56 50 4C B7 37 2A D1 2B  3C 65 26 DC 44 F8 D4 52   VPL?*? <e&蹹
R 
00000020  30                                                 0





00000000  00 00 00 B8 00 00 00 02  00 01 90 8F 06 00 00 00   ...?... ..
悘.... 
00000010  00 00 00 00 00 00 00 00  00 30 30 30 30 30 00 
00   ........ .00000.. 
00000020  00 30 30 30 00 00 00 08  00 00 00 00 00 00 00 
00   .000.... ........ 
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 
00   ........ ........ 
00000040  00 00 00 00 00 00 00 00  00 00 31 30 36 35 39 
36   ........ ..106596 
00000050  30 30 32 32 34 00 00 00  00 00 00 00 00 00 00 00   
00224... ........ 
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 
00   ........ ........ 
00000070  00 00 00 00 01 31 38 39  30 38 33 39 31 31 32 37   .....189 
08391127 
00000080  00 00 00 00 00 00 00 00  00 00 04 CE D2 C3 C7 00   ........ ...我
们. 
00000090  00 00 00 00 00 00 00 00  10 00 04 64 78 71 66 
00   ........ ...dxqf. 
000000A0  12 00 15 31 31 32 30 30  30 30 30 30 30 30 30 30   ...11200 
00000000 
000000B0  30 30 30 30 31 30 33 32                            00001032 





00000000  00 00 00 1A 80 00 00 02  00 01 90 8F 00 00 00 13   ....€... ..
悘.... 
00000010  10 27 15 04 38 43 00 00  00 00                     .'..8C.. ..



Original issue reported on code.google.com by [email protected] on 13 Jan 2010 at 2:56

上行长短信报错

直接下载模拟器和测试客户端

模拟上行长短信是报错,异常如下
Exception in thread "Thread-0" java.lang.ArrayIndexOutOfBoundsException: 793
        at cn.com.zjtelecom.util.TypeConvert.byte2short(TypeConvert.java:66)
        at cn.com.zjtelecom.smgp.protocol.TlvUtil.TlvAnalysis(TlvUtil.java:16)
        at cn.com.zjtelecom.smgp.message.DeliverMessage.<init>(DeliverMessage.ja
va:126)
        at cn.com.zjtelecom.smgp.connect.PConnect.run(PConnect.java:224)


Original issue reported on code.google.com by [email protected] on 10 Nov 2010 at 9:40

关于SubmitResp超时的问题

1、发送短信会出现SubmitResp超时,请问怎么解决?
2、由于发送和接收上行用的是一个Client,短信发送完成后,�
��信状态报告会出现假死的现象,必须要发送下一条短信,上
一条短信的状态报告才会显示。

Original issue reported on code.google.com by [email protected] on 23 Jul 2013 at 10:59

长短信混杂问题

我用的收发模式建立的连接,每个线程都单独用一个链接,
如果向同一个用户同一时刻发送短信,短信会有混杂的问题��
�是Submit某个参数没有设置吗?
我看了源码和资料,发送长短信的时候有设置头信息
tmpSubmit.setTP_udhi(1);
tmpSubmit.AddTlv(TlvId.PkNumber, String.valueOf(i + 1));
tmpSubmit.AddTlv(TlvId.PkTotal, String.valueOf(splitContent.size()));
上面是源码里的代码,不过好像没有设置TP_PID。
请问下是什么原因啊?
谢谢!

Original issue reported on code.google.com by [email protected] on 26 Oct 2010 at 8:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.