Found in "gnokii-working" directory, some November-patches version
[gnokii.git] / common / phones / nokia.c
1 /*
2
3   $Id$
4
5   G N O K I I
6
7   A Linux/Unix toolset and driver for Nokia mobile phones.
8
9   Copyright (C) 2000 Hugh Blemings & Pavel Janík ml.
10   Copyright (C) 2001 Manfred Jonsson
11
12   Released under the terms of the GNU GPL, see file COPYING for more details.
13
14   This file provides useful functions for all phones  
15   See README for more details on supported mobile phones.
16
17   The various routines are called PNOK_(whatever).
18
19   $Log$
20   Revision 1.1.1.2  2002/04/03 00:08:10  short
21   Found in "gnokii-working" directory, some November-patches version
22
23   Revision 1.1  2001/02/21 19:57:07  chris
24   More fiddling with the directory layout
25
26   Revision 1.1  2001/02/16 14:29:53  chris
27   Restructure of common/.  Fixed a problem in fbus-phonet.c
28   Lots of dprintfs for Marcin
29   Any size xpm can now be loaded (eg for 7110 startup logos)
30   nk7110 code detects 7110/6210 and alters startup logo size to suit
31   Moved Marcin's extended phonebook code into gnokii.c
32
33   Revision 1.1  2001/02/01 15:19:41  pkot
34   Fixed --identify and added Manfred's manufacturer patch
35
36
37 */
38
39 #include <string.h>
40
41 #include "gsm-common.h"
42 #include "phones/nokia.h"
43
44
45 /* This function provides a way to detect the manufacturer of a phone */
46 /* because it is only used by the fbus/mbus protocol phones and only */
47 /* nokia is using those protocols, the result is clear. */
48 /* the error reporting is also very simple */
49 /* the strncpy and PNOK_MAX_MODEL_LENGTH is only here as a reminder */
50
51 GSM_Error PNOK_GetManufacturer(char *manufacturer)
52 {
53         strncpy (manufacturer, "Nokia", PNOK_MAX_MANUFACTURER_LENGTH);
54         return (GE_NONE);
55 }