WAP Push messages are typically binary messages sent over SMS. In the event that the binary message exceeds the GSM message length of 140 bytes, it will be fragmented into multiple SMS.
For CDMA networks, the length of a WAP Push fragment may be restricted to less than 140 bytes by the SMSC (126 bytes in some vendors).
In such a cast the maximum fragment length must be specified/reconfigured. This can be done by
Placing the property wapPushMaxBinaryFragmentSize=126 in the WapConfiguration.properties file (and put this file in a root directory your classpath if it does not already exist) or
use the encodeToSms as shown below, where the last argument specifies the maximum fragment length
Code:
public BinaryMessage[] encodeToSms(
byte transactionId,
Address destination,
boolean confirmed,
boolean registered,
int maxFragLen);
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum