1. Scope
The library provides functions for fetching various informations about
the Nokia devices. The library builds on top of libisi, therefore
in order to build the package the libisi-dev package must be installed first.

2. Documentation
Doxygen style documentation is used througout the code for the API 
documentation.

3. Building the debian package
Execute the following command from the top directory where the sources are 
stored:

dpkg-buildpackage -rfakeroot

The debian package can be built for the x86 environment, or the phone target
in the scratchbox environment.

4. Use case for the library
In the tools directory there is a command line application that makes use of 
the libphinfo library. The tool displays various informations about the device.
Note that the application can be compiled for both, phone ARM target and 
desktop (x86) environment (for use with USB phonet link) with no changes.

In order to compile your application that uses libphinfo, first the package 
containing the ISI header files (e.g.:cellmo-rnd-headers), libisi-dev and 
libphinfo-dev packages have to be installed. In the next lines an example 
shell script is given showing how to get the compiler and linker flags in order 
to build own application using the libphinfo library.

----------------------------------------------------------------------------------------------------
#!/bin/sh
#
# make.sh file for manually compiling phone_info.c
#

IPKG_ISIHDR=`pkg-config --cflags isihdr`
IPKG_ISI=`pkg-config --cflags isi`
LPKG_ISI=`pkg-config --libs isi`
IPKG_PHINFO=`pkg-config --cflags phinfo`
LPKG_PHINFO=`pkg-config --libs phinfo`
IPKG_GLIB=`pkg-config --cflags glib-2.0`
LPKG_GLIB=`pkg-config --libs glib-2.0`
CFLAGS="$IPKG_PHINFO $IPKG_ISIHDR $IPKG_ISI  $IPKG_GLIB -g3 -O0 -c"
LDFLAGS="$LPKG_PHINFO $LPKG_ISI $LPKG_GLIB"

gcc $CFLAGS phone_info.c -o phone_info.o
gcc phone_info.o -o phone_info $LDFLAGS 

----------------------------------------------------------------------------------------------------
