# \[Q2686\] How can I monitor if Sleep mode is currently active?

**URL:** <https://forum.sierrawireless.com/t/q2686-how-can-i-monitor-if-sleep-mode-is-currently-active/6960>\
**Category:** Legacy AirPrime modules\
**Created:** [January 10, 2014, 3:19pm UTC](https://forum.sierrawireless.com/t/q2686-how-can-i-monitor-if-sleep-mode-is-currently-active/6960 "2014-01-10T15:19:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GMarnier0](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@GMarnier0](https://forum.sierrawireless.com/u/GMarnier0)\
**Post date:** [January 10, 2014, 3:19pm UTC](https://forum.sierrawireless.com/t/q2686-how-can-i-monitor-if-sleep-mode-is-currently-active/6960/1 "2014-01-10T15:19:31Z")

</div>

When W32K mode is active, I know when my DCE sets DTR in order to command the modem to enter sleep mode, but the modem can take a few seconds in order to execute it indeed… Anyway, it can exit Sleep mode by its own for many reason. I just want to monitor that for debugging.

An I/O would be great because checking power consumption is quite tricky …

I could use my custom Open AT application, but don’t know how …  
Any idea?

I’m with Fw 7.44

---

<div class="post-metadata">

**Author:** ![lotam](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@lotam](https://forum.sierrawireless.com/u/lotam)\
**Post date:** [January 11, 2014, 4:37am UTC](https://forum.sierrawireless.com/t/q2686-how-can-i-monitor-if-sleep-mode-is-currently-active/6960/2 "2014-01-11T04:37:43Z")

</div>

CTS pin, please refer to Appendix 3.7.4.1 Sleep on procedure.

> [@](#):
>
> When DTR is low and there are no more AT response, the DCE sets the application (DTE)  
> CTS low. (At this point, the associated serial port is in Sleep Mode state)

You may also like to enable RI pin using +WRIM so host can be waken for different events.

Hope it helps.

---

<div class="post-metadata">

**Author:** ![GMarnier0](https://avatars.discourse-cdn.com/v4/letter/g/b782af/32.png) [@GMarnier0](https://forum.sierrawireless.com/u/GMarnier0)\
**Post date:** [January 16, 2014, 10:10am UTC](https://forum.sierrawireless.com/t/q2686-how-can-i-monitor-if-sleep-mode-is-currently-active/6960/3 "2014-01-16T10:10:13Z")

</div>

Thank you lotam for pointing this, it solves half of my problem.

Same question with AT+W32K=1,0 (Ignoring DTR). Is an I/O toggling somewhere in this mode ?  
(CTS stays low, I’ve checked)
