Tag: pdu

请推荐用于.NET或C ++的PDU SMS格式代码或库

我一直在搜索大量的代码,或者用于格式化PDU格式的SMS消息的库,并且运气不佳。 它们要么是巨大的怪物,要么超出我的要求,而且界面非常模糊,完全不能certificate直接的,虽然相当复杂的编码。 在创建NIH的边缘,我的问题是 – 遇到了同样的问题,你是如何解决它的?

如何在GSMComm库中连接长短信?

这是我的代码: 根据这个页面 , CreateConcatTextMessage方法返回一个类型为SmsSubmitPdu[]的数组,但是,当我尝试使用SendMessages发送它时,我得到一个MessageServiceError 500 。 我错过了什么? SmsSubmitPdu[] pdu2; try{ pdu2 = SmartMessageFactory.CreateConcatTextMessage(“My name is Barry Allen. And I am the fastest man alive. When I was a child I saw my mother killed by something impossible. My father went to prison for her murder.”, “+639234597676”); comm.SendMessages(pdu2); } catch (MessageServiceErrorException e500){ MessageBox.Show(e500.ToString(), “Information”, MessageBoxButtons.OK, MessageBoxIcon.Exclamation); […]