Gammu:Full reference manual

You can get a list of command line options from the below categories by issuing the command:

gammu --help <category>

Where <category> is one of the following words: call, sms, memory, filesystem, logo, ringtone, calendar, todo, note, datetime, category, backup, nokia, siemens, network, wap, mms, tests, fm, info, settings, other

Example:

gammu --help nokia

You can enable/disable debug from command line too. Please put

between "gammu" and "real" parameters.

Example:

gammu nothing --identify

Contents

[hide]
[edit]

Calls

--monitor [times]

--getussd code

--dialvoice number [show|hide]

--maketerminatedcall number length [show|hide]

--getspeeddial start [stop]

--cancelcall [ID]

--answercall [ID]

--unholdcall ID

--holdcall ID

--conferencecall ID

--splitcall ID

--switchcall [ID]

--transfercall [ID]

--divert get|set all|busy|noans|outofreach all|voice|fax|data [number timeout]

--canceldiverts

--senddtmf sequence

[edit]

SMS and EMS

[edit]

Introduction to SMS formats

These commands are provided for SMS. Gammu has got support for many SMS formats like:

[edit]

Encoding chars in SMS text

Text in SMS can be coded using two ways:

Gammu tries to give solution for some issues connected with translating chars between phone and computer. If you copy text into SMS:

  1. all chars are internally converted into Unicode:
    • if they were given using standard input, there are used operating system functions (you need to have correctly set national support for Greek chars to have Greek chars conversion, etc.)
    • if you gave Unicode coded file to Gammu, chars from it are simply copied
  2. if SMS will use:
    • GSM Default Alphabet, Gammu will:
      • check, if some Unicode chars can be saved in GSM Default Alphabet using two chars only and will create such sequences (it's done for ^ { } \ [ ] ~ | € chars)
      • put all chars available in GSM Default Alphabet into SMS
      • try to save into SMS all other national chars (with dashes, dots, double dots, etc.) after replacing them with Latin
      • use "?" for all other chars
    • Unicode, Gammu will copy all chars into SMS

TIP: You can create Unicode file using WordPad in Win32 (during saving select "Unicode Text Document" format). In Unix can use for example YUdit.

TIP: when use ~ char in sms text and Unicode coding, text of sms after ~ char will blink in some DCT3 phones (like Nokia 3310)

[edit]

SMS folders and locations

When you use SMS folder 0, SMS location is given from "flat" memory (all sms from all folders have unique numbers). It's sometimes emulated by Gammu. You can use it with all phones.

When give folder 1, 2, etc. SMS are taken from Inbox, Outbox, etc. and each SMS has unique number in his folder. Name of folders can depend on your phone (the most often 1="Inbox", 2="Outbox", etc.). This method is not supported by all phones (for example, not supported by Nokia 3310, 5110, 6110). If work with your phone, use --getsmsfolders to get folders list.

Phone Folder Memory
DCT3 without own SMS memory 1="Inbox", 2="Outbox" SIM
DCT3 with own SMS memory (7110, 6210) 1="Inbox", 2="Outbox", ...
DCT4 with own SMS memory
[edit]

Commands to get messages from phone

--getsmsfolders

Get list of SMS folders in phone and SIM.

--getsms folder start [stop]

Get SMS from specified locations. Option display SMS location like available in folder 0.

--getallsms

Get all possible SMS from phone and SIM. Each SMS is displayed just after getting from device (because of it please don't expect correct displaying linked SMS or EMS sequences). Option display SMS location like available in folder 0.

--geteachsms

Get all possible SMS from phone and SIM. Option get all of them, tries to find sequences (and link them) and display final content (texts, ringtones, bitmaps, etc.) to user. Option display SMS location like available in folder 0.

[edit]

Commands to delete messages from phone

--deletesms folder start [stop]

--deleteallsms folder

[edit]

Commands to send messages/save messages to phone

General format for sending messages is easy:

--sendsms SMSFORMAT destination options_specific_for_sms_format [switches_specific_for_sms_format] [switches_specific_for_sending_sms]

where:

Similiary it's possible to save sms:

--savesms SMSFORMAT options_specific_for_sms_format [switches_specific_for_sms_format] [switches_specific_for_saving_sms]

where switches_specific_for_saving_sms:

For each saved SMS there is displayed info about folder. Location is given like in SMS folder "0".

Now we will describe available SMSFORMATs:

format TEXT

Used for single/linked text SMS. Gammu reads SMS text, format according to used command line switches and send/save.

--sendsms TEXT destination [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-inputunicode] [-16bit] [-flash] [-len len] [-autolen len] [-unicode] [-enablevoice] [-disablevoice] [-enablefax] [-disablefax] [-enableemail] [-disableemail] [-voidsms] [-replacemessages ID] [-replacefile file]

--savesms TEXT [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-inputunicode] [-16bit] [-flash] [-len len] [-autolen len] [-unicode] [-enablevoice] [-disablevoice] [-enablefax] [-disablefax] [-enableemail] [-disableemail] [-voidsms] [-replacemessages ID] [-replacefile file]

Switches specific for this option:

Example usages:

echo "I hate mondays" | gammu --savesms TEXT

saves SMS with text "I hate mondays"

gammu --savesms TEXT -maxlen 40 < file.txt

get maximally 40 chars from text file and save them into text sms

TIP: you can use format EMS with -text switch to have the same effect too.

format EMS

Used for EMS sequences. Please note, that currently bitmaps, ringtones, text formatting compatible with this standard it's not supported by Nokia phones and don't expect it there.

--sendsms EMS destination [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-unicode] [-16bit] [-format lcrasbiut] [-text text] [-unicodefiletext file] [-defsound ID] [-defanimation ID] [-tone10 file] [-tone10long file] [-tone12 file] [-tone12long file] [-toneSE file] [-toneSElong file] [-fixedbitmap file] [-variablebitmap file] [-variablebitmaplong file] [-animation frames file1 ...] [-protected number]

--savesms EMS [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-unicode] [-16bit] [-format lcrasbiut] [-text text] [-unicodefiletext file] [-defsound ID] [-defanimation ID] [-tone10 file] [-tone10long file] [-tone12 file] [-tone12long file] [-toneSE file] [-toneSElong file] [-fixedbitmap file] [-variablebitmap file] [-variablebitmaplong file] [-animation frames file1 ...] [-protected number]

Switches specific for this option:

All switches after "-16bit" (like "-defsound") can be used few times (they're connected with sequence parts).

Example usages:

gammu --savesms EMS -text "I hate mondays"

will save simple SMS with text "I hate mondays"

gammu --savesms EMS -text "Greetings" -defsound 1 -text "from Gammu"
-tone10 axelf.txt -animation 2 file1.bmp file2.bmp

will save EMS sequence with text "Greetings", default sound 1, text "from Gammu", ringtone axelf.txt and 2 frames animation read from (1'st frame) file1.bmp and (2'nd frame) file2.bmp

gammu --savesms EMS -protected 2 -variablebitmaplong ala.bmp
-toneSElong axelf.txt -toneSE ring.txt

ala.bmp and axelf.txt will be "protected"

format RINGTONE

Used for ringtones in Smart Messaging format.

--sendsms RINGTONE destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms RINGTONE file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

Switches specific for this option:

format OPERATOR

Read bitmap from 2 colors file (bmp, nlm, nsl, ngg, nol, wbmp, etc.), format into operator logo in Smart Messaging format (72x14 or 78x21, 2 colors) and send/save over SMS.

Please note, that it isn't designed for colour logos available for example in DCT4/TIKU - you need to put bitmap file there inside phone using filesystem commands.

--sendsms OPERATOR destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-netcode netcode] [-biglogo]

--savesms OPERATOR file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-netcode netcode] [-biglogo]

Switches specific for this option:

format CALLER

Read bitmap from 2 colors file (bmp, nlm, nsl, ngg, nol, wbmp, etc.), format into caller group logo in Smart Messaging format (72x14, 2 colors) and send/save over SMS.

Please note, that it isn't designed for colour logos available for example in DCT4/TIKU - you need to put bitmap file there inside phone using filesystem commands.

--sendsms CALLER destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms CALLER file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

format PROFILE

Read ringtone (RTTL) format, bitmap (Picture Image size) and name, format into Smart Messaging profile and send/save as SMS. Please note, that this format is abandomed by Nokia and supported by some (older) devices only like Nokia 3310.

--sendsms PROFILE destination [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-name name] [-bitmap bitmap] [-ringtone ringtone]

--savesms PROFILE [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-name name] [-bitmap bitmap] [-ringtone ringtone]

Switches specific for this option:

format PICTURE

Read bitmap from 2 colors file (bmp, nlm, nsl, ngg, nol, wbmp, etc.), format into bitmap in Smart Messaging (72x28, 2 colors, called often Picture Image and saved with text) or Alcatel format and send/save over SMS.

--sendsms PICTURE destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-text text] [-unicode] [-alcatelbmmi]

