gammu

Autres langues

Langue: cs

Version: Březen 23, 2009 (fedora - 06/07/09)

Section: 1 (Commandes utilisateur)

JMÉNO

Gammu - Provádí různé zajímavé věci s vaším mobilním telefonem nebo modemem.

SYNTAXE

Použití: gammu [parametry] <příkaz> [volby]

POPIS

Tento program pracuje s mobilními telefony. Podporováno je mnoho výrobců, pro aktuální seznam se podívejte na <http://cz.cihar.com/gammu/phonedb/>.

PARAMETRY

Parametry před příkazem upravují chování gammu:
-c / --config <soubor> ... jméno konfiguračního souboru
-s / --section <číslokonf> ... číslo konfigurace, která se má použít, např. 42
-d / --debug <úroveň> ... ladicí úroveň (v gammurc(5) jsou popsány možné hodnoty)
-f / --debug-file <soubor> ... soubor pro zapisování ladicích zpráv

Příkazy

Příkazy mohou být zadány s i bez úvodního --.

Hovory

answercall [ID]
Přijmout příchozí hovor.
cancelcall [ID]
Zrušit příchozí hovor.
canceldiverts
conferencecall ID
dialvoice number [show|hide]
Začne hlasový hovor prostřednictvím linky nastavené na SIM kartě.
divert get|set all|busy|noans|outofreach all|voice|fax|data [number timeout]
getspeeddial start [stop]
getussd code
holdcall ID
maketerminatedcall number length [show|hide]
Začne hlasový hovor prostřednictvím linky nastavené na SIM kartě, který bude ukončen po length sekundách.
monitor [times]
Periodicky zobrazuje informace o stavu telefonu. Program přerušíte stisknutím Ctrl+C.
senddtmf sequence
Přehraje DTMF tóny. V některých telefonech je toto k dispozici jen během hovoru.
splitcall ID
switchcall [ID]
transfercall [ID]
unholdcall ID

SMS a EMS

Posílání zpráv může na první pohled vypadat komplikovaně. Ale buďte trpěliví, parametry byly navrženy tak, aby umožňovaly téměř libovolné použití. V části PŘÍKLAD naleznete některé ukázky posílání zpráv.

addsms folder file [-yes]
Přidá SMS zprávy ze souboru (formát jako používá backupsms) do zvolené složky v telefonu.
addsmsfolder name
backupsms file [-yes|-all]
Uloží všechny SMS z telefonu do souboru.

Use -yes for answering yes to all questions (backup all messages and delete them from phone), or -all to just backup all folders while keeping messages in phone.

deleteallsms folder
Odstraní všechny SMS ze zadané složky.
deletesms folder start [stop]
Ostraní SMS z telefonu. Popis zadávání umístění a složek v telefonu naleznete u getsms.

Umístění číslujte od 1.

displaysms ... (options like in sendsms)

Zobrazí PDU data zakódované SMS zprávy. Používá stejné parametry a chová se stejně jako sendsms.

getallsms -pbk
Get all SMS from phone. In some phones you will have also SMS templates and info about locations used to save Picture Images. With each sms you will see location. If you want to get such sms from phone alone, use gammu getsms 0 location
geteachsms -pbk
Podobné jako getallsms, jen dlouhé zprávy budu spojeny a dekódovány dohromady.
getsms folder start [stop]
Načte SMS.

Umístění číslujte od 1.

When give folder 0, sms 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.

getsmsc [start [stop]]
Načte nastavení SMS zpráv ze SIM karty.

Umístění číslujte od 1.

