move to esp-idf instad of platformio
This commit is contained in:
parent
7184b101bf
commit
684d2e0964
3
rx_esp32/.gitignore
vendored
3
rx_esp32/.gitignore
vendored
@ -4,4 +4,5 @@
|
|||||||
.vscode/launch.json
|
.vscode/launch.json
|
||||||
.vscode/ipch
|
.vscode/ipch
|
||||||
|
|
||||||
build
|
build
|
||||||
|
.cache
|
||||||
10
rx_esp32/.vscode/extensions.json
vendored
10
rx_esp32/.vscode/extensions.json
vendored
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
|
||||||
// for the documentation about the extensions.json format
|
|
||||||
"recommendations": [
|
|
||||||
"platformio.platformio-ide"
|
|
||||||
],
|
|
||||||
"unwantedRecommendations": [
|
|
||||||
"ms-vscode.cpptools-extension-pack"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@ -1,3 +1,6 @@
|
|||||||
cmake_minimum_required(VERSION 3.16.0)
|
cmake_minimum_required(VERSION 3.16.0)
|
||||||
|
|
||||||
|
set(COMPONENT_DIRS $ENV{IDF_PATH}/components ./lib ./src)
|
||||||
|
|
||||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||||
project(rx_esp32)
|
project(rx_esp32)
|
||||||
|
|||||||
@ -1,46 +0,0 @@
|
|||||||
|
|
||||||
This directory is intended for project specific (private) libraries.
|
|
||||||
PlatformIO will compile them to static libraries and link into executable file.
|
|
||||||
|
|
||||||
The source code of each library should be placed in an own separate directory
|
|
||||||
("lib/your_library_name/[here are source files]").
|
|
||||||
|
|
||||||
For example, see a structure of the following two libraries `Foo` and `Bar`:
|
|
||||||
|
|
||||||
|--lib
|
|
||||||
| |
|
|
||||||
| |--Bar
|
|
||||||
| | |--docs
|
|
||||||
| | |--examples
|
|
||||||
| | |--src
|
|
||||||
| | |- Bar.c
|
|
||||||
| | |- Bar.h
|
|
||||||
| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
|
|
||||||
| |
|
|
||||||
| |--Foo
|
|
||||||
| | |- Foo.c
|
|
||||||
| | |- Foo.h
|
|
||||||
| |
|
|
||||||
| |- README --> THIS FILE
|
|
||||||
|
|
|
||||||
|- platformio.ini
|
|
||||||
|--src
|
|
||||||
|- main.c
|
|
||||||
|
|
||||||
and a contents of `src/main.c`:
|
|
||||||
```
|
|
||||||
#include <Foo.h>
|
|
||||||
#include <Bar.h>
|
|
||||||
|
|
||||||
int main (void)
|
|
||||||
{
|
|
||||||
...
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
PlatformIO Library Dependency Finder will find automatically dependent
|
|
||||||
libraries scanning project source files.
|
|
||||||
|
|
||||||
More information about PlatformIO Library Dependency Finder
|
|
||||||
- https://docs.platformio.org/page/librarymanager/ldf.html
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
; PlatformIO Project Configuration File
|
|
||||||
;
|
|
||||||
; Build options: build flags, source filter
|
|
||||||
; Upload options: custom upload port, speed and extra flags
|
|
||||||
; Library options: dependencies, extra library storages
|
|
||||||
; Advanced options: extra scripting
|
|
||||||
;
|
|
||||||
; Please visit documentation for the other options and examples
|
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
|
||||||
|
|
||||||
[env:esp32-c6-devkitc-1]
|
|
||||||
platform = espressif32
|
|
||||||
board = esp32-c6-devkitc-1
|
|
||||||
framework = espidf
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated file. DO NOT EDIT.
|
# Automatically generated file. DO NOT EDIT.
|
||||||
# Espressif IoT Development Framework (ESP-IDF) 5.2.1 Project Configuration
|
# Espressif IoT Development Framework (ESP-IDF) 5.2.2 Project Configuration
|
||||||
#
|
#
|
||||||
CONFIG_SOC_ADC_SUPPORTED=y
|
CONFIG_SOC_ADC_SUPPORTED=y
|
||||||
CONFIG_SOC_DEDICATED_GPIO_SUPPORTED=y
|
CONFIG_SOC_DEDICATED_GPIO_SUPPORTED=y
|
||||||
@ -111,8 +111,6 @@ CONFIG_SOC_GPIO_PIN_COUNT=31
|
|||||||
CONFIG_SOC_GPIO_SUPPORT_PIN_GLITCH_FILTER=y
|
CONFIG_SOC_GPIO_SUPPORT_PIN_GLITCH_FILTER=y
|
||||||
CONFIG_SOC_GPIO_FLEX_GLITCH_FILTER_NUM=8
|
CONFIG_SOC_GPIO_FLEX_GLITCH_FILTER_NUM=8
|
||||||
CONFIG_SOC_GPIO_SUPPORT_ETM=y
|
CONFIG_SOC_GPIO_SUPPORT_ETM=y
|
||||||
CONFIG_SOC_GPIO_ETM_EVENTS_PER_GROUP=8
|
|
||||||
CONFIG_SOC_GPIO_ETM_TASKS_PER_GROUP=8
|
|
||||||
CONFIG_SOC_GPIO_SUPPORT_RTC_INDEPENDENT=y
|
CONFIG_SOC_GPIO_SUPPORT_RTC_INDEPENDENT=y
|
||||||
CONFIG_SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP=y
|
CONFIG_SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP=y
|
||||||
CONFIG_SOC_GPIO_IN_RANGE_MAX=30
|
CONFIG_SOC_GPIO_IN_RANGE_MAX=30
|
||||||
@ -133,6 +131,7 @@ CONFIG_SOC_I2C_NUM=1
|
|||||||
CONFIG_SOC_I2C_FIFO_LEN=32
|
CONFIG_SOC_I2C_FIFO_LEN=32
|
||||||
CONFIG_SOC_I2C_CMD_REG_NUM=8
|
CONFIG_SOC_I2C_CMD_REG_NUM=8
|
||||||
CONFIG_SOC_I2C_SUPPORT_SLAVE=y
|
CONFIG_SOC_I2C_SUPPORT_SLAVE=y
|
||||||
|
CONFIG_SOC_I2C_SUPPORT_HW_FSM_RST=y
|
||||||
CONFIG_SOC_I2C_SUPPORT_HW_CLR_BUS=y
|
CONFIG_SOC_I2C_SUPPORT_HW_CLR_BUS=y
|
||||||
CONFIG_SOC_I2C_SUPPORT_XTAL=y
|
CONFIG_SOC_I2C_SUPPORT_XTAL=y
|
||||||
CONFIG_SOC_I2C_SUPPORT_RTC=y
|
CONFIG_SOC_I2C_SUPPORT_RTC=y
|
||||||
@ -291,6 +290,7 @@ CONFIG_SOC_UART_SUPPORT_PLL_F80M_CLK=y
|
|||||||
CONFIG_SOC_UART_SUPPORT_RTC_CLK=y
|
CONFIG_SOC_UART_SUPPORT_RTC_CLK=y
|
||||||
CONFIG_SOC_UART_SUPPORT_XTAL_CLK=y
|
CONFIG_SOC_UART_SUPPORT_XTAL_CLK=y
|
||||||
CONFIG_SOC_UART_SUPPORT_WAKEUP_INT=y
|
CONFIG_SOC_UART_SUPPORT_WAKEUP_INT=y
|
||||||
|
CONFIG_SOC_UART_HAS_LP_UART=y
|
||||||
CONFIG_SOC_UART_SUPPORT_FSM_TX_WAIT_SEND=y
|
CONFIG_SOC_UART_SUPPORT_FSM_TX_WAIT_SEND=y
|
||||||
CONFIG_SOC_COEX_HW_PTI=y
|
CONFIG_SOC_COEX_HW_PTI=y
|
||||||
CONFIG_SOC_EXTERNAL_COEX_ADVANCE=y
|
CONFIG_SOC_EXTERNAL_COEX_ADVANCE=y
|
||||||
@ -327,6 +327,7 @@ CONFIG_SOC_TEMPERATURE_SENSOR_SUPPORT_FAST_RC=y
|
|||||||
CONFIG_SOC_TEMPERATURE_SENSOR_SUPPORT_XTAL=y
|
CONFIG_SOC_TEMPERATURE_SENSOR_SUPPORT_XTAL=y
|
||||||
CONFIG_SOC_TEMPERATURE_SENSOR_INTR_SUPPORT=y
|
CONFIG_SOC_TEMPERATURE_SENSOR_INTR_SUPPORT=y
|
||||||
CONFIG_SOC_WIFI_HW_TSF=y
|
CONFIG_SOC_WIFI_HW_TSF=y
|
||||||
|
CONFIG_SOC_WIFI_FTM_SUPPORT=y
|
||||||
CONFIG_SOC_WIFI_GCMP_SUPPORT=y
|
CONFIG_SOC_WIFI_GCMP_SUPPORT=y
|
||||||
CONFIG_SOC_WIFI_WAPI_SUPPORT=y
|
CONFIG_SOC_WIFI_WAPI_SUPPORT=y
|
||||||
CONFIG_SOC_WIFI_CSI_SUPPORT=y
|
CONFIG_SOC_WIFI_CSI_SUPPORT=y
|
||||||
@ -349,7 +350,7 @@ CONFIG_IDF_TOOLCHAIN="gcc"
|
|||||||
CONFIG_IDF_TARGET_ARCH_RISCV=y
|
CONFIG_IDF_TARGET_ARCH_RISCV=y
|
||||||
CONFIG_IDF_TARGET_ARCH="riscv"
|
CONFIG_IDF_TARGET_ARCH="riscv"
|
||||||
CONFIG_IDF_TARGET="esp32c6"
|
CONFIG_IDF_TARGET="esp32c6"
|
||||||
CONFIG_IDF_INIT_VERSION="5.2.1"
|
CONFIG_IDF_INIT_VERSION="5.2.2"
|
||||||
CONFIG_IDF_TARGET_ESP32C6=y
|
CONFIG_IDF_TARGET_ESP32C6=y
|
||||||
CONFIG_IDF_FIRMWARE_CHIP_ID=0x000D
|
CONFIG_IDF_FIRMWARE_CHIP_ID=0x000D
|
||||||
|
|
||||||
@ -558,6 +559,7 @@ CONFIG_APPTRACE_LOCK_ENABLE=y
|
|||||||
# Bluetooth
|
# Bluetooth
|
||||||
#
|
#
|
||||||
# CONFIG_BT_ENABLED is not set
|
# CONFIG_BT_ENABLED is not set
|
||||||
|
CONFIG_BT_ALARM_MAX_NUM=50
|
||||||
# end of Bluetooth
|
# end of Bluetooth
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -752,7 +754,10 @@ CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR=y
|
|||||||
#
|
#
|
||||||
# GDB Stub
|
# GDB Stub
|
||||||
#
|
#
|
||||||
|
CONFIG_ESP_GDBSTUB_ENABLED=y
|
||||||
# CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set
|
# CONFIG_ESP_SYSTEM_GDBSTUB_RUNTIME is not set
|
||||||
|
CONFIG_ESP_GDBSTUB_SUPPORT_TASKS=y
|
||||||
|
CONFIG_ESP_GDBSTUB_MAX_TASKS=32
|
||||||
# end of GDB Stub
|
# end of GDB Stub
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -924,11 +929,11 @@ CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y
|
|||||||
CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20
|
CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=20
|
||||||
CONFIG_ESP_PHY_MAX_TX_POWER=20
|
CONFIG_ESP_PHY_MAX_TX_POWER=20
|
||||||
# CONFIG_ESP_PHY_REDUCE_TX_POWER is not set
|
# CONFIG_ESP_PHY_REDUCE_TX_POWER is not set
|
||||||
# CONFIG_ESP_PHY_ENABLE_USB is not set
|
|
||||||
CONFIG_ESP_PHY_RF_CAL_PARTIAL=y
|
CONFIG_ESP_PHY_RF_CAL_PARTIAL=y
|
||||||
# CONFIG_ESP_PHY_RF_CAL_NONE is not set
|
# CONFIG_ESP_PHY_RF_CAL_NONE is not set
|
||||||
# CONFIG_ESP_PHY_RF_CAL_FULL is not set
|
# CONFIG_ESP_PHY_RF_CAL_FULL is not set
|
||||||
CONFIG_ESP_PHY_CALIBRATION_MODE=0
|
CONFIG_ESP_PHY_CALIBRATION_MODE=0
|
||||||
|
# CONFIG_ESP_PHY_PLL_TRACK_DEBUG is not set
|
||||||
# end of PHY
|
# end of PHY
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1072,6 +1077,7 @@ CONFIG_ESP_WIFI_ENABLE_SAE_PK=y
|
|||||||
CONFIG_ESP_WIFI_SOFTAP_SAE_SUPPORT=y
|
CONFIG_ESP_WIFI_SOFTAP_SAE_SUPPORT=y
|
||||||
CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y
|
CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA=y
|
||||||
# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set
|
# CONFIG_ESP_WIFI_SLP_IRAM_OPT is not set
|
||||||
|
# CONFIG_ESP_WIFI_FTM_ENABLE is not set
|
||||||
CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
|
CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE=y
|
||||||
# CONFIG_ESP_WIFI_GCMP_SUPPORT is not set
|
# CONFIG_ESP_WIFI_GCMP_SUPPORT is not set
|
||||||
# CONFIG_ESP_WIFI_GMAC_SUPPORT is not set
|
# CONFIG_ESP_WIFI_GMAC_SUPPORT is not set
|
||||||
@ -1180,6 +1186,7 @@ CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
|
|||||||
CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1
|
CONFIG_FREERTOS_TASK_NOTIFICATION_ARRAY_ENTRIES=1
|
||||||
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
|
# CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
|
||||||
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
|
# CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
|
||||||
|
# CONFIG_FREERTOS_USE_APPLICATION_TASK_TAG is not set
|
||||||
# end of Kernel
|
# end of Kernel
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1484,7 +1491,9 @@ CONFIG_MBEDTLS_CMAC_C=y
|
|||||||
CONFIG_MBEDTLS_HARDWARE_AES=y
|
CONFIG_MBEDTLS_HARDWARE_AES=y
|
||||||
CONFIG_MBEDTLS_AES_USE_INTERRUPT=y
|
CONFIG_MBEDTLS_AES_USE_INTERRUPT=y
|
||||||
CONFIG_MBEDTLS_AES_INTERRUPT_LEVEL=0
|
CONFIG_MBEDTLS_AES_INTERRUPT_LEVEL=0
|
||||||
|
# CONFIG_MBEDTLS_GCM_SUPPORT_NON_AES_CIPHER is not set
|
||||||
CONFIG_MBEDTLS_HARDWARE_MPI=y
|
CONFIG_MBEDTLS_HARDWARE_MPI=y
|
||||||
|
CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI=y
|
||||||
CONFIG_MBEDTLS_MPI_USE_INTERRUPT=y
|
CONFIG_MBEDTLS_MPI_USE_INTERRUPT=y
|
||||||
CONFIG_MBEDTLS_MPI_INTERRUPT_LEVEL=0
|
CONFIG_MBEDTLS_MPI_INTERRUPT_LEVEL=0
|
||||||
CONFIG_MBEDTLS_HARDWARE_SHA=y
|
CONFIG_MBEDTLS_HARDWARE_SHA=y
|
||||||
@ -1573,7 +1582,7 @@ CONFIG_MBEDTLS_ECP_FIXED_POINT_OPTIM=y
|
|||||||
# CONFIG_MBEDTLS_CHACHA20_C is not set
|
# CONFIG_MBEDTLS_CHACHA20_C is not set
|
||||||
# CONFIG_MBEDTLS_HKDF_C is not set
|
# CONFIG_MBEDTLS_HKDF_C is not set
|
||||||
# CONFIG_MBEDTLS_THREADING_C is not set
|
# CONFIG_MBEDTLS_THREADING_C is not set
|
||||||
CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI=y
|
CONFIG_MBEDTLS_ERROR_STRINGS=y
|
||||||
# end of mbedTLS
|
# end of mbedTLS
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -1874,6 +1883,8 @@ CONFIG_ESP_WIFI_SW_COEXIST_ENABLE=y
|
|||||||
# CONFIG_EVENT_LOOP_PROFILING is not set
|
# CONFIG_EVENT_LOOP_PROFILING is not set
|
||||||
CONFIG_POST_EVENTS_FROM_ISR=y
|
CONFIG_POST_EVENTS_FROM_ISR=y
|
||||||
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
|
CONFIG_POST_EVENTS_FROM_IRAM_ISR=y
|
||||||
|
CONFIG_GDBSTUB_SUPPORT_TASKS=y
|
||||||
|
CONFIG_GDBSTUB_MAX_TASKS=32
|
||||||
# CONFIG_OTA_ALLOW_HTTP is not set
|
# CONFIG_OTA_ALLOW_HTTP is not set
|
||||||
# CONFIG_ESP_SYSTEM_PD_FLASH is not set
|
# CONFIG_ESP_SYSTEM_PD_FLASH is not set
|
||||||
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
|
CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE=y
|
||||||
@ -1,6 +1,16 @@
|
|||||||
# This file was automatically generated for projects
|
# This file was automatically generated for projects
|
||||||
# without default 'CMakeLists.txt' file.
|
# without default 'CMakeLists.txt' file.
|
||||||
|
|
||||||
FILE(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/src/*.c)
|
idf_component_register(
|
||||||
|
SRCS
|
||||||
idf_component_register(SRCS ${app_sources})
|
./main.c
|
||||||
|
./utils.c
|
||||||
|
./wifi.c
|
||||||
|
./wifi_scan.c
|
||||||
|
./led.c
|
||||||
|
./commands.c
|
||||||
|
INCLUDE_DIRS "./"
|
||||||
|
PRIV_REQUIRES
|
||||||
|
cli
|
||||||
|
spi_flash driver nvs_flash esp_wifi
|
||||||
|
)
|
||||||
|
|||||||
@ -26,12 +26,12 @@ int cmd_contrl(char* line, void* cli)
|
|||||||
extern volatile bool running;
|
extern volatile bool running;
|
||||||
int cmd_shutdown(char* line, void* cli)
|
int cmd_shutdown(char* line, void* cli)
|
||||||
{
|
{
|
||||||
CLI_stringOut(cli, "goodby.\n");
|
CLI_stringOut((CLI_t*)cli, "goodby.\n");
|
||||||
running = false;
|
running = false;
|
||||||
return INT_MIN;
|
return INT_MIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cmd_status(char* line, CLI_t* cli)
|
int cmd_status(char* line, void* cli)
|
||||||
{
|
{
|
||||||
char* arg = getNextArg(line, ':');
|
char* arg = getNextArg(line, ':');
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
@ -60,15 +60,15 @@ int cmd_status(char* line, CLI_t* cli)
|
|||||||
{
|
{
|
||||||
case BOAT_AVAILABLE:
|
case BOAT_AVAILABLE:
|
||||||
snprintf(&str[0], 20, "status:available\n");
|
snprintf(&str[0], 20, "status:available\n");
|
||||||
CLI_stringOut(cli, &str[0]);
|
CLI_stringOut((CLI_t*)cli, &str[0]);
|
||||||
break;
|
break;
|
||||||
case BOAT_INCTRL:
|
case BOAT_INCTRL:
|
||||||
snprintf(&str[0], 20, "status:inctrl\n");
|
snprintf(&str[0], 20, "status:inctrl\n");
|
||||||
CLI_stringOut(cli, &str[0]);
|
CLI_stringOut((CLI_t*)cli, &str[0]);
|
||||||
break;
|
break;
|
||||||
case BOAT_LOCKED:
|
case BOAT_LOCKED:
|
||||||
snprintf(&str[0], 20, "status:locked\n");
|
snprintf(&str[0], 20, "status:locked\n");
|
||||||
CLI_stringOut(cli, &str[0]);
|
CLI_stringOut((CLI_t*)cli, &str[0]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ char* readInt(char* str, int* out)
|
|||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
int setLed(char* line, CLI_t* cli)
|
int setLed(char* line, void* cli)
|
||||||
{
|
{
|
||||||
int r, g, b;
|
int r, g, b;
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ int setLed(char* line, CLI_t* cli)
|
|||||||
|
|
||||||
char msg[30];
|
char msg[30];
|
||||||
snprintf(&msg[0], 30, "led: r%d g%d n%d\n", r, g, b);
|
snprintf(&msg[0], 30, "led: r%d g%d n%d\n", r, g, b);
|
||||||
CLI_stringOut(cli, &msg[0]);
|
CLI_stringOut((CLI_t*)cli, &msg[0]);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#define UDP_PORT 1234
|
#define UDP_PORT 1234
|
||||||
|
|
||||||
static uint8_t BoatId = 1;
|
// static uint8_t BoatId = 1;
|
||||||
|
|
||||||
// cli config
|
// cli config
|
||||||
#define HISTORY
|
#define HISTORY
|
||||||
|
|||||||
@ -7,8 +7,8 @@
|
|||||||
#include "esp_event.h"
|
#include "esp_event.h"
|
||||||
#include "esp_task_wdt.h"
|
#include "esp_task_wdt.h"
|
||||||
|
|
||||||
#include "CLI/CLI.h"
|
#include <CLI/CLI.h>
|
||||||
#include "CMDList/CMDList.h"
|
#include <CMDList/CMDList.h>
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|||||||
@ -18,8 +18,6 @@ static uint8_t channel_list[CHANNEL_LIST_SIZE] = {1, 6, 11};
|
|||||||
|
|
||||||
wifi_ap_record_t ap_info[SCAN_LIST_SIZE];
|
wifi_ap_record_t ap_info[SCAN_LIST_SIZE];
|
||||||
|
|
||||||
static const char *TAG_SCAN = "scan";
|
|
||||||
|
|
||||||
static void print_auth_mode(int authmode)
|
static void print_auth_mode(int authmode)
|
||||||
{
|
{
|
||||||
switch (authmode) {
|
switch (authmode) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user