# GPS QMI client

**URL:** <https://forum.legato.io/t/gps-qmi-client/76>\
**Category:** Legato Application Framework\
**Created:** [November 3, 2014, 1:50pm UTC](https://forum.legato.io/t/gps-qmi-client/76 "2014-11-03T13:50:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![s1nndev](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@s1nndev](https://forum.legato.io/u/s1nndev)\
**Post date:** [November 3, 2014, 1:50pm UTC](https://forum.legato.io/t/gps-qmi-client/76/1 "2014-11-03T13:50:38Z")

</div>

Hello everyone,

I wanted to get the GPS location via AT Commands on the AT Command Port and I could get it. But since then there always appears a log in the logread:

user.info Legato: INFO | posDaemon[834]/le\_pa T=main | swiQmi.c StartService() 110 | qmi\_client\_get\_service\_list rc=-2, numServices=0  
Jan 6 00:15:42 swi-mdm9x15 user.err Legato: =ERR= | posDaemon[2088]/le\_pa T=main | swiQmi.c StartService() 120 | qmi\_client\_get\_service\_list time limit exceeded  
Jan 6 00:15:42 swi-mdm9x15 user.err Legato: =ERR= | posDaemon[2088]/le\_pa\_gnss T=main | pa\_gnss\_qmi.c pa\_gnss\_Init() 741 | Could not initialize the QMI Positioning Services.  
Jan 6 00:15:42 swi-mdm9x15 user.emerg Legato: _EMR_ | posDaemon[2088]/posDaemon T=main | le\_pos.c \_posDaemon\_COMPONENT\_INIT() 646 | Failed to initialize the PA GNSS module  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | proc.c proc\_SigChildHandler() 1243 | Process ‘posDaemon’ (PID: 2088) has exited with exit code 1.  
Jan 6 00:15:42 swi-mdm9x15 user.crit Legato: _CRT_ | supervisor[761]/ T=main | app.c app\_SigChildHandler() 1444 | The process ‘posDaemon’ in app ‘positioningService’ has faulted and will be restarted in accordance with its fault policy.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c GetCfgResourceLimit() 181 | Configured resource limit coreDumpFileSizeLimit is not available. Using the default value 8192.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c SetRLimit() 281 | Setting resource limit coreDumpFileSizeLimit to value 8192.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c GetCfgResourceLimit() 181 | Configured resource limit maxFileSizeLimit is not available. Using the default value 90112.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c SetRLimit() 281 | Setting resource limit maxFileSizeLimit to value 90112.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c GetCfgResourceLimit() 181 | Configured resource limit memLockSizeLimit is not available. Using the default value 8192.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c SetRLimit() 281 | Setting resource limit memLockSizeLimit to value 8192.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c GetCfgResourceLimit() 181 | Configured resource limit numFileDescriptorsLimit is not available. Using the default value 256.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c SetRLimit() 281 | Setting resource limit numFileDescriptorsLimit to value 256.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c GetCfgResourceLimit() 181 | Configured resource limit totalPosixMsgQueueSizeLimit is not available. Using the default value 512.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c SetRLimit() 281 | Setting resource limit totalPosixMsgQueueSizeLimit to value 512.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c GetCfgResourceLimit() 181 | Configured resource limit numProcessesLimit is not available. Using the default value 20.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c SetRLimit() 281 | Setting resource limit numProcessesLimit to value 20.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c GetCfgResourceLimit() 181 | Configured resource limit rtSignalQueueSizeLimit is not available. Using the default value 100.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | resourceLimits.c SetRLimit() 281 | Setting resource limit rtSignalQueueSizeLimit to value 100.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[761]/ T=main | proc.c StartProc() 767 | Starting process posDaemon with pid 2118  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | supervisor[2118]/ T=main | proc.c StartProc() 744 | Execing ‘posDaemon’  
Jan 6 00:15:42 swi-mdm9x15 user.warn Legato: -WRN- | posDaemon[2118]/framework T=main | mem.c le\_mem\_ForceAlloc() 664 | Memory pool ‘ClientThreadData’ overflowed. Expanded to 1 blocks.  
Jan 6 00:15:42 swi-mdm9x15 user.warn Legato: -WRN- | posDaemon[2118]/framework T=main | mem.c le\_mem\_ForceAlloc() 664 | Memory pool ‘SafeRef-Map’ overflowed. Expanded to 11 blocks.  
Jan 6 00:15:42 swi-mdm9x15 user.warn Legato: -WRN- | posDaemon[2118]/framework T=main | mem.c le\_mem\_ForceAlloc() 664 | Memory pool ‘SafeRef-Map’ overflowed. Expanded to 12 blocks.  
Jan 6 00:15:42 swi-mdm9x15 user.info Legato: INFO | posDaemon[2118]/le\_pa T=main | swiQmi.c StartService() 110 | qmi\_client\_get\_service\_list rc=-2, numServices=0

I don’t know how I can get rid of it. Can anyone help me? I don’t want to have these annoying logs all the time.  
Thank you!

Greets,  
Daniel

---

<div class="post-metadata">

**Author:** ![esun](https://avatars.discourse-cdn.com/v4/letter/e/8e7dd6/32.png) [@esun](https://forum.legato.io/u/esun)\
**Post date:** [November 3, 2014, 8:17pm UTC](https://forum.legato.io/t/gps-qmi-client/76/2 "2014-11-03T20:17:52Z")

</div>

Hi Daniel,

To remove the annoying logs, you will need to switch over to GPS LOC

```auto
at!entercnd="A710"
at!gpsqmiconfig=1
```

Unfortunately in doing so, you will not be able to use AT commands to get the GPS location anymore because AT commands for GPS LOC is not supported yet in 06.03.17. However, this feature will become available in our next firmware release.

Enoch

---

<div class="post-metadata">

**Author:** ![s1nndev](https://avatars.discourse-cdn.com/v4/letter/s/258eb7/32.png) [@s1nndev](https://forum.legato.io/u/s1nndev)\
**Post date:** [November 4, 2014, 8:01am UTC](https://forum.legato.io/t/gps-qmi-client/76/3 "2014-11-04T08:01:49Z")

</div>

Thanks a lot! This helped! 😃
