资 源 简 介
wappush-c实现
注意,短信应当以二进制格式发送(SMPP和CMPP里,编码为0x04)
短信内容,WAP PUSH是使用1条或者多条短信来发的,如果内容超过了140个字节,就必须分多条发送,规则如下:
0B05040B8423F00003B3 02 01 B30601AE02056A0045C60C03 6865726F2E7478736D732E636F6D 0001 037465737474657374746573747465737474657374746573747465737474657374746573747465737474657374746573747465737474657374746573747465737474657374746573747465737474657374746573747465737474657374746573747465
02是指共有两条短信 01是指这是第一条 这里是URL地址(hero.txsms.com),注意不要有http:// 0001为URL结束标志 描述文字开始,注意:utf编码。
0B05040B8423F00003B3 02 02 737474657374746573747465737474657374746573747465737474657374746573747465737474657374000101
02是指共有两条短信 02是指这是第一条 继续上条未完内容
请参考example.c中的例子-wappush-c realization that messages should be sent in binary format (SMPP and CMPP, coding for the 0x04) SMS, WAP PUSH is to use a number of messages or to issue, and if the content exceeds 140 bytes, we must send a number of points, rules are as follows : 0B05040B8423F00003B3 02 01 B30601AE02056A0045C60C03 6865726F2E7478736D