/*
+ $Id$
+
G N O K I I
A Linux/Unix toolset and driver for Nokia mobile phones.
+ Copyright (C) 1999, 2000 Hugh Blemings & Pavel JanÃk ml.
+
Released under the terms of the GNU GPL, see file COPYING for more details.
Header file for GSM networks.
-*/
+ $Log$
+ Revision 1.1.1.3 2002/04/03 00:08:19 short
+ Found in "gnokii-working" directory, some November-patches version
-#ifndef __gsm_networks_h
-#define __gsm_networks_h
+ Revision 1.5 2001/06/28 00:28:46 pkot
+ Small docs updates (Pawel Kot)
-/* Define enums for RF units. GRF_CSQ asks for units in form used
- in AT+CSQ command as defined by GSM 07.07 */
-typedef enum {
- GRF_Arbitrary,
- GRF_dBm,
- GRF_mV,
- GRF_uV,
- GRF_CSQ,
- GRF_Percentage
-} GSM_RFUnits;
-/* This structure is used to get the current network status */
+*/
-typedef struct {
- char NetworkCode[10]; /* GSM network code */
- char CellID[10]; /* CellID */
- char LAC[10]; /* LAC */
-} GSM_NetworkInfo;
+#ifndef __gsm_networks_h
+#define __gsm_networks_h
/* This type is used to hold information about various GSM networks. */
typedef struct {
- char Code[9+1]; /* GSM network code */
- char Name[50]; /* GSM network name */
+ char *Code; /* GSM network code */
+ char *Name; /* GSM network name */
} GSM_Network;
/* This type is used to hold information about various GSM countries. */
char *GSM_GetCountryName(char *CountryCode);
char *GSM_GetCountryCode(char *CountryName);
-void EncodeNetworkCode(unsigned char* buffer, unsigned char* output);
-void DecodeNetworkCode(unsigned char* buffer, unsigned char* output);
-
#endif /* __gsm_networks_h */