Class SmppNLSTSplitter


  • public class SmppNLSTSplitter
    extends SmppSplitter
    Splitter for messages use National Language Lock Table

    • Field Detail

      • UDHIE_NLI_SINGLE_MSG_HEADER_LENGTH

        protected static final int UDHIE_NLI_SINGLE_MSG_HEADER_LENGTH
        The length of the UDH for single short message in bytes. 0x25 - UDHIE_NLI_IDENTIFIER 0x01 - Length of the header 0xXX - Locking shift table indicator the Language
        See Also:
        Constant Field Values
      • UDHIE_NLI_SINGLE_MSG_HEADER_REAL_LENGTH

        protected static final int UDHIE_NLI_SINGLE_MSG_HEADER_REAL_LENGTH
        The real length of the UDH for single short message
        See Also:
        Constant Field Values
      • UDHIE_NLI_MULTI_MSG_HEADER_LENGTH

        protected static final int UDHIE_NLI_MULTI_MSG_HEADER_LENGTH
        The length of the UDH for splitted short messages, in bytes. 0x08 Overall header length 0x00 The value that identifier length of the SAR fragment. (8bit reference number only) 0x03 The length of the SAR fragment 0xXX The reference number for SAR 0xXX Total number of splitted / segmented messages 0xXX Segment number 0x25 National language locking shift element identifier 0x01 Length of the header 0xXX Locking shift table indicator for the Language (ie: 0x01 for Turkish)
        See Also:
        Constant Field Values
      • UDHIE_NLI_MULTI_MSG_HEADER_REAL_LENGTH

        protected static final int UDHIE_NLI_MULTI_MSG_HEADER_REAL_LENGTH
        The real length of the UDH for segmentet short messages
        See Also:
        Constant Field Values
      • UDHIE_NLI_IDENTIFIER

        protected static final int UDHIE_NLI_IDENTIFIER
        The element identifier value for the National Language Locking Table
        See Also:
        Constant Field Values
      • UDHIE_NLI_HEADER_LENGTH

        protected static final int UDHIE_NLI_HEADER_LENGTH
        The length of the NLI header
        See Also:
        Constant Field Values
      • MAX_MSG_CHAR_SIZE

        public static final int MAX_MSG_CHAR_SIZE
        The maximum length in chars of the NLI messages.

        Each letter will be represented as 7 bit (like GSM8)

        See Also:
        Constant Field Values
    • Constructor Detail

      • SmppNLSTSplitter

        public SmppNLSTSplitter​(int currentLength,
                                byte languageIdentifier)
    • Method Detail

      • split

        public byte[][] split​(byte[] message)
        Overrides:
        split in class SmppSplitter