摘要: 1.ESP32 系列芯片提供三种可配置的睡眠模式,针对这些睡眠模式,我们提供了了多种低功耗解决方案,用户可以结合具体需求选择睡眠模式并进行配置。三种睡眠模式如下: Modem-sleep 模式:CPU 可运行,时钟可被配置。Wi-Fi/蓝牙基带和射频关闭。 Light-sleep 模式:CPU 暂停 阅读全文
posted @ 2020-11-11 23:20 kerwin cui 阅读(6559) 评论(0) 推荐(0) 编辑
摘要: 基于ESP-IDF4.1 #include <stdio.h> #include <stdint.h> #include <stddef.h> #include <string.h> #include "esp_wifi.h" #include "esp_system.h" #include "nv 阅读全文
posted @ 2020-11-11 20:49 kerwin cui 阅读(886) 评论(0) 推荐(0) 编辑
摘要: 基于ESP-IDF4.1 #include <stdio.h> #include "esp_wifi.h" #include "esp_system.h" #include "nvs_flash.h" #include "esp_event.h" #include "protocol_example 阅读全文
posted @ 2020-11-11 20:29 kerwin cui 阅读(1616) 评论(0) 推荐(0) 编辑
摘要: 基于ESP-IDF4.1 #include <string.h> #include <stdlib.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_log.h" #include "esp_syst 阅读全文
posted @ 2020-11-11 16:14 kerwin cui 阅读(2429) 评论(0) 推荐(0) 编辑
摘要: 基于ESP-IDF4.1 #include <esp_wifi.h> #include <esp_event.h> #include <esp_log.h> #include <esp_system.h> #include <nvs_flash.h> #include <sys/param.h> # 阅读全文
posted @ 2020-11-11 14:40 kerwin cui 阅读(2489) 评论(0) 推荐(0) 编辑