Issue with changing the sleep mode

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

Issue with changing the sleep mode

Postby ggeorge » Tue May 17, 2022 1:03 pm

By default when querying with AT+SLEEP? it shows 2. I want to make it to 0. How should I do that?

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: Issue with changing the sleep mode

Postby ESP_Sun » Fri May 20, 2022 3:52 am

Which version is this? Execute AT+SLEEP? Is the default value not 1?

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

Re: Issue with changing the sleep mode

Postby ggeorge » Fri May 20, 2022 6:28 am

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.

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: Issue with changing the sleep mode

Postby ESP_Sun » Fri May 20, 2022 7:11 am

You can execute AT+SLEEP=0 command, but disabling sleep mode will increase power consumption.

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

Re: Issue with changing the sleep mode

Postby ggeorge » 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?

ESP_Sun
Posts: 326
Joined: Thu Dec 30, 2021 9:52 am

Re: Issue with changing the sleep mode

Postby ESP_Sun » Fri May 20, 2022 8:15 am

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.

ggeorge
Posts: 32
Joined: Mon Mar 07, 2022 6:00 am

Re: Issue with changing the sleep mode

Postby ggeorge » Fri May 20, 2022 9:11 am

Okay thanks. It worked.

Who is online

Users browsing this forum: No registered users and 54 guests