getsmsfolders
Načte s telefonu názvy složek se zprávami.
nokiagett9
restoresms file [-yes]
Restores SMSes from file (format like backupsms uses) to selected folder in phone. Please note that this overwrites existing messages in phone (if it supports it).
savesms VCARD10|VCARD21 file SM|ME location [-nokia] [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte kontakt ze zálohy (formáty jaké vytváří funkce backup) a uloží ho do telefonu jako SMS ve formátu VCARD 1.0.
savesms ANIMATION frames file1 file2... [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms BOOKMARK file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte WAP záložky ze souboru vytvořeného příkazem backup a uloží je ve formátu Nokie jako SMS
savesms CALENDAR file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte kalendář ze zálohy (formáty jaké vytváří funkce backup) a uloží ho do telefonu jako SMS ve formátu VCALENDAR 1.0.
savesms CALLER file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Uloží logo volajícího jako SMS (formát pro Nokia - velikost 72x14).
savesms EMS [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-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]

Uloží EMS zprávu. Všechny parametry uvedené za -unread (například -defsound) mohou být použity opakovaně.

-text - přidá text

-unicodefiletext - přidá text ze souboru v unicode

-defanimation - adds default animation with ID specified by user.ID for different phones are different.

-animation - adds "frames" frames read from file1, file2, etc.

-defsound - adds default sound with ID specified by user. ID for different phones are different.

-tone10 - adds IMelody version 1.0 read from RTTL or other compatible file

-tone10long - IMelody version 1.0 saved in one of few SMS with UPI. Phones compatible with UPI (like SonyEricsson phones) will read such ringtone as one

-tone12 - adds IMelody version 1.2 read from RTTL or other compatible file

-tone12long - IMelody version 1.0 saved in one of few SMS with UPI. Phones compatible with UPI (like SonyEricsson phones) will read such ringtone as one

-toneSE - adds IMelody in "short" form supported by SonyEricsson phones

-tone10long - SonyEricsson IMelody saved in one or few SMS with UPI

-variablebitmap - bitmap in any size saved in one SMS

-variablebitmaplong - bitmap with maximal size 96x128 saved in one or few sms

-fixedbitmap - bitmap 16x16 or 32x32

-protected - all ringtones and bitmaps after this parameter (excluding default ringtones and logos) will be "protected" (in phones compatible with ODI like SonyEricsson products it won't be possible to forward them from phone menu)

Příklad: gammu savesms EMS -text "Pozdrav" -defsound 1 -text "od Gammu" -tone10 axelf.txt -animation 2 file1.bmp file2.bmp

vytvoří EMS zprávu s textem "Pozdrav", předdefinovaným zvukem 1, textem "od Gammu", vyzvánění axelf.txt a animací o dvou obrázcích složených ze souborů 1.bmp a 2.bmp

Příklad: gammu savesms EMS -protected 2 -variablebitmaplong ala.bmp -toneSElong axelf.txt -toneSE ring.txt

ala.bmp a axelf.txt budouch "chráněné"

savesms MMSINDICATOR URL Title Sender [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms MMSSETTINGS file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms OPERATOR file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-netcode netcode] [-biglogo]
Save operator logo as sms (Nokia format - size 72x14 or 78x21 after using -biglogo).
savesms PICTURE file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-text text] [-unicode] [-alcatelbmmi]
Save Picture Image as sms (Nokia format - size 72x28).
savesms PROFILE [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-name name] [-bitmap bitmap] [-ringtone ringtone]
Read ringtone (RTTL) format and bitmap (Picture Image size) and name and save as Nokia profile.
savesms RINGTONE file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-long] [-scale]
Read RTTL ringtone from file and save as SMS into SIM/phone memory. Ringtone is saved in Nokia format.

-folder number - uloží do zadané složky

Složky číslujte od 1.

Nejčastěji složka je 1 = "Přijaté", 2 = "Odeslané", atd.

-unread - makes message unread. In some phones (like 6210) you won't see unread sms envelope after saving such sms. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used

-read - makes message read. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used -unsent - makes message unsent

-reply - reply SMSC is set

-sender number - nastaví číslo odesílatele

-flash - SMS třídy 0 (zobrazení jen na displej)

-smscset number - číslo centra zpráv (SMSC) bude načteno ze zadané pozice v telefonu. Výchozí je 1

-smscnumber number - číslo centra zpráv (SMSC)

-long - ringtone is saved using Profile style. It can be longer (and saved in 2 SMS), but decoded only by newer phones (like 33xx)

-scale - ringtone will have Scale info for each note. It will allow to edit it correctly later in phone composer (for example, in 33xx)

savesms SMSTEMPLATE [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-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 TEXT [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-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] [-text msgtext] [-textutf8 msgtext]
Take text from stdin (or commandline if -text specified) and save as text SMS into SIM/phone memory.

-folder number - uloží do zadané složky

Složky číslujte od 1.

The most often folder 1 = "Inbox", 2 = "Outbox",etc. Use getsmsfolders to get folder list.

-unread - makes message unread. In some phones (like 6210) you won't see unread sms envelope after saving such sms. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used

-read - makes message read. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used

-unsent - označí zprávu jako neodeslanou

-reply - reply SMSC is set

-sender number - set sender number (default: "Gammu")

-flash - SMS třídy 0 (zobrazení jen na displej)

-smscset number - číslo centra zpráv (SMSC) bude načteno ze zadané pozice v telefonu. Výchozí je 1

-smscnumber number - číslo centra zpráv (SMSC)

-len len - specify, how many chars will be read. When use this option and text will be longer than 1 SMS, will be splitted into more linked SMS

-autolen len - specify, how many chars will be read. When use this option and text will be longer than 1 SMS, will be splitted into more linked SMS.Coding type (SMS default alphabet/Unicode) is set according to input text

-enablevoice | -disablevoice | -enablefax | -disablefax | -enableemail | -disableemail - nastaví tyto indikátory. Text bude zkrácen na jednu SMS.

-voidsms - many phones after receiving it won't display anything, only beep, vibrate or turn on light. Text will be cut to 1 sms.

-unicode - SMS bude uložena v unicode.

-inputunicode - zadaný text je v Unicode.

-text - načte text z příkazové řádky místo standardního vstupu.

-textutf8 - načte text v UTF-8 z příkazové řádky místo standardního vstupu.

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

-replacemessages ID - ID can be 1..7. When you will use option and send more single SMS to one recipient with the same ID, each another SMS will replace each previous with the same ID

-replacefile file - when you want, you can make file in such format: src_unicode_char1, dest_unicode_char1, src_unicode_char2, dest_unicode_char2 (everything in one line). After reading text for SMS from stdin there will be made translation and each src char will be converted to dest char. In docs there is example file (replace.txt), which will change all "a" chars to "1"

TIP: when use ~ char in sms text and -unicode option (Unicode coding required), text of sms after ~ char will blink in some phones (like N33xx)

Příklad: echo some_text | gammu savesms TEXT

savesms TODO file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms WAPINDICATOR URL Title [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms WAPSETTINGS file location DATA|GPRS [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte nastavení WAPu ze souboru vytvořeného příkazem backup a uloží je ve formátu Nokie jako SMS.
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]
sendsms ANIMATION destination frames file1 file2... [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms BOOKMARK destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms CALENDAR destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms CALLER destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
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]
sendsms MMSINDICATOR destination URL Title Sender [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms MMSSETTINGS destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
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]
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]
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]
sendsms RINGTONE destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-long] [-scale]
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 ...]
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] [-text msgtext] [-textutf8 msgtext]
sendsms TODO destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms WAPINDICATOR destination URL Title [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
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]

