Gammu internals  1.38.0
GSM_SMSMessage Struct Reference

#include <gammu-message.h>

Collaboration diagram for GSM_SMSMessage:

Data Fields

unsigned char ReplaceMessage
 
gboolean RejectDuplicates
 
GSM_UDHHeader UDH
 
unsigned char Number [(GSM_MAX_NUMBER_LENGTH+1) *2]
 
unsigned char OtherNumbers [GSM_SMS_OTHER_NUMBERS][(GSM_MAX_NUMBER_LENGTH+1) *2]
 
int OtherNumbersNum
 
GSM_SMSC SMSC
 
GSM_MemoryType Memory
 
int Location
 
int Folder
 
gboolean InboxFolder
 
int Length
 
GSM_SMS_State State
 
unsigned char Name [(GSM_MAX_SMS_NAME_LENGTH+1) *2]
 
unsigned char Text [(GSM_MAX_SMS_LENGTH+1) *2]
 
GSM_SMSMessageType PDU
 
GSM_Coding_Type Coding
 
GSM_DateTime DateTime
 
GSM_DateTime SMSCTime
 
unsigned char DeliveryStatus
 
gboolean ReplyViaSameSMSC
 
signed char Class
 
unsigned char MessageReference
 

Detailed Description

SMS message data.

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

Field Documentation

§ Class

signed char GSM_SMSMessage::Class

§ Coding

§ DateTime

GSM_DateTime GSM_SMSMessage::DateTime

Date and time, when SMS was saved or sent

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

Referenced by GSM_DecodePDUFrame(), GSM_DecodeSMSFrame(), GSM_EncodeSMSFrame(), GSM_LinkSMS(), GSM_SetDefaultReceivedSMSData(), and GSM_SetDefaultSMSData().

§ DeliveryStatus

unsigned char GSM_SMSMessage::DeliveryStatus

In delivery reports: status.

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

Referenced by GSM_DecodeSMSStatusReportData(), and GSM_SetDefaultReceivedSMSData().

§ Folder

int GSM_SMSMessage::Folder

For saved SMS: number of folder, where SMS is saved

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

Referenced by DUMMY_AddSMS(), DUMMY_GetNextSMS(), DUMMY_GetSMS(), DUMMY_GetSMSPath(), and GSM_SetDefaultSMSData().

§ InboxFolder

gboolean GSM_SMSMessage::InboxFolder

For saved SMS: whether SMS is really in Inbox.

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

Referenced by DUMMY_GetSMS(), and GSM_SetDefaultSMSData().

§ Length

§ Location

int GSM_SMSMessage::Location

For saved SMS: location of SMS in memory.

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

Referenced by DUMMY_AddSMS(), DUMMY_GetNextSMS(), DUMMY_GetSMS(), DUMMY_GetSMSPath(), and GSM_SetDefaultSMSData().

§ Memory

GSM_MemoryType GSM_SMSMessage::Memory

For saved SMS: where exactly it's saved (SIM/phone)

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

Referenced by DUMMY_GetSMS(), and GSM_SetDefaultSMSData().

§ MessageReference

unsigned char GSM_SMSMessage::MessageReference

Message reference.

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

Referenced by GSM_DecodePDUFrame(), GSM_DecodeSMSFrame(), GSM_EncodeSMSFrame(), and GSM_SetDefaultReceivedSMSData().

§ Name

unsigned char GSM_SMSMessage::Name[(GSM_MAX_SMS_NAME_LENGTH+1) *2]

Name in Nokia with SMS memory (6210/7110, etc.) Ignored in other.

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

Referenced by GSM_SetDefaultReceivedSMSData().

§ Number

unsigned char GSM_SMSMessage::Number[(GSM_MAX_NUMBER_LENGTH+1) *2]

Sender or recipient number.

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

Referenced by GSM_DecodePDUFrame(), GSM_DecodeSMSFrame(), GSM_EncodeSMSFrame(), and GSM_SetDefaultReceivedSMSData().

§ OtherNumbers

unsigned char GSM_SMSMessage::OtherNumbers[GSM_SMS_OTHER_NUMBERS][(GSM_MAX_NUMBER_LENGTH+1) *2]

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

§ OtherNumbersNum

int GSM_SMSMessage::OtherNumbersNum

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

Referenced by GSM_LinkSMS(), and GSM_SetDefaultReceivedSMSData().

§ PDU

§ RejectDuplicates

gboolean GSM_SMSMessage::RejectDuplicates

Whether to reject duplicates.

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

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

§ ReplaceMessage

unsigned char GSM_SMSMessage::ReplaceMessage

§ ReplyViaSameSMSC

gboolean GSM_SMSMessage::ReplyViaSameSMSC

Indicates whether "Reply via same center" is set.

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

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

§ SMSC

§ SMSCTime

GSM_DateTime GSM_SMSMessage::SMSCTime

Date of SMSC response in DeliveryReport messages.

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

Referenced by GSM_DecodePDUFrame(), GSM_DecodeSMSFrame(), and GSM_SetDefaultSMSData().

§ State

GSM_SMS_State GSM_SMSMessage::State

Status (read/unread/...) of SMS message.

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

Referenced by GSM_SetDefaultSMSData(), and NOKIA_EncodeDateTime().

§ Text

§ UDH


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