docs: Update ROADMAP, TASKS, TODO — mark v1.1 items done
Check off sensor ID, deauth detection, chip temperature, BLE alerting, dwell time, timestamped logging. Advance TASKS sprint to v1.1. Clean completed items from TODO.
This commit is contained in:
@@ -36,7 +36,10 @@
|
||||
#include "esp_https_ota.h"
|
||||
#include "esp_http_client.h"
|
||||
#include "driver/gpio.h"
|
||||
#include "soc/soc_caps.h"
|
||||
#if SOC_TEMP_SENSOR_SUPPORTED
|
||||
#include "driver/temperature_sensor.h"
|
||||
#endif
|
||||
#include "mdns.h"
|
||||
|
||||
#include "lwip/inet.h"
|
||||
@@ -107,7 +110,9 @@ static bool s_ble_enabled = false;
|
||||
static uint8_t s_ble_own_addr_type;
|
||||
|
||||
/* Chip temperature sensor */
|
||||
#if SOC_TEMP_SENSOR_SUPPORTED
|
||||
static temperature_sensor_handle_t s_temp_handle = NULL;
|
||||
#endif
|
||||
|
||||
/* UDP socket for CSI data transmission */
|
||||
static int s_udp_socket = -1;
|
||||
@@ -788,9 +793,11 @@ static int cmd_handle(const char *cmd, char *reply, size_t reply_size)
|
||||
const esp_app_desc_t *app_desc = esp_app_get_description();
|
||||
|
||||
float chip_temp = 0.0f;
|
||||
#if SOC_TEMP_SENSOR_SUPPORTED
|
||||
if (s_temp_handle) {
|
||||
temperature_sensor_get_celsius(s_temp_handle, &chip_temp);
|
||||
}
|
||||
#endif
|
||||
|
||||
char uptime_str[32];
|
||||
if (days > 0) {
|
||||
@@ -1081,7 +1088,8 @@ void app_main()
|
||||
esp_wifi_set_max_tx_power(s_tx_power_dbm * 4);
|
||||
ESP_LOGI(TAG, "TX power set to %d dBm", (int)s_tx_power_dbm);
|
||||
|
||||
/* Chip temperature sensor */
|
||||
/* Chip temperature sensor (ESP32-S2/S3/C3/C6 only) */
|
||||
#if SOC_TEMP_SENSOR_SUPPORTED
|
||||
temperature_sensor_config_t temp_cfg = TEMPERATURE_SENSOR_CONFIG_DEFAULT(-10, 80);
|
||||
if (temperature_sensor_install(&temp_cfg, &s_temp_handle) == ESP_OK) {
|
||||
temperature_sensor_enable(s_temp_handle);
|
||||
@@ -1090,6 +1098,7 @@ void app_main()
|
||||
ESP_LOGW(TAG, "Temperature sensor init failed");
|
||||
s_temp_handle = NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* mDNS: announce as <hostname>.local */
|
||||
ESP_ERROR_CHECK(mdns_init());
|
||||
|
||||
Reference in New Issue
Block a user