Paměť (kontakty a hovory)

addcategory TODO|PHONEBOOK text
addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

clearall
deleteallmemory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL
Odstraní všechny položky ze zadané paměti.
deletememory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL start [stop]
Odstraní položky v zadaném rozsahu ze zadané paměti.
getallcategory TODO|PHONEBOOK
getallmemory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL
getcategory TODO|PHONEBOOK start [stop]
getmemory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL start [stop [-nonempty]]
Načte položku paměti (kontakt nebo hovor) z telefonu.

Umístění číslujte od 1.

DC = Odchozí hovory
MC = Zmeškané hovory
RC = Přijaté hovory
ON = Vlastní čísla
VM = Hlasová schránka
SM = Kontantky na SIM kartě
ME = Kontakty v telefonu
FD = Pevné předvolby
SL = Log odeslaných SMS zpráv

getspeeddial start [stop]
listmemorycategory text|number
nokiagetpbkfeatures memorytype
restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

savefile VCARD10|VCARD21 target.vcf file SM|ME location
savesms VCARD10|VCARD21 file SM|ME location [-nokia] [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte kontakt ze zálohy (formáty jaké vytváří funkce backup) a uloží ho do telefonu jako SMS ve formátu VCARD 1.0.
searchmemory text
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]

Soubory

addfile folderID name [-type JAR|BMP|PNG|GIF|JPG|MIDI|WBMP|AMR|3GP|NRT] [-readonly] [-protected] [-system] [-hidden] [-newtime]
Add file with specified name to folder with specified folder ID.

