Gammu internals  1.38.0
GSM_SMSMessageLayout Struct Reference

#include <gammu-message.h>

Data Fields

unsigned char Text
 
unsigned char Number
 
unsigned char SMSCNumber
 
unsigned char TPDCS
 
unsigned char DateTime
 
unsigned char SMSCTime
 
unsigned char TPStatus
 
unsigned char TPUDL
 
unsigned char TPVP
 
unsigned char firstbyte
 
unsigned char TPMR
 
unsigned char TPPID
 

Detailed Description

Definition at line 540 of file gammu-message.h.

Field Documentation

§ DateTime

unsigned char GSM_SMSMessageLayout::DateTime
  • For SMS-Submit: TP-Validity-Period. GSM 03.40 section 9.2.3.12.
  • For SMS-Status-Report: TP-Discharge Time. GSM 03.40 section 9.2.3.13.

Definition at line 564 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), and GSM_EncodeSMSFrame().

§ firstbyte

unsigned char GSM_SMSMessageLayout::firstbyte

Byte contains in SMS-Deliver:

  • TP-Message-Type-Indicator (2 bits) GSM 03.40 section 9.2.3.1
  • TP-More-Messages-To-Send (1 bit). GSM 03.40 section 9.2.3.2
  • TP-Reply-Path (1 bit). GSM 03.40 section 9.2.3.17
  • TP-User-Data-Header-Indicator (1 bit). GSM 03.40 section 9.2.3.23
  • TP-Status-Report-Indicator (1 bit). GSM 03.40 section 9.2.3.4

Byte contains in SMS-Submit:

  • TP-Message-Type-Indicator (2 bits) GSM 03.40 section 9.2.3.1
  • TP-Reject-Duplicates (1 bit). GSM 03.40 section
  • TP-Validity-Period-Format (2 bits).GSM 03.40 section 9.2.3.3
  • TP-Reply-Path (1 bit). GSM 03.40 section 9.2.3.17
  • TP-User-Data-Header-Indicator (1 bit). GSM 03.40 section 9.2.3.23
  • TP-Status-Report-Request (1 bit). GSM 03.40 section 9.2.3.5

Definition at line 597 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), GSM_DecodeSMSFrameText(), GSM_EncodeSMSFrame(), and GSM_EncodeSMSFrameText().

§ Number

unsigned char GSM_SMSMessageLayout::Number
  • In SMS-Deliver: TP-Originating-Address. GSM 03.40 section 9.2.3.7.
  • In SMS-Submit: TP-Destination-Address. GSM 03.40 section 9.2.3.8.
  • In SMS-Status-Report: TP-Recipient-Address. GSM 03.40 section 9.2.3.14.

Definition at line 550 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), and GSM_EncodeSMSFrame().

§ SMSCNumber

unsigned char GSM_SMSMessageLayout::SMSCNumber

SMSC number

Definition at line 554 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), and GSM_EncodeSMSFrame().

§ SMSCTime

unsigned char GSM_SMSMessageLayout::SMSCTime

TP-Service-Centre-Time-Stamp in SMS-Status-Report. GSM 03.40 section 9.2.3.11.

Definition at line 568 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame().

§ Text

unsigned char GSM_SMSMessageLayout::Text

TP-User-Data. GSM 03.40 section 9.2.3.24.

Definition at line 544 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), GSM_DecodeSMSFrameText(), GSM_EncodeSMSFrame(), and GSM_EncodeSMSFrameText().

§ TPDCS

unsigned char GSM_SMSMessageLayout::TPDCS

TP-Data-Coding-Scheme. GSM 03.40 section 9.2.3.10. Contains alphabet type, SMS class (and some others)

Definition at line 559 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), GSM_EncodeSMSFrame(), and GSM_EncodeSMSFrameText().

§ TPMR

unsigned char GSM_SMSMessageLayout::TPMR

TP-Message Reference in SMS-Submit. GSM 03.40 section 9.2.3.6

Definition at line 601 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), and GSM_EncodeSMSFrame().

§ TPPID

unsigned char GSM_SMSMessageLayout::TPPID

TP-Protocol-Identifier. GSM 03.40 section 9.2.3.9

Definition at line 605 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), and GSM_EncodeSMSFrame().

§ TPStatus

unsigned char GSM_SMSMessageLayout::TPStatus

TP-Status in SMS-Status-Report. GSM 03.40 section 9.2.3.15.

Definition at line 572 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), and GSM_DecodeSMSFrameStatusReportData().

§ TPUDL

unsigned char GSM_SMSMessageLayout::TPUDL

TP-User-Data-Length. GSM 03.40 section 9.2.3.16.

Definition at line 576 of file gammu-message.h.

Referenced by GSM_DecodeSMSFrame(), GSM_DecodeSMSFrameText(), and GSM_EncodeSMSFrameText().

§ TPVP

unsigned char GSM_SMSMessageLayout::TPVP

TP-Validity Period in SMS-Submit. GSM 03.40 section 9.2.3.12.

Definition at line 580 of file gammu-message.h.

Referenced by GSM_EncodeSMSFrame().


The documentation for this struct was generated from the following file: