How to use sleep mode(not deep sleep) with freertos sdk?

liyuanjin87
Posts: 1
Joined: Thu Oct 08, 2015 9:44 am

How to use sleep mode(not deep sleep) with freertos sdk?

Postby liyuanjin87 » Tue Oct 13, 2015 10:31 am

Morning, esp_guys:

I use the sdk:esp_iot_rtos_sdk-V1.1.0_15_08_21 to build our project,everythin goes well.But when I want to cut down the current of the module,I am confused. Refer to the document: <9B-ESP8266__Sleep__Function Description__EN_v1.0.pdf> ,there should be a API wifi_set_sleep_type ,which can make the module into MODEM_SLEEP or LIGHT_SLEEP mode. But when I try to use the API with the rtos sdk, the gcc told: undifined refrence wifi_set_sleep_type function. Did I forget something?!

Another way, would you please tell the developers directly how to make the MCU sleep,and how to set the wifi-module sleep during the space of beacon?

And I also find that esp have new sleep APIs(such as wifi_fpm_do_sleep) in no-os sdk,and when the developers can have the same APIs with rtos-sdk?

Best wishes!

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: How to use sleep mode(not deep sleep) with freertos sdk?

Postby ESP_Faye » Fri Oct 16, 2015 2:25 pm

Hi,

We are working on it.

Sleep related APIs on RTOS SDK will be released soon.

Thanks for your interest in ESP8266 !

Who is online

Users browsing this forum: No registered users and 27 guests