Misc options

From GnokiiWiki

Jump to: navigation, search
Command Line Options


Contents

--keysequence

Emulates pressing keys on phone keyboard. Input is read from stdin.

For details see Keysequence.

Note: this command isn't supported by all phones.

Example:

         echo '123' | gnokii --keysequence

--enterchar

emulates typing a character on phone keyboard.

By emulating multiple pressions of keys, it can input all characters supported by the phone in use, but to input an SMS predictive text should be disabled. Input is read from stdin, with newline interpreted as the "Menu" key and escape interpreted as the "Names" key.

Note: this command isn't supported by all phones.

Example:

         gnokii --enterchar

--listnetworks

Note: this command works also without a phone and without a valid gnokiirc.

Prints a list of cellular network operators with their 3-digits MCC (Mobile country code) and 2-digits MNC (Mobile Network Code).

Example:

         $ gnokii --getnetworkinfo
         GNOKII Version 0.6.25
         Network  Name
         -----------------------------------------
         202 01   Cosmote
         202 05   Vodafone
         202 09   Q-telecom
         202 10   WIND
         204 02   Tele2 Netherlands
         204 04   Vodafone
         204 08   KPN
         204 12   Telfort / O2 (KPN)
         [...]

--getnetworkinfo

Prints information on the network currently in use.

Example:

         $ gnokii --getnetworkinfo
         Network      : name (country)
         Network code : 000 00
         LAC          : fffe
         Cell id      : 00000000

Note: 4 bytes cell identifiers are supported since gnokii 0.6.26

Personal tools