# Getting Signal Strength

**URL:** https://forum.sierrawireless.com/t/getting-signal-strength/4846
**Category:** Legacy AirPrime modules
**Created:** [January 25, 2011, 6:38am UTC](https://forum.sierrawireless.com/t/getting-signal-strength/4846 "2011-01-25T06:38:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![aezakmi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aezakmi](https://forum.sierrawireless.com/u/aezakmi)
#### Post date: [January 25, 2011, 6:38am UTC](https://forum.sierrawireless.com/t/getting-signal-strength/4846/1 "2011-01-25T06:38:07Z")

</div>

Hai,  
Am using Q2686G.  
The firmware version is :: R74\_00gg.Q2686G  
Application OS :: 06.21  
Boot loader version :: V08b0e.

```
                               I want to detect the signal strength. Now am using "adl_atCmdCreate" to send AT+CSQ. In the handler am getting adl_atResponse_t strdata as "OK " only. But i want the return values too., like " +CSQ: 11,2 ". I want the returned 2 arguments. Is there any way to get those?

                       Thank you,
```

---

<div class="post-metadata">

### Author: ![tomridl](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/tomridl/32/2704_2.png) [@tomridl](https://forum.sierrawireless.com/u/tomridl)
#### Post date: [January 25, 2011, 9:10am UTC](https://forum.sierrawireless.com/t/getting-signal-strength/4846/2 "2011-01-25T09:10:12Z")

</div>

Have a look at the response handler part of the adl\_atCmdCreate function.

> [@](#):
>
> s8 adl\_atCmdCreate ( ascii \* atstr,u16 rspflag,adl\_atRspHandler\_t rsphdl,… );

For Example:

```auto
// Send the AT command.
adl_atCmdSend("AT+CSQ", ResponseHandler, "+CSQ", NULL);

// Response Handler Function
bool ResponseHandler(adl_atResponse_t *AT_Response)
{
ascii str_CSQ[2];
wm_strGetParameterString(str_CSQ, AT_Response->StrData, 1);
}
```

---

<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: [January 25, 2011, 5:39pm UTC](https://forum.sierrawireless.com/t/getting-signal-strength/4846/3 "2011-01-25T17:39:55Z")

</div>

Note that AT+CCED can be used to request an unsolicited +CSQ whenever the signal level changes - ie, you don’t have to keep asking for it.

See the AT Commands Manual for details of the command, and the ADL manual for details of handling unsolicited responses…

---

<div class="post-metadata">

### Author: ![aezakmi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aezakmi](https://forum.sierrawireless.com/u/aezakmi)
#### Post date: [February 4, 2011, 10:02am UTC](https://forum.sierrawireless.com/t/getting-signal-strength/4846/4 "2011-02-04T10:02:46Z")

</div>

> [@awneil](#):
>
> Note that AT+CCED can be used to request an unsolicited +CSQ whenever the signal level changes - ie, you don’t have to keep asking for it.
> 
> See the AT Commands Manual for details of the command, and the ADL manual for details of handling unsolicited responses…

thank you awneil

---

<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: [February 4, 2011, 11:46am UTC](https://forum.sierrawireless.com/t/getting-signal-strength/4846/5 "2011-02-04T11:46:54Z")

</div>

> [@awneil](#):
>
> Note that AT+CCED can be used to request an unsolicited +CSQ whenever the signal level changes

Correction: you get an unsolicited +CSQ whenever the signal level changes except when it changes to 99 (ie, unknown or unavailable).

See: [AT+CCED bug?](https://forum.sierrawireless.com/t/at-cced-bug/4861/1)

So, if your application needs to know that, you’ll have to think again!

😠

---

<div class="post-metadata">

### Author: ![aezakmi](https://avatars.discourse-cdn.com/v4/letter/a/da6949/32.png) [@aezakmi](https://forum.sierrawireless.com/u/aezakmi)
#### Post date: [February 8, 2011, 5:25am UTC](https://forum.sierrawireless.com/t/getting-signal-strength/4846/6 "2011-02-08T05:25:59Z")

</div>

> [@awneil](#):
>
> > [@awneil](#):
> >
> > Note that AT+CCED can be used to request an unsolicited +CSQ whenever the signal level changes
> 
> Correction: you get an unsolicited +CSQ whenever the signal level changes except when it changes to 99 (ie, unknown or unavailable).
> 
> See: [AT+CCED bug?](https://forum.sierrawireless.com/t/at-cced-bug/4861/1)
> 
> So, if your application needs to know that, you’ll have to think again!
> 
> 😠

ok. thank you 😉
