Converts memory type from string.
Parameters: |
|
---|---|
Return: | Parsed memory type or 0 on failure. |
Gets memory (phonebooks or calls) status (eg. number of used and free entries).
Parameters: |
|
---|---|
Return: | Error code. |
Reads entry from memory (phonebooks or calls). Which entry should be read is defined in entry.
Parameters: |
|
---|---|
Return: | Error code. |
Reads entry from memory (phonebooks or calls). Which entry should be read is defined in entry. This can be easily used for reading all entries.
Parameters: |
|
---|---|
Return: | Error code. |
Sets memory (phonebooks or calls) entry.
Parameters: |
|
---|---|
Return: | Error code. |
Adds memory (phonebooks or calls) entry.
Parameters: |
|
---|---|
Return: | Error code. |
Deletes memory (phonebooks or calls) entry.
Parameters: |
|
---|---|
Return: | Error code. |
Deletes all memory (phonebooks or calls) entries of specified type.
Parameters: |
|
---|---|
Return: | Error code. |
Gets speed dial.
Parameters: |
|
---|---|
Return: | Error code. |
Sets speed dial.
Parameters: |
|
---|---|
Return: | Error code. |
Returns name of entry. It might be possibly concatenated from first and last names.
Parameters: |
|
---|---|
Return: | Static unicode string containing name. |
Finds default name, number and group for entry.
Parameters: |
|
---|
Encodes memory entry to vCard.
Parameters: |
|
---|---|
Return: | Error code. |
Decodes memory entry from vCard.
Parameters: |
|
---|---|
Return: | Error code. |
Frees any dynamically allocated memory inside memory entry structure.
Parameters: |
|
---|
Enum defines ID for various phone and SIM memories. Phone modules can translate them to values specific for concrete models. Two letter codes (excluding VM and SL) are from GSM 07.07.
Values:
Internal memory of the mobile equipment
SIM card memory
Own numbers
Dialled calls
Received calls
Missed calls
Combined ME and SIM phonebook
Fixed dial
Voice mailbox
Sent SMS logs
Quick dialing choices.
struct GSM_MemoryStatus
Structure contains info about number of used/free entries in phonebook memory.
Public Members
- int MemoryUsed
Number of used entries
- GSM_MemoryType MemoryType
Memory type
- int MemoryFree
Number of free entries
Type of specific phonebook entry. In parenthesis is specified in which member of GSM_SubMemoryEntry value is stored.
Values:
General number. (Text)
Mobile number. (Text)
Fax number. (Text)
Pager number. (Text)
Other number. (Text)
Note. (Text)
Complete postal address. (Text)
Email. (Text)
URL (Text)
Date and time of last call. (Date)
Caller group. (Number)
Name (Text)
Last name. (Text)
First name. (Text)
Company. (Text)
Job title. (Text)
Category. (Number, if -1 then text)
Whether entry is private. (Number)
Street address. (Text)
City. (Text)
State. (Text)
Zip code. (Text)
Country. (Text)
Custom information 1. (Text)
Custom information 2. (Text)
Custom information 3. (Text)
Custom information 4. (Text)
Ringtone ID. (Number)
Picture ID. (Number)
User ID. (Text)
Length of call (Number)
LUID - Unique Identifier used for synchronisation (Text)
Date of last modification (Date)
Nick name (Text)
Formal name (Text)
Picture name (on phone filesystem). (Text)
Push-to-talk ID (Text)
Favorite messaging number. (Text)
Photo (Picture).
Second name. (Text)
VOIP address (Text).
SIP address (Text).
DTMF (Text).
Video number. (Text)
See What I See address. (Text)
Wireless Village user ID. (Text)
Name prefix (Text)
Name suffix (Text)
Location of memory contact.
Values:
No/Unknown location.
Home
Work
struct GSM_SubMemoryEntry
One value of phonebook memory entry.
Public Members
- GSM_EntryType EntryType
Type of entry.
- GSM_EntryLocation Location
Location for the entry.
- GSM_DateTime Date
Text of entry (if applicable, see GSM_EntryType).
- int Number
Number of entry (if applicable, see GSM_EntryType).
- int VoiceTag
Voice dialling tag.
- int SMSList[20]
- int CallLength
- GSM_Error AddError
During adding SubEntry Gammu can return here info, if it was done OK
- unsigned char Text[(GSM_PHONEBOOK_TEXT_LENGTH+1)*2]
Text of entry (if applicable, see GSM_EntryType).
- GSM_BinaryPicture Picture
Picture data.
struct GSM_MemoryEntry
Structure for saving phonebook entries.
Public Members
- GSM_MemoryType MemoryType
Used memory for phonebook entry
- int Location
Used location for phonebook entry
- int EntriesNum
Number of SubEntries in Entries table.
- GSM_SubMemoryEntry Entries[GSM_PHONEBOOK_ENTRIES]
Values of SubEntries.
struct GSM_SpeedDial
Structure for saving speed dials.
Public Members
- int Location
Number of speed dial: 2,3..,8,9
- int MemoryNumberID
ID of phone number used in phonebook entry
- GSM_MemoryType MemoryType
Memory, where is saved used phonebook entry
- int MemoryLocation
Location in memory, where is saved used phonebook entry
Types of vCard.
Values:
vCard 1.0 hacked for Nokia.
vCard 2.1 hacked for Nokia.
vCard 1.0 hacked for Sony-Ericsson (should be standard vCard).
vCard 2.1 hacked for Sony-Ericsson (should be standard vCard).
vCard 2.1 hacked for Sony-Ericsson (should be standard vCard) from phone (no parsing of location and memory type).