[android-developers] Re: Inyect Assistance data to the GPS

2011-10-15 Thread nunojpg
After researching for a little big while I found how it goes.


A-GPS data is downloaded acording to the configuration at /etc/gps.conf (at 
my Nexus S). This file have lines like:

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin 


gpsonextra.net is a QUALCOMM Incorporated domain, the manufacturer of the 
GPS chip that also provides the assistance data.

There is in fact a Application level API for this, while it is device 
dependent. The application can talk with the GPS chipset using:

http://developer.android.com/reference/android/location/LocationManager.html#sendExtraCommand(java.lang.String,
 
java.lang.String, android.os.Bundle)

GPS Status calls something like:

locationmanager.sendExtraCommand("gps", "force_xtra_injection", bundle);
locationmanager.sendExtraCommand("gps", "force_time_injection", bundle);


 

 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Inyect Assistance data to the GPS

2011-10-15 Thread lbendlin
most likely they just delete the ephemeris data on the device, forcing a 
reload. You can see the IP addresses of the AGPS servers in logcat

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Inyect Assistance data to the GPS

2011-10-14 Thread nunojpg
How does the application 
https://market.android.com/details?id=com.eclipsim.gpsstatus2
download new A-GPS data and checks it's age?
Is it fake?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Inyect Assistance data to the GPS

2011-01-24 Thread ip332
> Is the
> any way to access the driver or to interact in low level with the A-
> GPS chip of the android device? of course, assuming that the device
> has A-GPS support.
There is no "low level interaction" from the application level. You
can make your own GPS library but this is not an application
development but rather "porting" task.
On the other side, if the device has A-GPS support then all necessary
SW support is already there. No phone manufacturer would miss the
opportunity to improve time-too-first-fix (TTFF) which is one of the
most critical parameters in the GPS world.



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Inyect Assistance data to the GPS

2011-01-24 Thread Frank Weiss
I think your answer lies in the Andorid source code
http://source.android.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Inyect Assistance data to the GPS

2011-01-24 Thread
Thank you for your help.

 If you have an external A-GPSreceiver (USB, Bluetooth) you can use so
> called "mock" location provider - create your own provider, utilize
> TCP/IP to exchange data with your server, use Android's location
> providers, etc.  Looks like a perfect approach for any experimental
> thing.

But in this way the location is calculed in the external A-GPS
receiver (not by the A-GPS chip of the android) and the idea was to
implement all in the same device and not developing another HW. Is the
any way to access the driver or to interact in low level with the A-
GPS chip of the android device? of course, assuming that the device
has A-GPS support.

Thank you so much



On 20 ene, 17:39, ip332  wrote:
> > I wonder whether it is possible to send NMEA sentences to theGPS(for
> > an A-GPSpurpose)?
>
> No, there is no API on the application level.
>
> >Or is there any other way to provide/inject
> > assistance data to the A-GPSchip?
>
> Assistance data support is part of theGPSlibrary implementation and
> it belongs to the HAL in the Android SW stack.
> That means two things: not every Android phone has assistance data
> support and that you can do this as part of the porting efforts which
> is a completely different scale of task.
>
> If you have an external A-GPSreceiver (USB, Bluetooth) you can use so
> called "mock" location provider - create your own provider, utilize
> TCP/IP to exchange data with your server, use Android's location
> providers, etc.  Looks like a perfect approach for any experimental
> thing.
>
> On Jan 19, 4:49 am, ""  wrote:
>
> > Dear All,
>
> > I’m trying to develop an experimental non-cellular A-GPSsystem
> > composed by an A-GPSserver (recollects assistance data and provides
> > it when needed through IP) and a A-GPSreceiver (ask for the
> > assistance data to the A-GPSserver). I would like to use an Android
> > device for the receiver but I don’t know if it is possible. As I have
> > read it is possible to read NMEA sentences (GPSStatus.NMEAListener)
> > and to read the position, etc. provided by theGPSdevice inside the
> > Android device.
> > I wonder whether it is possible to send NMEA sentences to theGPS(for
> > an A-GPSpurpose)? Or is there any other way to provide/inject
> > assistance data to the A-GPSchip?
>
> > Thank you for your help

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Inyect Assistance data to the GPS

2011-01-20 Thread ip332
> I wonder whether it is possible to send NMEA sentences to the GPS (for
> an A-GPS purpose)?
No, there is no API on the application level.

>Or is there any other way to provide/inject
> assistance data to the A-GPS chip?
Assistance data support is part of the GPS library implementation and
it belongs to the HAL in the Android SW stack.
That means two things: not every Android phone has assistance data
support and that you can do this as part of the porting efforts which
is a completely different scale of task.

If you have an external A-GPS receiver (USB, Bluetooth) you can use so
called "mock" location provider - create your own provider, utilize
TCP/IP to exchange data with your server, use Android's location
providers, etc.  Looks like a perfect approach for any experimental
thing.

On Jan 19, 4:49 am, ""  wrote:
> Dear All,
>
> I’m trying to develop an experimental non-cellular A-GPS system
> composed by an A-GPS server (recollects assistance data and provides
> it when needed through IP) and a A-GPS receiver (ask for the
> assistance data to the A-GPS server). I would like to use an Android
> device for the receiver but I don’t know if it is possible. As I have
> read it is possible to read NMEA sentences (GPSStatus.NMEAListener)
> and to read the position, etc. provided by the GPS device inside the
> Android device.
> I wonder whether it is possible to send NMEA sentences to the GPS (for
> an A-GPS purpose)? Or is there any other way to provide/inject
> assistance data to the A-GPS chip?
>
> Thank you for your help

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en