Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7278217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:50:41+00:00 2026-05-28T22:50:41+00:00

I am currently trying to figure out how sms classes are correctly represented in

  • 0

I am currently trying to figure out how sms classes are correctly represented in SMPP. However I am by now completely confused by the standard and it’s documentation.

In normal sms we have

  • Class0: Flash sms, which are shown on the display
  • Class1: Normal Sms to be stored on the sim or internally in the device

Looking at the SMPP spec, I first find the parameter data_coding in the submit_sm operation, which is used to set the DCS sent via MAP. As far as I understand this, if we want to explicitly set the message class we need to set the first four bits of this parameter to ones, then two bits indicating the coding and then another two bits indicating the message class. So for Class1 Sms, we would set 1111xx01. Is this correct so far?

If we try to set this DCS, however currently we also set the data coding to “8-Bit data”. It seems, several phones are not able to understand this. Is this specified anywhere, and can we just change this, or is a special coding needed when sending other message classes.

More confusion arises, when we try to use the SMPPv3.4 recommended way of setting the Message class. Since 3.4 there is an optional parameter in the submit_sm operation, called dest_addr_subunit. According to the standard this parameter should be set to 0 for unknown, 1 for MS-Display, 2 for Mobile equipment, etc. If I look at this, it seems the parameters are shifted by one compared to GSM message classes. Class0 is encoded as 1, Class1 is encoded as 2 and so on. Is this correct or is there any more complicated mapping behind this?

Also, if we set dest_addr_subunit, do we still have to set DCS as well, or can we just leave this parameter at it’s default value?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T22:50:42+00:00Added an answer on May 28, 2026 at 10:50 pm

    I recommend to read 3GPP TS 23.038 specification with detailed DCS (Data Coding Scheme) description.

    In case of DCS bits 7654 are 00xx, you should check DCS for bit 4 value.

    • bit 4 == 0 – no message class for this message (bits 1 and 0 are reserved)
    • bit 4 == 1 – bits 1 and 0 contains message class

    So you should set data_coding SMPP parameter in accordance to 3GPP TS 23.038 specification to handle message_class properly.

    By default GSM SMS message has no message_class and this is not the same as message_class = 1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently trying to figure out how to do move semantics correctly with
I am currently trying to figure out what CallLog.Calls.NEW means. The documentation says: Whether
I'm currently beating my head against a wall trying to figure this out. But
I'm trying to figure out how to use Zend_Db_Table_Abstract correctly. I want to return
I'm currently trying to figure out how to perform manual windows authentication in our
I'm currently trying to figure out which implementation of JSR-311 I'm going to recommend
I am currently trying to figure out the best way to create a .xls
I am currently trying to figure out what the best way is to create
I'm learning JavaScript and I'm currently trying to figure out why (in Spidermonkey )
I am currently trying to figure out a way to have an Android application

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.