Hi Cedric,
I am working on EVM-3530 board with externel GPS Device. Now I want to test if it is working. I'm connected GPS device on UART port and after android booting its showing below log messages. D/libhardware( 642): GPS hardware on this device start D/LocationManagerService( 642): Found dir /data/location/gps D/LocationManagerService( 642): name = gps D/GpsLocationProvider( 642): enable D/gps_celestial( 642): gps will read from /dev/ttyS2 D/gps_celestial( 642): gps state initialized D/GpsLocationProvider( 642): GpsNetworkThread start D/gps_celestial( 642): gps thread running D/GpsLocationProvider( 642): GpsEventThread starting D/GpsLocationProvider( 642): NetworkThread starting D/GpsLocationProvider( 642): NetworkThread wait for network /***************gps.c log*******************************/ D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): Received: '$GPGLL,8960.0000,N,00000.0000,E, 000157.006,V,N*43 D/gps_celestial( 643): ' D/gps_celestial( 643): Found 8 tokens D/gps_celestial( 643): 0: 'GPGLL' D/gps_celestial( 643): 1: '8960.0000' D/gps_celestial( 643): 2: 'N' D/gps_celestial( 643): 3: '00000.0000' D/gps_celestial( 643): 4: 'E' D/gps_celestial( 643): 5: '000157.006' D/gps_celestial( 643): 6: 'V' D/gps_celestial( 643): 7: 'N' D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): Received: '$GPRMC,000157.006,V,8960.0000,N, 00000.0000,E,0.000,0.00,060180,,,N*4B D/gps_celestial( 643): ' D/gps_celestial( 643): Found 13 tokens D/gps_celestial( 643): 0: 'GPRMC' D/gps_celestial( 643): 1: '000157.006' D/gps_celestial( 643): 2: 'V' D/gps_celestial( 643): 3: '8960.0000' D/gps_celestial( 643): 4: 'N' D/gps_celestial( 643): 5: '00000.0000' D/gps_celestial( 643): 6: 'E' D/gps_celestial( 643): 7: '0.000' D/gps_celestial( 643): 8: '0.00' D/gps_celestial( 643): 9: '060180' D/gps_celestial( 643): 10: '' D/gps_celestial( 643): 11: '' D/gps_celestial( 643): 12: 'N' D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): Received: '$GPVTG,0.00,T,,M,0.000,N, 0.000,K,N*32 D/gps_celestial( 643): ' D/gps_celestial( 643): Found 10 tokens D/gps_celestial( 643): 0: 'GPVTG' D/gps_celestial( 643): 1: '0.00' D/gps_celestial( 643): 2: 'T' D/gps_celestial( 643): 3: '' D/gps_celestial( 643): 4: 'M' D/gps_celestial( 643): 5: '0.000' D/gps_celestial( 643): 6: 'N' D/gps_celestial( 643): 7: '0.000' D/gps_celestial( 643): 8: 'K' D/gps_celestial( 643): 9: 'N' D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): gps fd event end D/gps_celestial( 643): gps thread received 1 events D/gps_celestial( 643): Received: '$GPGGA,000158.006,8960.0000,N, 00000.0000,E,0,0,,137.0,M,13.0,M,,*49 D/gps_celestial( 643): ' D/gps_celestial( 643): Found 14 tokens D/gps_celestial( 643): 0: 'GPGGA' D/gps_celestial( 643): 1: '000158.006' D/gps_celestial( 643): 2: '8960.0000' D/gps_celestial( 643): 3: 'N' D/gps_celestial( 643): 4: '00000.0000' D/gps_celestial( 643): 5: 'E' D/gps_celestial( 643): 6: '0' D/gps_celestial( 643): 7: '0' D/gps_celestial( 643): 8: '' D/gps_celestial( 643): 9: '137.0' D/gps_celestial( 643): 10: 'M' D/gps_celestial( 643): 11: '13.0' D/gps_celestial( 643): 12: 'M' D/gps_celestial( 643): 13: '' D/gps_celestial( 643): gps fd event end /*****************gps.c log************************************/ /************ GPS Disable ****************************/ # D/GpsLocationProvider( 642): disable D/GpsLocationProvider( 642): GpsEventThread exiting D/gps_celestial( 642): gps send quit command D/gps_celestial( 642): gps waiting for command thread to stop D/gps_celestial( 642): gps thread received 1 events D/gps_celestial( 642): gps control fd event D/gps_celestial( 642): gps thread quitting on demand D/gps_celestial( 642): gps deinit complete /*********** GPS disable ******************************/ /************ GPS enable ******************************/ # # D/GpsLocationProvider( 642): enable D/gps_celestial( 642): gps will read from /dev/ttyS2 D/gps_celestial( 642): gps thread running D/gps_celestial( 642): gps state initialized D/GpsLocationProvider( 642): GpsEventThread starting D/GpsLocationProvider( 642): NetworkThread wait for network /*************** GPS enable **********************/ I am trying to use a below free app (Gps Stats): GPStat : http://andappstore.com/AndroidPhoneApplications/apps/42675 Above application show below msgs: # D/LocationManager( 791): Constructor: service = android.location.ilocationmanager$stub$pr...@43493930 D/LocationManagerService( 642): _requestLocationUpdates: listener = android.os.binderpr...@435c9600 D/GpsLocationProvider( 642): setMinTime 1000 D/gps_celestial( 642): celestial_gps_set_fix_frequency: called D/gps_celestial( 642): gps fix frquency set to 1 secs D/gps_celestial( 642): gps fix frquency set to 1 secs D/gps_celestial( 642): celestial_gps_start: called D/gps_celestial( 642): gps thread received 1 events D/gps_celestial( 642): gps control fd event D/gps_celestial( 642): gps thread starting location_cb=0xad345ead D/gps_celestial( 642): gps sent to device: $PUBX,40,GGA,1,1,1,0*5b D/gps_celestial( 642): gps sent to device: $PUBX,40,GLL,1,1,1,0*5d D/gps_celestial( 642): gps sent to device: $PUBX,40,ZDA,1,1,1,0*45 D/gps_celestial( 642): gps sent to device: $PUBX,40,VTG,1,1,1,0*5f D/gps_celestial( 642): gps sent to device: $PUBX,40,GSA,1,1,1,0*4f D/gps_celestial( 642): gps sent to device: $PUBX,40,GSV,1,1,1,0*58 D/gps_celestial( 642): gps sent to device: $PUBX,40,RMC,1,1,1,0*46 D/gps_celestial( 642): gps dev start initiated D/gps_celestial( 642): gps status callback: 0x1 D/gps_celestial( 642): gps entered timer thread D/gps_celestial( 642): gps timer exp D/gps_celestial( 642): gps timer exp D/gps_celestial( 642): gps timer exp D/dalvikvm( 798): GC freed 1866 objects / 126096 bytes in 68ms D/LocationManager( 791): removeUpdates: listener = com.android.gmonix.gpstat.gpsta...@43480d80 D/LocationManagerService( 642): _removeUpdates: listener = android.os.binderpr...@435c9600 D/gps_celestial( 642): celestial_gps_stop: called D/gps_celestial( 642): gps thread received 1 events D/gps_celestial( 642): gps control fd event D/gps_celestial( 642): gps thread stopping D/gps_celestial( 642): gps sent to device: $PUBX,40,GGA,10,10,10,0*6b D/gps_celestial( 642): gps sent to device: $PUBX,40,GLL,10,10,10,0*6d D/gps_celestial( 642): gps sent to device: $PUBX,40,ZDA,10,10,10,0*75 D/gps_celestial( 642): gps sent to device: $PUBX,40,VTG,10,10,10,0*6f D/gps_celestial( 642): gps sent to device: $PUBX,40,GSA,10,10,10,0*7f D/gps_celestial( 642): gps sent to device: $PUBX,40,GSV,10,10,10,0*68 D/gps_celestial( 642): gps sent to device: $PUBX,40,RMC,10,10,10,0*76 D/gps_celestial( 642): gps dev stop initiated D/gps_celestial( 642): gps timer thread destroyed D/gps_celestial( 642): gps status callback: 0x2 I/NotificationService( 642): enqueueToast pkg=com.android.gmonix.gpstat callback=android.app.ITransientNotification$Stub$1 But nothing update on the application Gps Stats screen means its showing : Satellite(s) : 0 Heure Gps : 00:00:00 Altitude : 0 meter(s) Latitude : 0 Longitude : 0 Vitesse : 0 km/h Any thing wrong with my GPS hal code??? I am using android 1.0 source code. Any help will be highly appreciated. Thanks & Regards Deepak --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
