This commit was generated by cvs2svn to compensate for changes in r158,
[gnokii.git] / common / gsm-networks.c
index 4101a38..1a72427 100644 (file)
@@ -1,20 +1,29 @@
 /*
 
+  $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.
        
   This file implements GSM networks searching.
 
+  $Log$
+  Revision 1.1.1.8  2002/04/03 00:07:56  short
+  Found in "gnokii-working" directory, some November-patches version
+
+  Revision 1.14  2001/06/28 00:28:45  pkot
+  Small docs updates (Pawel Kot)
+
+
 */
 
 #include <string.h>
-
-#include "gsm-common.h"
 #include "gsm-networks.h"
-#include "gsm-coding.h"
 
 GSM_Country GSM_Countries[] =
 {
@@ -268,50 +277,19 @@ GSM_Network GSM_Networks[] =
   { "340 01", "AMERIS" },
   { "400 01", "AZERCELL GSM" },
   { "400 02", "Bakcell GSM 2000" },
-
-  { "404 01", "AIRCELL"},
-  { "404 02", "Evergrowth"},
-  { "404 03", "Bharthi Telenet"},
-  { "404 05", "Fascel"},
-  { "404 07", "Tata Cell"}, //TATA Cellular
-  { "404 08", "Koshika"},
-  { "404 09", "Reliance"},
-  { "404 10", "AIRTEL"}, //AirTel
-  { "404 11", "Essar"}, //Essar Cellphone
-  { "404 12", "Escotel"},
-  { "404 14", "Spice"}, //Modicom
-  { "404 15", "AIRCELL"}, //Essar Cellphone
-  { "404 18", "Reliance"},
-  { "404 19", "Escotel"},
-  { "404 20", "Orange"}, //Max Touch
-  { "404 21", "BPL Mobile"}, //BPL - Mobile
-  { "404 22", "Birla AT&T"},
-  { "404 24", "Birla AT&T"},
-  { "404 26", "Koshika"},
-  { "404 27", "BPL Mobile"}, //BPL USWEST Cellular
-  { "404 30", "Usha"}, //Command
-  { "404 31", "AIRCELL"}, //?
-  { "404 31", "Command"}, //?
-  { "404 32", "Koshika"},
-  { "404 34", "Koshika"},
-  { "404 36", "Reliance"},
-  { "404 40", "SkyCell"},
-  { "404 41", "RPG"}, //RPG Cellular
-  { "404 42", "AIRCELL"}, //AIRCEL
-  { "404 43", "BPL Mobile"},
-  { "404 44", "Spice"},
-  { "404 45", "AIRTEL-blr"},
-  { "404 46", "BPL Moibile"},
-  { "404 49", "AIRTEL"},
-  { "404 50", "Reliance"},
-  { "404 52", "Reliance"},
-  { "404 56", "Escotel"},
-  { "404 60", "AIRCELL"},
-  { "404 67", "Reliance"},
-  { "404 70", "Hexacom"},
-  { "404 78", "RPG"},
-  { "404 85", "Reliance"},
-
+  { "404 07", "TATA Cellular" },
+  { "404 10", "AirTel" },
+  { "404 11", "Essar Cellphone" },
+  { "404 12", "Escotel" },
+  { "404 14", "Modicom" },
+  { "404 15", "Essar Cellphone" },
+  { "404 20", "Max Touch" },
+  { "404 21", "BPL - Mobile" },
+  { "404 27", "BPL USWEST Cellular" },
+  { "404 30", "Command" },
+  { "404 40", "SkyCell" },
+  { "404 41", "RPG Cellular" },
+  { "404 42", "AIRCEL" },
   { "410 01", "Mobilink" },
   { "413 02", "DIALOG GSM" },
   { "415 01", "CELLIS" },
@@ -465,18 +443,3 @@ char *GSM_GetCountryCode(char *CountryName)
 
   return GSM_Countries[index].Code;
 }
-
-void EncodeNetworkCode(unsigned char* buffer, unsigned char* output)
-{
-    EncodeBCD (buffer, output, 6, false);
-    buffer[1]=buffer[1] | 0xf0;
-}
-
-void DecodeNetworkCode(unsigned char* buffer, unsigned char* output)
-{
-    DecodeBCD (output, buffer, 3);
-    output[6]=output[5];
-    output[5]=output[4];
-    output[4]=output[3];
-    output[3]=' ';
-}