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

Commit

Permalink
Updated value of DATA_CODING_GSM constant and made it deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Cox authored and EsendexDev committed Jul 9, 2015
1 parent 18d5053 commit 6dadd6b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/com/cloudhopper/smpp/SmppConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +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 = DATA_CODING_DEFAULT;
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 6dadd6b

Please sign in to comment.