-type - file type was required for filesystem 1 in Nokia phones (current filesystem 2 doesn't need this)

-readonly, -protected, -system, -hidden - you can set readonly, protected (file can't be for example forwarded from phone menu), system and hidden (file is hidden from phone menu) file attributes

-newtime - after using it date/time of file modification will be set to moment of uploading

addfolder parentfolderID name
deletefiles fileID
deletefolder name
getfilefolder ID1, ID2, ...
getfiles ID1, ID2, ...
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:

-flatall there are displayed full file/folder details like ID (first parameter in line)

-flat

Please note, that in some phones (like N6230) content of some folders (with more files) can be cut (only part of files will be displayed) for example on infrared connection. This is not Gammu issue, but phone firmware problem.

getfilesystemstatus
getfolderlisting folderID

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

Please note, that in some phones (like N6230) content of some folders (with more files) can be cut (only part of files will be displayed) for example on infrared connection. This is not Gammu issue, but phone firmware problem.

getrootfolders

Display info about drives available in phone/memory card.

nokiaaddfile Gallery|Gallery2|Camera|Tones|Tones2|Records|Video|Playlist|MemoryCard file [-name name] [-protected] [-readonly] [-system] [-hidden] [-newtime]
Install the *.jar/*.jad file pair of a midlet in the application or game menu of the phone. You have to give the name without the jar/jad suffix, otherwise you will get the slightly confusing error message Can't open specified file. Read only ?

The option -overwrite deletes the application's .jad and .jar files bevor installing, but doesn't delete the application data. Option -overwriteall will also delete all data. Both these options work only for Application or Game upload.

Example: gammu nokiaaddfile Application Alien will read Alien.JAD and Alien.JAR and add to Applications

Příklad: gammu nokiaaddfile Tones file.mid načte soubor file.mid a přidá ho do složky Tones

Pro vygenerování jad souboru z jar souboru můžete použít jadmaker(1).

nokiaaddplaylists
sendfile name
setfileattrib folderID [-system] [-readonly] [-hidden] [-protected]

Loga a obrázky

copybitmap inputfile [outputfile [OPERATOR|PICTURE|STARTUP|CALLER]]
Allow to convert logos files to another. When give ONLY inputfile, output will be written to stdout using ASCII art. When give output file and format, in some file formats (like NLM) will be set indicator informing about logo type to given.
getbitmap DEALER
In some models it's possible to save dealer welcome note - text displayed during enabling phone, which can't be edited from phone menu. Here you can get it.
getbitmap CALLER location [file]
Načte logo skupiny z telefonu. Umístění 1-5.
getbitmap OPERATOR [file]
Načte logo operátora (obrázek zobrazený místo jména operátora) z telefonu.
getbitmap PICTURE location [file]
Načte obrázek z telefonu.
getbitmap STARTUP [file]
Načte statické startovací logo z telefonu. Umožní jeho uložení do souboru.
savesms ANIMATION frames file1 file2... [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms CALLER file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Uloží logo volajícího jako SMS (formát pro Nokia - velikost 72x14).
savesms OPERATOR file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-netcode netcode] [-biglogo]
Save operator logo as sms (Nokia format - size 72x14 or 78x21 after using -biglogo).
savesms PICTURE file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-text text] [-unicode] [-alcatelbmmi]
Save Picture Image as sms (Nokia format - size 72x28).
sendsms ANIMATION destination frames file1 file2... [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms CALLER destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
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]
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]
setbitmap CALLER location [file]
Nastaví logo volajícího.
setbitmap COLOUROPERATOR [fileID [netcode]]
setbitmap COLOURSTARTUP [fileID]
setbitmap DEALER text
setbitmap OPERATOR [file [netcode]]
Set operator logo in phone. When won't give file and netcode, operator logo will be removed from phone. When will give only filename, operator logo will be displayed for your current GSM operator. When give additionaly network code, it will be displayed for this operator: gammu setbitmap OPERATOR file "260 02"
setbitmap PICTURE file location [text]
setbitmap STARTUP file|1|2|3
Set startup logo in phone. It can be static (then you will have to give file name) or one of predefined animated (only some phones like Nokia 3310 or 3330 supports it)
setbitmap TEXT text
setbitmap WALLPAPER fileID

Zvonění

addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

clearall
copyringtone source destination [RTTL|BINARY]
Zkopíruje vyzvánění do jiného souboru.
getphoneringtone location [file]

Načte jedno z "výchozích" vyzvánění a uloží ho do souboru

getringtone location [file]
Get ringtone from phone in RTTL or BINARY format.

Umístění číslujte od 1.

getringtoneslist
nokiacomposer file
Show, how to enter RTTL ringtone in composer existing in many Nokia phones (and how should it look like).
playringtone file
Play aproximation of ringtone over phone buzzer. File can be in RTTL or BINARY (Nokia DCT3) format.
playsavedringtone number

Play one of "built" ringtones. This option is available for DCT4 phones. For getting ringtones list use getringtoneslist.

restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

savesms RINGTONE file [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-long] [-scale]
Read RTTL ringtone from file and save as SMS into SIM/phone memory. Ringtone is saved in Nokia format.

-folder number - uloží do zadané složky

Složky číslujte od 1.

Nejčastěji složka je 1 = "Přijaté", 2 = "Odeslané", atd.

-unread - makes message unread. In some phones (like 6210) you won't see unread sms envelope after saving such sms. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used

-read - makes message read. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used -unsent - makes message unsent

-reply - reply SMSC is set

-sender number - nastaví číslo odesílatele

-flash - SMS třídy 0 (zobrazení jen na displej)

-smscset number - číslo centra zpráv (SMSC) bude načteno ze zadané pozice v telefonu. Výchozí je 1

-smscnumber number - číslo centra zpráv (SMSC)

-long - ringtone is saved using Profile style. It can be longer (and saved in 2 SMS), but decoded only by newer phones (like 33xx)

-scale - ringtone will have Scale info for each note. It will allow to edit it correctly later in phone composer (for example, in 33xx)

sendsms RINGTONE destination file [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-long] [-scale]
setringtone file [-location location] [-scale] [-name name]
Set ringtone in phone. When don't give location, it will be written "with preview" (in phones supporting this feature like 61xx or 6210). When use RTTL ringtones, give location and use -scale, there will be written scale info with each note. It will avoid scale problems available during editing ringtone in composer from phone menu (for example, in N33xx).

TIP: when use ~ char in ringtone name, in some phones (like 33xx) name will blink later in phone menus

Kalendář

addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

clearall
deletecalendar start [stop]
getallcalendar
getcalendar start [stop]
getcalendarsettings
restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

savefile CALENDAR target.vcs file location
savesms CALENDAR file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte kalendář ze zálohy (formáty jaké vytváří funkce backup) a uloží ho do telefonu jako SMS ve formátu VCALENDAR 1.0.
sendsms CALENDAR destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

Úkoly

addcategory TODO|PHONEBOOK text
addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

clearall
deletetodo start [stop]
getallcategory TODO|PHONEBOOK
getalltodo
getcategory TODO|PHONEBOOK start [stop]
gettodo start [stop]
listtodocategory text|number
restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

savefile TODO target.vcs file location
savesms TODO file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms TODO destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

Poznámky

getallnotes

Čas, datum a budíky

getalarm [start]
Načte budík z telfonu, pokud není zadáno umístění je použita 1.
getdatetime
Načte datum a čas z telefonu.
setalarm hour minute
Nastaví opakující se budík v telefonu na zadaný čas.
setdatetime [HH:MM[:SS]] [YYYY/MM/DD]
Set date and time in phone to date and time set in computer. Please note, that this option doesn't show clock on phone screen. It only set date and time.

TIP: you can make such synchronization each time, when will connect your phone and use Gammu. See gammurc(5) for details.

Kategorie

addcategory TODO|PHONEBOOK text
addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

clearall
getallcategory TODO|PHONEBOOK
getcategory TODO|PHONEBOOK start [stop]
listmemorycategory text|number
listtodocategory text|number
restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

Záloha a obnovení

addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

addsms folder file [-yes]
Přidá SMS zprávy ze souboru (formát jako používá backupsms) do zvolené složky v telefonu.
backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

backupsms file [-yes|-all]
Uloží všechny SMS z telefonu do souboru.

Use -yes for answering yes to all questions (backup all messages and delete them from phone), or -all to just backup all folders while keeping messages in phone.

restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

restoresms file [-yes]
Restores SMSes from file (format like backupsms uses) to selected folder in phone. Please note that this overwrites existing messages in phone (if it supports it).
savefile VCARD10|VCARD21 target.vcf file SM|ME location
savefile BOOKMARK target.url file location
savefile CALENDAR target.vcs file location
savefile TODO target.vcs file location

Specifické pro Nokii

nokiaaddfile Gallery|Gallery2|Camera|Tones|Tones2|Records|Video|Playlist|MemoryCard file [-name name] [-protected] [-readonly] [-system] [-hidden] [-newtime]
Install the *.jar/*.jad file pair of a midlet in the application or game menu of the phone. You have to give the name without the jar/jad suffix, otherwise you will get the slightly confusing error message Can't open specified file. Read only ?

The option -overwrite deletes the application's .jad and .jar files bevor installing, but doesn't delete the application data. Option -overwriteall will also delete all data. Both these options work only for Application or Game upload.

Example: gammu nokiaaddfile Application Alien will read Alien.JAD and Alien.JAR and add to Applications

Příklad: gammu nokiaaddfile Tones file.mid načte soubor file.mid a přidá ho do složky Tones

Pro vygenerování jad souboru z jar souboru můžete použít jadmaker(1).

nokiaaddplaylists
nokiacomposer file
Show, how to enter RTTL ringtone in composer existing in many Nokia phones (and how should it look like).
nokiadebug filename [[v11-22] [,v33-44]...]
nokiadisplayoutput
nokiadisplaytest number
nokiagetadc
nokiagetoperatorname
6110.c phones have place for name for one GSM network (of course, with flashing it's possible to change all names, but Gammu is not flasher ;-)). You can get this name using this option.
nokiagetpbkfeatures memorytype
nokiagetscreendump
nokiagett9
nokiagetvoicerecord location

Get voice record from location and save to WAV file. File is coded using GSM 6.10 codec (available for example in win32). Name of file is like name of voice record in phone.

nokiamakecamerashoot
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 command gammu nokianetmonitor 243 in some phones like 6210 or 9210 have to reboot them to see netmonitor menu)

nokianetmonitor36
Vynuluje čítače z testu 16 v netmonitoru telefonů Nokia DCT3.

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

nokiasecuritycode
Přečte bezpečnostní kód nebo ho nastaví na "12345".
nokiaselftests
nokiasetlights keypad|display|torch on|off
nokiasetoperatorname [networkcode name]
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
...

nokiasetvibralevel level
Set vibra power to "level" (given in percent)
nokiatuneradio
nokiavibratest

Specifické pro Siemens

siemensnetmonact netmon_type (1-full, 2-simple)
siemensnetmonitor test
siemenssatnetmon

Síť

getgprspoint start [stop]
listnetworks [country]
Zobrazí názvy GSM sítí známých Gammu.
monitor [times]
Periodicky zobrazuje informace o stavu telefonu. Program přerušíte stisknutím Ctrl+C.
networkinfo
nokiadebug filename [[v11-22] [,v33-44]...]
nokiagetoperatorname
6110.c phones have place for name for one GSM network (of course, with flashing it's possible to change all names, but Gammu is not flasher ;-)). You can get this name using this option.
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 command gammu nokianetmonitor 243 in some phones like 6210 or 9210 have to reboot them to see netmonitor menu)

nokiasetoperatorname [networkcode name]
setautonetworklogin
siemensnetmonact netmon_type (1-full, 2-simple)
siemensnetmonitor test
siemenssatnetmon

Nastavení WAPu a záložky

addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

clearall
deletewapbookmark start [stop]
Odstraní WAP záložky z telefonu.

Umístění číslujte od 1.

getchatsettings start [stop]
getsyncmlsettings start [stop]
getwapbookmark start [stop]
Načte WAP záložky z telefonu.

Umístění číslujte od 1.

getwapsettings start [stop]
Načte nastavení WAPu z telefonu.

Umístění číslujte od 1.

restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

savefile BOOKMARK target.url file location
savesms BOOKMARK file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte WAP záložky ze souboru vytvořeného příkazem backup a uloží je ve formátu Nokie jako SMS
savesms WAPINDICATOR URL Title [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms WAPSETTINGS file location DATA|GPRS [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
Načte nastavení WAPu ze souboru vytvořeného příkazem backup a uloží je ve formátu Nokie jako SMS.
sendsms BOOKMARK destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms WAPINDICATOR destination URL Title [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
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]

MMS a jejich nastavení

getallmms [-save]
geteachmms [-save]
getmmsfolders
getmmssettings start [stop]
readmmsfile file [-save]
savesms MMSINDICATOR URL Title Sender [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
savesms MMSSETTINGS file location [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms MMSINDICATOR destination URL Title Sender [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]
sendsms MMSSETTINGS destination file location [-report] [-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [-save [-folder number]] [-smscset number] [-smscnumber number] [-reply] [-maxsms num]

Testy telefonu

nokiadisplaytest number
nokiagetadc
nokiaselftests
nokiasetlights keypad|display|torch on|off
nokiavibratest

FM rádio

addnew file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Tato funkce přidá veškerý obsah zálohy do telefonu a nezajímá se o stávající obsah v telefonu (tedy ani nejsou detekovány duplicity).

backup file [-yes]
Zazálohuje obsah telefonu do souboru. Je možné zálohovat (závisí na telefonu a formátu zálohy):

* kontakty ze SIM karty a z telefonu
* události z kalendáře
* nastavení SMS zpráv
* loga operátora
* úvodní logo a text
* WAP záložky
* nastavení WAPu
* loga volajících a skupiny
* uživatelská vyzvánění

Je podporování několik formátů pro zálohy a formát je určen podle přípony souboru:

* .lmb - Záloha Nokia, podporuje kontakty, loga volajících a uvodní logo.
* .vcs - vCalendar, podporuje kalendář a úkoly.
* .vcf - vCard, podporuje kontakty.
* .ldif - LDAP import, podporuje kontakty.
* .ics - iCalendar, podporuje kalendář a úkoly.
* Jakákoliv jiná přípona je vlastní formát Gammu, který podporuje všechna data zmíněná výše.

TIP: if you will backup settings to Gammu text file, it will be possible to edit it. It's easy: many things in this file will be written double - once in Unicode, once in ASCII. When you will remove Unicode version Gammu will use ASCII on restore (and you can easy edit ASCII text) and will convert it according to your OS locale. When will be available Unicode version of text, it will be used instead of ASCII (usefull with Unicode phones - it isn't important, what locale is set in 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. Example: TextPad 4.2.2 from http://www.textpad.com/ with regular expressions based on POSIX standard P1003.2 is OK for it. Few examples for it:


* to remove info about voice tags:
PŮVODNÍ: ^Entry\([0-9][0-9]\)VoiceTag = \(.*\)\n
NAHRAZENÝ:

* to change all numbers starting from +3620, +3630, +3660, +3670 to +3620
Vyhledat: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\(20\|30\|60\|70\)
Nahraditl: Type = NumberMobile\nEntry\1Text = "\+3620

* to change phone numbers type to mobile for numbers starting from +3620, +3630,... and removing the corresponding TextUnicode line
F: Type = NumberGeneral\nEntry\([0-9][0-9]\)Text = "\+36\([2367]0\)\([^\"]*\)"\nEntry\([0-9][0-9]\)TextUnicode = \([^\n]*\)\n
R: Type = NumberMobile\nEntry\1Text = "\+36\2\3"\n

clearall
getfmstation start [stop]
Zobrazí informace o FM stanicích v telefonu.
nokiatuneradio
restore file [-yes]
Přidá data ze souboru vytvořeného pomocí fuknce backup.

Prosím uvědomte si, že obnovení znamená odstranění dat, která jsou v telefonu obsažena. Pokud chcete jen přidat nové záznamy, použijte addnew.

Některé telefony neobnoví korektně události v kalendáři, pokud v telefonu není nastaven čas a datum.

Informace o telefonu

checkfirmware

Gammu connects to www.gammu.org and checks for latest firmware versions available for the device. The file <http://www.gammu.org/support/phones/phonedbxml.php?model=x> will be downloaded, all phone details will be read from it and (if any higher firmware exist) displayed info to user on each application startup. No private data are sent to server. Internet connection to www.gammu.org on port 80 required.

getdisplaystatus
getsecuritystatus
Zobrazí, jestli telefon čeká na bezpečnostní kód (PIN, PUK a podobně).
identify
Zobrazí základní informace o telefonu.
monitor [times]
Periodicky zobrazuje informace o stavu telefonu. Program přerušíte stisknutím Ctrl+C.
nokiasecuritycode
Přečte bezpečnostní kód nebo ho nastaví na "12345".

Nastavení telefonu

getcalendarsettings
getprofile start [stop]
resetphonesettings PHONE|DEV|UIF|ALL|FACTORY
Obnoví výchozí nastavení telefonu. BUĎTE OPATRNÍ !!!!

PHONE:

DEV:

ALL:

Odstraní uživatelská nastavení
* odstraní nebo obnoví výchozí loga
* obnoví výchozí nastavení kontaktů a menu
* vyprázdní slovník T9
* vymaže informace o hovorech
* obnoví výchozí nastavení profilů
* odstraní uživatelská vyzvánění

UIF:
* změny jako ALL
* vypne netmonitori a další skrytá menu

FACTORY:
* změny jako UIF
* vymaže datum a čas

savesms PROFILE [-folder id] [-unread] [-read] [-unsent] [-sent] [-sender number] [-smsname name] [-smscset number] [-smscnumber number] [-reply] [-maxsms num] [-name name] [-bitmap bitmap] [-ringtone ringtone]
Read ringtone (RTTL) format and bitmap (Picture Image size) and name and save as Nokia profile.
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]

Dekódování výpisů

decodebinarydump file [phonemodel]
After using option logfile with name binary (see /readme.txt for info about this method of reporting bugs) created file can be decoded using this option. It's available only, if Gammu was compiled with debug.
decodesniff MBUS2|IRDA file [phonemodel]
Tato volba je dostupná jen pokud bylo Gammu zkompilováno s ladicím kódem a umožní dekódovat odposlechy komunikace s některými telefony. Více detailů naleznete v docs/develop/develop.txt.
makeconverttable file

Fuknce, které se nevešly jinam

batch [file]
entersecuritycode PIN|PUK|PIN2|PUK2|PHONE|NETWORK code|-
Umožní zadat bezpečností kód z PC. Pokud je jako kód zadáno -, je načten ze standardního vstupu.
nokiagetscreendump
nokiagetvoicerecord location

Get voice record from location and save to WAV file. File is coded using GSM 6.10 codec (available for example in win32). Name of file is like name of voice record in phone.

nokiamakecamerashoot
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
...

nokiasetvibralevel level
Set vibra power to "level" (given in percent)
presskeysequence mMnNpPuUdD+-123456789*0#gGrR<>[]hHcCjJfFoOmMdD@
Simuluje stisk kláves na klávesnici telefonu

mM - Menu
nN - Klávesa pro jména
pP - Vypínač
uU - Nahoru
dD - Dolů
+- - +-
gG - Zelené
rR - Červené
123456789*0# číslicová klávesnice

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

Note: some phones will make hard reset even with SOFT option.

searchphone [-debug]

Informace o Gammu

checkversion [stable]
Zkontroluje jesti není dostupná novější verze Gammu (pro tuto funkci muselo být Gammu zkompilováno s podporou pro CURL). Pokud použijete volitelný parametr stable, budou kontrolovány jen stabilní verze.
features
help
Zobrazí nápovědu a skončí.
version
Zobrazí informace o verzi a skončí.

SOUBORY

~/.gammurc
/usr/share/doc/gammu/*
/dev/ircomm?
/dev/ttyS?
/dev/ttyACM?

PŘÍKLAD

Pro vyzkoušení potřebujete vytvořit konfigurační soubor pro gammu, který je podrobně popsán v gammurc(5).

Uložení standardní textové zprávy s maximální délkou 160 znaků:

echo "All your base are belong to us" | gammu savesms TEXT

nebo

gammu savesms TEXT -text "All your base are belong to us"

Uložení dlouhé textové zprávy:

echo "All your base are belong to us" | gammu savesms TEXT -len 400

nebo

gammu savesms TEXT -len 400 -text "All your base are belong to us"

nebo

gammu savesms EMS -text "All your base are belong to us"

Uložení zprávy s předdefinovaným zvukem a animací ze dvou obrázků:

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

Uložení chráněné zprávy s vyzváněním:

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

Copyright © 2003-2009 Marcin Wiacek, Michal Čihař a další autoři. Licence GPLv2: GNU GPL verze 2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
Tento program je volný software; můžete jej šířit a modifikovat. Není poskytována ŽÁDNÁ ZÁRUKA, v rozsahu jaký je povolen zákonem.

HLÁŠENÍ CHYB

V programu je určitě mnoho chyb a jejich hlášení autorům je vítáno. Prosím nezapomeňte na užitečné informace v hlášení o chybě (obzvlášť užitečné jsou ladicí log, informace o operačním systému, jeho verzi a informace o telefonu).

Pro vytvoření ladicího logu zapněte logování v gammurc (můžete ho také zapnout na příkazové řádce pomocí -d textall -f /tmp/gammu.log):


    [gammu]
    ...vaše nastavení připojení...
    logfile = /tmp/gammu.log
    logformat = textall

S tímto nastavení Gammu vytvoří /tmp/gammu.log při každém připojení k telefonu a uloží do něj obsah komunikace. V tomto logu také mohou být obsaženy rady pro vylepšení podpory pro váš telefon.

Prosím hlašte chyby na <http://bugs.cihar.com>.

AUTOR

Autory můžete kontaktovat na <gammu-users@lists.sourceforge.net>.

Michal Čihař <michal@cihar.com> je v současné době správce projektu a autor většiny kódu pro práci s AT příkazy a OBEXem.

Marcin Wiącek <marcin@mwiacek.com> založil projekt a napsal většinu kódu pro telefony Nokia.

Protože tento projekt vznikl z Gnokii, rádi bychom poděkovali všem vývojářům Gnokii, hlavně Pavlu Janíkovi, Pawolu Kotovi a Manfredu Jonssonovi (v souboru CREDITS v Gnokii najdete kompletní seznam přispěvatelů).

Mnoho dalších lidí pomohlo s různými funkcemi, podívejte se do ChangeLogu pro více podrobností.

DALŠÍ INFORMACE

gammu-smsd(1), gammu-smsd-inject(1), gammurc(5), jadmaker(1)

Nějaké další triky naleznete v souboru README nebo na wiki stránce <http://www.gammu.org/>.

Související programy, které mohou být použity s GSM modemem:

cu(1), gnokii(1), minicom(1)

Grafické nadstavby pro Gammu:

wammu(1), gmobilemedia(1)