diff --git a/src/java/main/org/jsmpp/util/StringParameter.java b/src/java/main/org/jsmpp/util/StringParameter.java
index <HASH>..<HASH> 100644
--- a/src/java/main/org/jsmpp/util/StringParameter.java
+++ b/src/java/main/org/jsmpp/util/StringParameter.java
@@ -59,7 +59,7 @@ public enum StringParameter {
 	 * STAT_ESME_RINVDFTMSGID, means that predefined message are not exist.
 	 */
 	FINAL_DATE(StringType.C_OCTEC_STRING, 0, 17, false, SMPPConstant.STAT_ESME_RINVDFTMSGID),
-	SHORT_MESSAGE(StringType.OCTET_STRING, 0, 255, true, SMPPConstant.STAT_ESME_RINVMSGLEN), // the SMPP v3.4 max is 254  
+	SHORT_MESSAGE(StringType.OCTET_STRING, 0, 254, true, SMPPConstant.STAT_ESME_RINVMSGLEN),  
 	MESSAGE_ID(StringType.C_OCTEC_STRING, 0, 65, true, SMPPConstant.STAT_ESME_RINVMSGID), 
 	DEL_MESSAGE_ID(StringType.C_OCTEC_STRING, 0, 0, true, SMPPConstant.STAT_ESME_RINVMSGID), 
 	/**
Change the maximum length of short message to <I> (SMPP spec v <I>)