:pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
[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.1  2001/11/25 21:59:13  short
21   :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
22
23   Revision 1.2  2001/11/15 12:12:34  pkot
24   7110 and 6110 series phones introduce as Nokia
25
26   Revision 1.1  2001/02/21 19:57:07  chris
27   More fiddling with the directory layout
28
29   Revision 1.1  2001/02/16 14:29:53  chris
30   Restructure of common/.  Fixed a problem in fbus-phonet.c
31   Lots of dprintfs for Marcin
32   Any size xpm can now be loaded (eg for 7110 startup logos)
33   nk7110 code detects 7110/6210 and alters startup logo size to suit
34   Moved Marcin's extended phonebook code into gnokii.c
35
36   Revision 1.1  2001/02/01 15:19:41  pkot
37   Fixed --identify and added Manfred's manufacturer patch
38
39
40 */
41
42 #include <string.h>
43
44 #include "gsm-common.h"
45 #include "phones/nokia.h"
46
47
48 /* This function provides a way to detect the manufacturer of a phone */
49 /* because it is only used by the fbus/mbus protocol phones and only */
50 /* nokia is using those protocols, the result is clear. */
51 /* the error reporting is also very simple */
52 /* the strncpy and PNOK_MAX_MODEL_LENGTH is only here as a reminder */
53
54 GSM_Error PNOK_GetManufacturer(char *manufacturer)
55 {
56         strcpy (manufacturer, "Nokia");
57         return (GE_NONE);
58 }