7 A Linux/Unix toolset and driver for Nokia mobile phones.
9 Copyright (C) 2000 Hugh Blemings & Pavel JanÃk ml.
10 Copyright (C) 2001 Manfred Jonsson
12 Released under the terms of the GNU GPL, see file COPYING for more details.
14 This file provides useful functions for all phones
15 See README for more details on supported mobile phones.
17 The various routines are called PNOK_(whatever).
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
23 Revision 1.2 2001/11/15 12:12:34 pkot
24 7110 and 6110 series phones introduce as Nokia
26 Revision 1.1 2001/02/21 19:57:07 chris
27 More fiddling with the directory layout
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
36 Revision 1.1 2001/02/01 15:19:41 pkot
37 Fixed --identify and added Manfred's manufacturer patch
44 #include "gsm-common.h"
45 #include "phones/nokia.h"
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 */
54 GSM_Error PNOK_GetManufacturer(char *manufacturer)
56 strcpy (manufacturer, "Nokia");