# AT$QCLOC Source: [https://docs.qualcomm.com/doc/80-63441-4/topic/AT-QCLOC.html](https://docs.qualcomm.com/doc/80-63441-4/topic/AT-QCLOC.html) This command initiates a location request to the device. The device performs measurements based on the selected location technology and respond with the measurement data. | Read command: `AT$QCLOC?` | Response: `$QCLOC:`
If location configuration is
missing or invalid, response: `+CME ERROR: 1005`


AT client
needs to update location configuration, see [AT$QCRLC](https://docs.qualcomm.com/doc/80-63441-4/topic/AT-QCRLC.html) and [AT$QCSLC](https://docs.qualcomm.com/doc/80-63441-4/topic/AT-QCSLC.html).


If the device requests a location using Wifi+ECID
and the Location Configuration information is invalid, the following response is
returned along with the <measurement> data which can be sent to the Aware Cloud
for resolving the device’s location: `+CME ERROR: 1004`


If
there is any error, response: `+CME ERROR: `
Note: Due to
platform constraints, the ECID location can be retrieved a maximum of once every 3
minutes | | --- | --- | | Maximum response time | 5s | | Parameter saving mode | `AUTO_SAVE` | **Parameters** | <measurement> | Location measurement data in **base64** format.



<measurement > is returned in **base64** format. The AT client is expected to
do a base64 to binary conversion prior to sending it to Aware Cloud | | --- | --- | **Example** AT$QCLOC? $QCLOC:1gEAAAEBt7Wf4Jcj7zLFHheSvupviz9zzG2hc2tZtJEISl5lyTj5kxds0fgAexE6cKcfl5ffCxOYYaZTXCZrX8NCXGI4xEjkablLdGYJZEs1M0LN6XljypB2yk9N5uDSziZr9IaCvdCHtzS3w3MTLDUmnpncl2/dkdwJQCLBxCJikfxa+bPpp3N OK Copy to clipboard **Parent Topic:** [LaaS AT commands](https://docs.qualcomm.com/doc/80-63441-4/topic/LaaS-AT-commands.html) Last Published: Jul 16, 2025 [Previous Topic AT$QCSLC](https://docs.qualcomm.com/bundle/publicresource/80-63441-4/topics/AT-QCSLC.md) [Next Topic AT$QCSLCLOC](https://docs.qualcomm.com/bundle/publicresource/80-63441-4/topics/AT_QCSLCLOC.md)