--savesms PICTURE file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-text text] [-unicode] [-alcatelbmmi]

Switches specific for this option:

format ANIMATION

--sendsms ANIMATION destination frames file1 file2... [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms ANIMATION frames file1 file2... [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

format SMSTEMPLATE

--sendsms SMSTEMPLATE destination [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-unicode] [-text text] [-unicodefiletext file] [-defsound ID] [-defanimation ID] [-tone10 file] [-tone10long file] [-tone12 file] [-tone12long file] [-toneSE file] [-toneSElong file] [-variablebitmap file] [-variablebitmaplong file] [-animation frames file1 ...]

--savesms SMSTEMPLATE [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-unicode] [-text text] [-unicodefiletext file] [-defsound ID] [-defanimation ID] [-tone10 file] [-tone10long file] [-tone12 file] [-tone12long file] [-toneSE file] [-toneSElong file] [-variablebitmap file] [-variablebitmaplong file] [-animation frames file1 ...]

format MMSINDICATOR

--sendsms MMSINDICATOR destination URL Title Sender [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms MMSINDICATOR URL Title Sender [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

format WAPINDICATOR

--sendsms WAPINDICATOR destination URL Title [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms WAPINDICATOR URL Title [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

format BOOKMARK

--sendsms BOOKMARK destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms BOOKMARK file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

Read WAP bookmark from file created by --backup option and saves in SMS.

format WAPSETTINGS

--sendsms WAPSETTINGS destination file location DATA|GPRS [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms WAPSETTINGS file location DATA|GPRS [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

Read WAP settings from file created by --backup option and saves in SMS.

format MMSSETTINGS

--sendsms MMSSETTINGS destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms MMSSETTINGS file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

format CALENDAR

--sendsms CALENDAR destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms CALENDAR file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

Read calendar note from file created by --backup option and saves in VCALENDAR 1.0 format.

format TODO

Read todo from file created by --backup option and send/save using SMS.

--sendsms TODO destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms TODO file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

format VCARD10|VCARD21

Read phonebook entry from file created by --backup option and saves in VCARD 1.0 (only name and default number) or VCARD 2.1 (all entry details with all numbers, text and name) format.

--sendsms VCARD10|VCARD21 destination file SM|ME location [-nokia] [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

--savesms VCARD10|VCARD21 file SM|ME location [-nokia] [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

[edit]

Other commands

Command line options for SMS daemon (SMSD) are described in SMSD manual. Other are:

--displaysms ... (options like in sendsms)

--addsmsfolder name

--getsmsc start [stop]

Get specified SMS Center(s) info from SIM card (number, name and so on) and phone memory.

--backupsms file

Backup option for SMS.

--restoresms file

Restore option for SMS.

--addsms folder file

Add SMS from backup file into specified SMS folder.

--nokiagett9

This option should display T9 dictionary content from DCT4 phones.

[edit]

Phonebook memories (phonebook, calls history and others)

[edit]

Memory Types

[edit]

Commands to get contents of memory

--getmemory DC|MC|RC|ON|VM|SM|ME|FD start [stop [-nonempty]]
Note: Memory locations are numbered from 1

--getallmemory DC|MC|RC|ON|VM|SM|ME|FD

--searchmemory text

--listmemorycategory text|number

--getspeeddial start [stop]

--getcategory TODO|PHONEBOOK start [stop]

--getallcategory TODO|PHONEBOOK

[edit]

Other commands

Command line options for sending phonebook entries over SMS are described in SMS manual.

Command line options for making backup, restore and adding new entries and described in Backup manual.

--savefile VCARD10|VCARD21 target.vcf file SM|ME location

Read phonebook location from backup file created using --backup and saves it as VCF (VCARD) file

[edit]

Filesystem

These commands are provided for manupulating phone memory/memory card filesystem. Currently there are supported filesystems in Nokia Series 40 phones (at least versions 1.0 and 2.0 in DCT4/TIKU devices) and OBEX filesystem.

--getfilesystemstatus

--getfilesystem [-flatall|-flat]

Display info about all folders and files in phone memory/memory card. By default there is tree displayed, you can change it:

--getfilefolder ID1, ID2, ...

--addfolder parentfolderID name

--deletefolder name

--getfolderlisting folderID

Display files and folders available in folder with given folderID. You can get ID's using --getfilesystem -flatall.

--getrootfolders

Display info about drives available in phone/memory card.

--setfileattrib folderID [-system] [-readonly] [-hidden] [-protected]

--getfiles ID1, ID2, ...

--addfile folderID name [-type JAR|BMP|PNG|GIF|JPG|MIDI|WBMP|AMR|3GP|NRT] [-readonly] [-protected] [-system] [-hidden] [-newtime]

--deletefiles fileID

--nokiaaddfile Application|Game file [-readonly] [-overwrite]

--nokiaaddfile Gallery|Gallery2|Camera|Tones|Tones2|Records|Video|Playlist|MemoryCard file [-name name] [-protected] [-readonly] [-system] [-hidden] [-newtime]

[edit]

Logos and pictures

[edit]

Commands to get logos from phone

--getbitmap STARTUP [file]

--getbitmap CALLER location [file]

--getbitmap OPERATOR [file]

--getbitmap PICTURE location [file]

--getbitmap TEXT

--getbitmap DEALER

[edit]

Commands to write logos to phone

--setbitmap STARTUP file|1|2|3

--setbitmap COLOURSTARTUP [fileID]

--setbitmap WALLPAPER fileID

--setbitmap CALLER location [file]

--setbitmap OPERATOR [file [netcode]]

--setbitmap COLOUROPERATOR [fileID [netcode]]

--setbitmap PICTURE file location [text]

--setbitmap TEXT text

--setbitmap DEALER text

[edit]

Commands to converting logos from one type to another

--copybitmap inputfile [outputfile [OPERATOR|PICTURE|STARTUP|CALLER]]

Converts one type of logo files to another. When only input-file is given, output will be written to stdout using ASCII art. When output file and format are given, in some file formats (like NLM) an indicator will be set informing you about the logo type which will be output.

[edit]

Other commands

Command line options for sending logos over SMS are described in SMS section.

[edit]

Ringtones

Command line options for sending ringtones over SMS are described in SMS section.

Command line options for making backup, restore are described in Backup section.

--playringtone file

Play aproximation of ringtone over phone buzzer.

--playsavedringtone number

--getringtone location [file]

Get ringtone from phone in RTTL or BINARY format. Locations are numbered from 1.

--getphoneringtone location [file]

--getringtoneslist

--setringtone file [-location location][-scale][-name name]

Set ringtone in phone. When you don’t give the location, it will be written "with preview" (in phones supporting this feature like61xx or 6210). When using RTTL ringtones, giving location and using -scale, scale info will be written with each note. It will avoid possible scale problems during editing the ringtone in composer from phone menu (e.g., in N33xx).

Tip: when you use the ~ char in the ringtone name, with some phones (like 33xx), the name will blink in the phone menus

--nokiacomposer file

Shows how to enter RTTL ringtone in the composer found in many Nokia phones (and what it should it look like).

--copyringtone source destination [RTTL|BINARY]

[edit]

Calendar notes

In Nokia 3310, 3315 and 3330 these are named "Reminders" and have some limitations (depending on phone firmware version).

Command line options for sending calendar notes over SMS are described in SMS section.

Command line options for making backup, restore are described in Backup section.

--getcalendarsettings

--deletecalendar start [stop]

--getallcalendar

--getcalendar start [stop]

--savefile CALENDAR target.vcs file location

[edit]

ToDo lists

--getalltodo

--listtodocategory text|number

--gettodo start [stop]

--deletetodo start [stop]

--getcategory TODO|PHONEBOOK start [stop]

--getallcategory TODO|PHONEBOOK

--savefile TODO target.vcs file location

[edit]

Notes

--getallnotes

[edit]

Date, time and alarms

--getdatetime

Get the date and time from the phone

--setdatetime

Set the date and time in the phone to the date and time set in the computer.

Note: this option doesn’t show the clock on phone screen. It only sets the date and time.

--getalarm

Get the alarm from the phone

--setalarm hour minute

[edit]

Backing up and restoring phone data

--savefile CALENDAR target.vcs file location

--savefile TODO target.vcs file location

--savefile VCARD10|VCARD21 target.vcf file SM|ME location

--savefile BOOKMARK target.url file location

--backup file [-yes]
Backup your phone to file. Depending on the phone, it’s possible to backup:

The items being backed up depend on the extension of the file name you provide. The extensions handled in a special way are as follows:

when you use text backup files. List can be extended on request.
Tip: if you backup settings to a Gammu text file, it will be possible to edit it. It’s easy - many things in this file will be written twice, once in Unicode, once in ASCII. When you remove the Unicode version Gammu will use the ASCII one on --restore (you can easily edit the ASCII text) and will convert it according to the locale set in your computer. When the Unicode version of the text is available, it will be used instead of the ASCII version. This is useful with Unicode phones - it isn’t important, what locale is set in the computer and no conversion Unicode -> ASCII and ASCII -> Unicode is done.

Tip: you can use any editor with regular expressions function to edit backup text file. E.g., TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. A few examples:

FROM: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
TO:
Find:    Type    =   NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Repl: Type = NumberMobile\nEntry\1Text = "\+3620
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile0ntry1Text = "\+36\2\3"\n

--backupsms file

--restore file
Restore settings from a file created using the --backup option.
All things backed up by --backup can be restored (when backup is made to Gammu text file).
In some phones restoring calendar notes will not show an error, but restoring it won’t be done when phone's clock isn't set.

--addnew file

--restoresms file

--addsms folder file

[edit]

Specific to Nokia phones

--getgprspoint start [stop]

--nokiagetoperatorname
6110.c phones have a space for the name for one GSM network (of course, with flashing it’s possible to change all names, but Gammu is not a flasher ;-)). You can get this name using this option.

--nokiasetoperatorname [networkcode name]

--nokiadisplayoutput

--nokianetmonitor test

Takes output or set netmonitor for Nokia DCT3 phones.

Tip: For more info about this option, please visit http://www.mwiacek.com and read netmonitor manual.

Tip: test 243 enables all tests (after using the command gammu --nokianetmonitor 243 in some phones like 6210 or 9210 you have to reboot them to see netmonitor menu)

--nokianetmonitor36 Reset counters from netmonitor test 36 in Nokia DCT3 phones.

Tip: For more information about this option, please visit http://www.mwiacek.com and read the netmonitor manual.

--nokiadebug filename [[v11-22][,v33-44]...]

--nokiasetvibralevel level
Set the vibrator level - given in percent.

--nokiagetvoicerecord location
Get a voice record from the specified location and write it to a WAV file. This file is encoded using the GSM 6.10 codec (available, for example, in win32). The file name is taken from the name of the voice record stored in the phone.

--nokiasetlights keypad|display|torch on|off

--nokiatuneradio

--nokiamakecamerashoot

--nokiagetscreendump

--nokiavibratest

--nokiagett9

--nokiadisplaytest number

--nokiagetadc

--nokiasecuritycode
Get/reset the security code to "12345"

--nokiaselftests
Perform tests for Nokia DCT3 phones.
Note: EEPROM test can show an error when your phone has an EEPROM in flash (like 82xx/7110/62xx/33xx). The clock test will show an error when the phone doesn’t have an internal battery for the clock (like 3xxx).

--nokiasetphonemenus
Enable all(?) possible menus for DCT3 Nokia phones:

  1. ALS (Alternative Line Service) option menu
  2. vibra menu for 3210
  3. 3315 features in 3310 5.45 and higher
  4. two additional games (React and Logic) for 3210 5.31 and higher
  5. WellMate menu for 6150
  6. NetMonitor

and for DCT4:

  1. ALS (Alternative Line Service) option menu
  2. Bluetooth, WAP bookmarks and settings menu, ... (6310i)
  3. GPRS Always Online
[edit]

Specific to Siemens phones

--siemenssatnetmon

--siemensnetmonact netmon_type (1-full, 2-simple)

--siemensnetmonitor test

[edit]

Network

--monitor [times]
Gets the phone status and writes it continuously to standard output.
Press Ctrl+C to exit the monitor.

--setautonetworklogin

--listnetworks [country]
Show names/codes of GSM networks known to Gammu

--getgprspoint start [stop]

--networkinfo

--siemenssatnetmon

--siemensnetmonact netmon_type (1-full, 2-simple)

--siemensnetmonitor test

--nokiagetoperatorname
6110.c phones have a space for the name for one GSM network (of course, with flashing it’s possible to change all names, but Gammu is not a flasher ;-)). You can get this name using this option.

--nokiasetoperatorname [networkcode name]

--nokianetmonitor test
Takes output or set netmonitor for Nokia DCT3 phones.
Tip: For more info about this option, please visit
http://www.mwiacek.com and read netmonitor manual.
Tip: test 243 enables all tests (after using the command

gammu --nokianetmonitor 243

in some phones like 6210 or 9210 you have to reboot them to see netmonitor menu)

--nokiadebug filename [[v11-22][,v33-44]...]

[edit]

WAP settings and bookmarks

--deletewapbookmark start [stop]

Delete WAP bookmark(s) from phone. Locations are numbered from 1.

--getwapbookmark start [stop]

Get WAP bookmark(s) from phone. Locations are numbered from 1.

--getwapsettings start [stop]

Get WAP settings from phone. Locations are numbered from 1.

--getsyncmlsettings start [stop]

--getchatsettings start [stop]

--savefile BOOKMARK target.url file location

--backup file [-yes]

--restore file

--addnew file

--clearall

[edit]

MMS and MMS settings

--getmmssettings start [stop]

--savemmsfile file [-subject text][-text text]

[edit]

FM radio

--getfmstation start [stop]
Show info about FM stations in phone

--backup file [-yes]
See
Backup commands

--restore file
See Backup commands

--addnew file

--clearall

--nokiatuneradio

[edit]

Phone information

--identify
Shows the most important phone data.

--getdisplaystatus

--monitor [times]
Gets phone status and writes it continuously to standard output. Press Ctrl+C to quit the monitor.

--getsecuritystatus
Shows whether the phone requires a security code to be entered (like PIN, PUK, etc).

--nokiasecuritycode
Allows you to enter a security code from the computer.

[edit]

Phone settings

--resetphonesettings PHONE|DEV|UIF|ALL|FACTORY

--savesms PROFILE [-folder id][-unread][-read][-unsent][-sent][-sender number][-smscset number][-smscnumber number][-reply][-maxsms num][-name name][-bitmap bitmap][-ringtone ringtone]

--sendsms PROFILE destination [-report][-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX][-save [-folder number][-smscset number][-smscnumber number][-reply][-maxsms num][-name name][-bitmap bitmap][-ringtone ringtone]

--getcalendarsettings

--getprofile start [stop]

[edit]

Commands that don't fit anywhere else

--version
Output version information and exit.

--smsd FILES configfile
Act as SMS Daemon. See
smsdrc config file for more options.

--sendsmsdsms TEXT|WAPSETTINGS|... destination FILES|MYSQL configfile ...(options like in sendsms)

--reset SOFT|HARD
Make phone reset: soft (without asking for PIN) or hard (with PIN).

--entersecuritycode PIN|PUK|PIN2|PUK2 code
Allow entry of security code from the computer.

--presskeysequence mMnNpPuUdD+-123456789*0#gGrRwW
Press specified key sequence on phone keyboard, where
mM = Menu
nN = Names key
pP = Power
uU = Up
dD = Down
+- = +-
gG = Green
rR = Red
123456789*0# is numeric keyboard

--searchphone [-debug]

Retrieved from "http://www.gammu.org/wiki/index.php?title=Gammu:Full_reference_manual"