Page 1 of 1

Issue with changing the sleep mode

Posted: Tue May 17, 2022 1:03 pm
by ggeorge
By default when querying with AT+SLEEP? it shows 2. I want to make it to 0. How should I do that?

Re: Issue with changing the sleep mode

Posted: Fri May 20, 2022 3:52 am
by ESP_Sun
Which version is this? Execute AT+SLEEP? Is the default value not 1?

Re: Issue with changing the sleep mode

Posted: Fri May 20, 2022 6:28 am
by ggeorge
Yes when querying after AT+RESTORE, it shows as 1. How do I make it to 0? I suspect my module is going to sleep, that is why it is disconnecting.

Re: Issue with changing the sleep mode

Posted: Fri May 20, 2022 7:11 am
by ESP_Sun
You can execute AT+SLEEP=0 command, but disabling sleep mode will increase power consumption.

Re: Issue with changing the sleep mode

Posted: Fri May 20, 2022 7:40 am
by ggeorge
How do I execute that? It doesn't take that command generally. Should I give any other configuration before giving that?

Re: Issue with changing the sleep mode

Posted: Fri May 20, 2022 8:15 am
by ESP_Sun
ggeorge wrote:
Fri May 20, 2022 7:40 am
How do I execute that? It doesn't take that command generally. Should I give any other configuration before giving that?
No other configuration is required.

Re: Issue with changing the sleep mode

Posted: Fri May 20, 2022 9:11 am
by ggeorge
Okay thanks. It worked.