Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用短信库是我的项目,
http://www.codeproject.com/Articles/20420/How-To-Send-and-Receive-SMS-using-GSM-Modem
以下是我从中挑选参考的链接。我有一个问题,如果一条消息超过一个消息长度,那么它会给我错误。
我的问题是:我怎样才能用这个库发送长消息。
以下是我的代码
SmsSubmitPdu pdu = new SmsSubmitPdu("Long Message","Number", "");
您应该按照以下几点发送长短信:
1.添加用户数据头 2.添加填充位来编码您的消息。
1.添加用户数据头
2.添加填充位来编码您的消息。
这些链接肯定会对您有所帮助:
http://hiteshagja.com/send-long-sms/
http://mobiletidings.com/2009/02/18/combining-sms-messages/