Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #107 from RobinJDCox/master
Browse files Browse the repository at this point in the history
Corrected name of DataCoding 0x01 in SmppConstants to IA5 (not GSM)
  • Loading branch information
jjlauer committed Jul 9, 2015
2 parents 4ee6e34 + 6dadd6b commit 1264ab1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main/java/com/cloudhopper/smpp/SmppConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,15 @@ public class SmppConstants {
// SMPP Data Coding
//
public static final byte DATA_CODING_DEFAULT = (byte)0x00; // SMSC Default Alphabet
public static final byte DATA_CODING_GSM = (byte)0x01; // IA5 (CCITT T.50)/ASCII (ANSI X3.4)
public static final byte DATA_CODING_IA5 = (byte)0x01; // IA5 (CCITT T.50)/ASCII (ANSI X3.4)

/**
* @deprecated May be removed in a future version
* Please use IA5 for DCS 0x01 or DEFAULT for DCS 0x00
*/
@Deprecated
public static final byte DATA_CODING_GSM = (byte)0x01;

public static final byte DATA_CODING_8BITA = (byte)0x02; // Octet unspecified (8-bit binary) defined for TDMA and/ or CDMA but not defined for GSM
public static final byte DATA_CODING_LATIN1 = (byte)0x03; // Latin 1 (ISO-8859-1)
public static final byte DATA_CODING_8BIT = (byte)0x04; // Octet unspecified (8-bit binary) ALL TECHNOLOGIES
Expand Down

0 comments on commit 1264ab1

Please sign in to comment.