GPS QMI client

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

Hi Daniel,

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

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

Thanks a lot! This helped! :smiley: