====== Hibernation / Sleep Commands ======
This page documents AT commands for managing sleep, hibernation, and remote wake-up features in HaLow firmware 2.x modules.
===== AT+DSLEEP – Set Device to Sleep =====
**Query:**
AT+DSLEEP=?
**Set Sleep Mode:**
AT+DSLEEP=1
**Response:**
+DSLEEP:0
OK
**Notes:**
* In connected state: enters rest, sleep, and keep-alive mode
* In non-connected state: sleeps 60 seconds then wakes
* Cannot read parameters while in hibernation
===== AT+WAKEUP – Remote Wake-up =====
**Query:**
AT+WAKEUP=?
**Set Remote Wake-up:**
AT+WAKEUP=11:22:33:44:55:66
**Response:**
invalid *(if incorrect or STA not sleeping)*
**Notes:**
* Enter this command on the AP to wake a sleeping STA
* `mac_addr` = MAC address of target STA
===== Notes =====
* Use sleep mode to reduce power consumption in battery-powered applications.
* Remote wake-up allows APs to wake specific STAs without manual intervention.
* Always configure SSID, key, and networking before using sleep commands to ensure proper reconnection.