node-pdu
    Preparing search index...

    Class DCS

    Represents the Data Coding Scheme (DCS) of an SMS message.

    Defines how the message content is encoded, affecting character set selection and special message features. It plays a key role in ensuring that the message content is correctly displayed on the receiving device.

    Index

    Constructors

    Properties

    ALPHABET_8BIT: 1 = 0x01
    ALPHABET_DEFAULT: 0 = 0x00
    ALPHABET_RESERVED: 3 = 0x03
    ALPHABET_UCS2: 2 = 0x02
    CLASS_MOBILE_EQUIPMENT: 1 = 0x01
    CLASS_NONE: 0 = 0x00
    CLASS_SIM_SPECIFIC_MESSAGE: 2 = 0x02
    CLASS_TERMINAL_EQUIPMENT: 3 = 0x03
    INDICATION_TYPE_EMAIL: 2 = 0x02
    INDICATION_TYPE_FAX: 1 = 0x01
    INDICATION_TYPE_OTHER: 3 = 0x03
    INDICATION_TYPE_VOICEMAIL: 0 = 0x00

    Accessors

    • get dataCodingAndMessageClass(): boolean

      Returns boolean

    Methods

    • Parameters

      • indication: number

      Returns DCS

    • Parameters

      • compressed: boolean = true

      Returns DCS