# 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:<measurement>`<br>If location configuration is<br>                missing or invalid, response: `+CME ERROR: 1005`<br><br><br>AT client<br>                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).<br><br><br>If the device requests a location using Wifi+ECID<br>                and the Location Configuration information is invalid, the following response is<br>                returned along with the &lt;measurement&gt; data which can be sent to the Aware Cloud<br>                for resolving the device’s location: `+CME ERROR: 1004`<br><br><br>If<br>                there is any error, response: `+CME ERROR: <err>`<br>Note: Due to<br>                  platform constraints, the ECID location can be retrieved a maximum of once every 3<br>                  minutes |
| --- | --- |
| Maximum response time | 5s |
| Parameter saving mode | `AUTO_SAVE` |

**Parameters**

| &lt;measurement&gt; | Location measurement data in **base64** format.<br><br><br>              <br>&lt;measurement &gt; is returned in **base64** format. The AT client is expected to<br>                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)