# Question about how to set Requested accuracy of fix value in Lagato API

**URL:** <https://forum.legato.io/t/question-about-how-to-set-requested-accuracy-of-fix-value-in-lagato-api/5009>\
**Category:** Uncategorized\
**Created:** [February 17, 2020, 9:25am UTC](https://forum.legato.io/t/question-about-how-to-set-requested-accuracy-of-fix-value-in-lagato-api/5009 "2020-02-17T09:25:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Katagiri-na](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Katagiri-na](https://forum.legato.io/u/Katagiri-na)\
**Post date:** [February 17, 2020, 9:25am UTC](https://forum.legato.io/t/question-about-how-to-set-requested-accuracy-of-fix-value-in-lagato-api/5009/1 "2020-02-17T09:25:44Z")

</div>

I use WP7605 for the module. And I am trying to get location information with the Location API.  
AT command AT! GPSFIX has a parameter called (Requested accuracy of fix).  
In other words, you can set the minimum precision required for FIX data.  
However, I could not find this setting in the Location API and GNSS API.  
Is there a way to set in Legato?  
Is there a latitude / longitude maxDist value returned from legato’s le\_pos\_Get2DLocation () and le\_pos\_Get3DLocation ()?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [February 18, 2020, 2:48am UTC](https://forum.legato.io/t/question-about-how-to-set-requested-accuracy-of-fix-value-in-lagato-api/5009/2 "2020-02-18T02:48:58Z")

</div>

I don’t see one legato API having this “maxDist” to configure.

---

<div class="post-metadata">

**Author:** ![Katagiri-na](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@Katagiri-na](https://forum.legato.io/u/Katagiri-na)\
**Post date:** [February 18, 2020, 3:44am UTC](https://forum.legato.io/t/question-about-how-to-set-requested-accuracy-of-fix-value-in-lagato-api/5009/3 "2020-02-18T03:44:09Z")

</div>

Hi jyjyi-san

I examined the correlation between AT! GPSFIX parameters and SUPL\_START qoP values.  
Apparently, the SUPL server provides assist data when the qoP value is 19 or less, and responds to the base station latitude and longitude with SUPL\_END without assist data when the qoP value is 20 or more.  
However, when starting MS-Based A-GPS with **Legato’s API, the qoP was fixed at 49**.  
In other words, it is not possible to obtain assist data with A-GPS using Legato API.  
Please provide a solution on how to work with qoP values below 19 when using A-GPS with Legato applications.

■WP7605  
(SUPL qoP) vs (AT command)  
horacc 19, AT!GPSFIX=2,1,1  
horacc 19, AT!GPSFIX=2,1,10  
↓ Does not provide Assist Data from SUPL Server ↓  
horacc 42, AT!GPSFIX=2,1,100  
horacc 49, AT!GPSFIX=2,1,1000  
horacc 49, AT!GPSFIX=2,1,10000  
horacc 49, AT!GPSFIX=2,1,100000  
horacc 49, AT!GPSFIX=2,1,4294967279  
horacc 49, AT!GPSFIX=2,1,4294967280

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [February 18, 2020, 3:55am UTC](https://forum.legato.io/t/question-about-how-to-set-requested-accuracy-of-fix-value-in-lagato-api/5009/4 "2020-02-18T03:55:32Z")

</div>

how about sending those AT command in legato application?
