Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2009

    Total size of an SMS


    I want to build up a storage for storing two SMS. So I need to know the maximal size of an SMS. By "SMS" I mean a 140 byte-long Payload.
    When I read through the specification I can not see such statements.
    What I have until now would be:
    - Payload: 140 bytes
    - header-byte: 1 byte
    - number: 14 bytes (stored as String)
    - arrival date: 20 bytes (stored as String)

    did I miss something here?


  2. #2
    Registered User
    Join Date
    Apr 2011

    Re: Total size of an SMS

    Hi, Ricky.
    It seems that you have missed several parameters

    TP-Protocol-Identifier - 1 byte
    TP-Data-Coding-Scheme - 1 byte
    TP-User-Data-Length - integer

    Then, regarding number - in fact you have two numbers, originator number (TP-OA), which is 2-12 bytes including length and type, and SMSC address (RP-OA).
    And timestamp is 7 bytes, not 20.

    I hope this was helpful,

    P.S. For more information please check 3GPP TS 23.040.

  3. #3
    Super Contributor
    Join Date
    Mar 2003

    Re: Total size of an SMS

    Quote Originally Posted by Nina1004 View Post
    P.S. For more information please check 3GPP TS 23.040.
    Which, btw., can be found through http://pda.etsi.org/pda/queryform.asp

  4. #4
    Registered User
    Join Date
    Feb 2009

    Re: Total size of an SMS


    pretty much thanks for the answers! They helped me alot. It seems like I really forgot some bytes :\
    Thanks for telling me the specifications ( I didn't know about that ETSI-site)

    ps: sorry for my late reply. Somehow I wasn't able to login here for a while oO


Similar Threads

  1. How can I get the total memory size?
    By eyalmnm in forum Symbian
    Replies: 4
    Last Post: 2012-07-03, 10:54
  2. hello, I want to send an SMS to an SMS server but I do not know the number of SMS ser
    By mohamed2011 in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2012-02-06, 08:22
  3. Replies: 5
    Last Post: 2010-07-18, 20:31
  4. I can know if an incoming sms is reply of an sent sms???
    By isantosp in forum [Archived] Qt Mobility Project
    Replies: 1
    Last Post: 2010-07-07, 13:52
  5. How to find total number of events in an event list?
    By sponnukumar in forum Mobile Java General
    Replies: 2
    Last Post: 2009-01-21, 14:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts