Yes you will need them. They power up and initialization the device. They do get called. Check line 995 and 1036.
On Feb 21, 1:04 pm, shm <[email protected]> wrote: > Hello, > > I found these functions (defined in the freerunner sample code) are > not called from anywhere, neither inside the file itself nor from > anywhere in the android project. > static void gps_dev_init(int fd); > static void gps_dev_deinit(int fd); > static void gps_dev_start(int fd); > static void gps_dev_stop(int fd); > > Are they really necessarily? > > Best regards, > -------- > shm > > On 1月24日, 午後5:54, shm <[email protected]> wrote: > > > > > > > > > Thank you, Chaitanya and Huang, > > You gave me the great advice! > > > On 1月23日, 午前3:38, Chih-Wei Huang <[email protected]> wrote: > > > > GPS hal for UART: > > > >http://git.android-x86.org/?p=platform/hardware/gps.git;a=summary > > > >shm於 2012年1月18日星期三UTC+8下午1時34分38秒寫道: > > > > > Thank you, Chaitanya! > > > > You comment gives me a bird-view of the whole work. > > > > So, the most important thing is to implement the GPS I/F as defined in > > > > gps.h. > > > > Do you know where I can find some sample codes? > > > > Actually, I found one provided by Qualcom, at hardware\qcom\gps in the > > > > android source package. > > > > But, I am not sure if it is useful in my case. -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
