# C-GPS Query Aiding Sample

**URL:** <https://forum.sierrawireless.com/t/c-gps-query-aiding-sample/2580>\
**Category:** Open AT\
**Created:** [October 9, 2008, 12:55am UTC](https://forum.sierrawireless.com/t/c-gps-query-aiding-sample/2580 "2008-10-09T00:55:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![waasiri](https://avatars.discourse-cdn.com/v4/letter/w/ed8c4c/32.png) [@waasiri](https://forum.sierrawireless.com/u/waasiri)\
**Post date:** [October 9, 2008, 12:55am UTC](https://forum.sierrawireless.com/t/c-gps-query-aiding-sample/2580/1 "2008-10-09T00:55:27Z")

</div>

Hi All,

I am trying out the C-GPS sample applications in the SDK.

I got the simple sample and query app samples working fine, even though I ddin’t get any GPS fixes for simple sample. ( I thired it indoor)

but with the query aiding sample it gives an error when i try to upload it to the device. It gets compiled without any errors. anyone had such a problem before ?  
I am using the Opus I libraries with OASiS 2.10 SDK and C-GPS OPUS-I 1.07.2000 library.

I got a Fastrack supreme with GPS/USB/IO IESM card.

Thank you  
Asiri

---

<div class="post-metadata">

**Author:** ![waasiri](https://avatars.discourse-cdn.com/v4/letter/w/ed8c4c/32.png) [@waasiri](https://forum.sierrawireless.com/u/waasiri)\
**Post date:** [October 9, 2008, 4:24pm UTC](https://forum.sierrawireless.com/t/c-gps-query-aiding-sample/2580/2 "2008-10-09T16:24:50Z")

</div>

Hi Guys  
the error I am getting on hyperterminal isMemory allocaton error

how to fix this ?

AT+WOPEN=3  
returns  
832 and 448

any idea ? any one had this issue before ?

thank you  
Asiri

---

<div class="post-metadata">

**Author:** ![rklose](https://avatars.discourse-cdn.com/v4/letter/r/dc4da7/32.png) [@rklose](https://forum.sierrawireless.com/u/rklose)\
**Post date:** [October 14, 2008, 10:55am UTC](https://forum.sierrawireless.com/t/c-gps-query-aiding-sample/2580/3 "2008-10-14T10:55:45Z")

</div>

Hi,

I think tthe query aiding application is bigger than 448k. Try to change the memmory allocation for the application with wopen=6, 448, 842.

Hope it works.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [October 14, 2008, 1:36pm UTC](https://forum.sierrawireless.com/t/c-gps-query-aiding-sample/2580/4 "2008-10-14T13:36:40Z")

</div>

> [@waasiri](#):
>
> the error I am getting on hyperterminal isMemory allocaton error

So, surely, your first step must be to determine precisely what is causing that error - yes?
