Get network code

Given a network name and a country name, this prints the corresponding MCC and MNC or "undefined" if the name is not found.
Both network (operator) and country name are case insensitive, but you need to type them exactly as you find them in libgnokii (use gnokii --listnetworks to see all network names known by libgnokii and please report to the gnokii mailing list if you find errors or omissions).

Examples:

$ network_code vodafone italy
222 10
$ network_code vodafone germany
262 02

Source code:

GSM Networks List

Note: an updated list is available here.

This is the list of GSM networks known by gnokii and libgnokii version 0.6.14 shown using Drupal collapsible class.

Connection Types Supported by libgnokii

The ./configure script automatically enables those connection types for which it can find the needed libraries and/or include files, but up to version 0.6.14 the config file parse routines wouldn't know which connection types were actually compiled.

These are all the connection types known to libgnokii (all names must be lowercase in gnokiirc):

  • bluetooth *
  • dau9p
  • dku2
  • dku2libusb *
  • dku5
  • dlr3p
  • infrared *
  • irda *
  • m2bus
  • serial
  • tcp **
  • tekram

* automatically enabled at configure time if all dependencies are satisfied
** not available on WIN32 builds

If you have written a program using libgnokii and you wish to know if a given connection is available you can use gn_get_connectiontype(), or you can use gn_lib_get_supported_connection() to get all supported connection types.
Note: this works with libgnokii version 0.6.15 or later.

I've written a small program to be used in scripts to check if a given connection is available.

Example:

conn=bluetooth; get_supported_connection $conn || echo "Sorry $conn is not compiled in your libgnokii"

C source follows:

Nomi delle memorie per gnokii

In genere sui telefoni più recenti i numeri di telefono possono essere salvati sulla SIM (memoria "SM") o sul telefono (memoria "ME"), ma alcuni modelli permettono di leggere tramite il computer solo i numeri salvati sul telefono (come il Nokia 6021, il cui manuale suggerisce di copiare i numeri dalla SIM al telefono se si vogliono leggere con il computer, 100 Euro di telefono, bah...)
Gli SMS sono salvati sulla SIM (memoria "SM") o sul telefono (memoria "IN").
Questo è l'elenco completo delle memorie riconosciute da gnokii, ma la maggior parte dei telefoni accetta solo pochi tipi di memorie.

gnokii memory names

Some phones support only reading the phonebook from phone memory "ME" and not from SIM card "SM".
Short messages can be read from SIM card memory "SM" or from phone memory ("ME" or "IN", depending on the phone).
Here is the full list of memory names.

Syndicate content