Baji_Rtc_Toy/05-最新日志.txt
Rdzleo bcfd35b9b8 chore: 从 Git 索引中移除 build/ 和 sdkconfig.old
build/ 目录和 sdkconfig.old 之前已被提交到仓库,
.gitignore 只能忽略未跟踪文件。
使用 git rm --cached 从索引中移除,本地文件不受影响。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 17:10:45 +08:00

516 lines
26 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

rdzleo@RdzleodeMac-Studio Baji_Rtc_Toy % '/Users/rdzleo/.espressif/python_env/idf5.4_py3.13_env/bin/python3' '/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/t
ools/idf_monitor.py' -p /dev/tty.usbmodem834401 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --make ''/Users/rdzleo/.espressif/python_env/idf5.4_py3
.13_env/bin/python3' '/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/tools/idf.py'' --target esp32s3 '/Users/rdzleo/Desktop/Baji_Rtc_Toy/build/kapi.elf'
--- Warning: Serial ports accessed as /dev/tty.* will hang gdb if launched.
--- Using /dev/cu.usbmodem834401 instead...
--- esp-idf-monitor 1.8.0 on /dev/cu.usbmodem834401 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x42143b2f
--- 0x42143b2f: timer_process_alarm at /Users/rdzleo/esp/esp-idf/components/esp_timer/src/esp_timer.c:413
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x56c
load:0x403c8700,len:0x4
load:0x403c8704,len:0xb88
load:0x403cb700,len:0x2df4
entry 0x403c88f4
I (50) WeatherApi: 初始化天气API配置 - 默认城市: 北京
I (50) WeatherApi: WiFi位置缓存限制已设置为: 5 条
I (51) coexist: coex firmware version: 831ec70
I (51) coexist: coexist rom version e7ae62f
I (52) main_task: Started on CPU0
I (62) main_task: Calling app_main()
I (82) BackgroundTask: background_task started
I (82) BluetoothProvisioning: 蓝牙配网对象创建完成
I (82) button: IoT Button Version: 3.5.0
I (82) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (82) button: IoT Button Version: 3.5.0
I (82) gpio: GPIO[4]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (82) Airhub1: 初始化按钮...
I (82) Airhub1: Boot button initialized on GPIO0
I (82) Airhub1: Volume up button initialized on GPIO-1
I (82) Airhub1: Volume down button initialized on GPIO-1
I (82) Airhub1: 故事按键已初始化GPIO引脚 =4
I (82) Airhub1: 所有按键已成功初始化!
I (82) Airhub1: Initializing I2C master bus for audio codec...
I (82) Airhub1: Scanning I2C bus for devices...
I (82) Airhub1: I2C设备在线: 0x18
I (82) Airhub1: I2C设备在线: 0x40
I (82) Airhub1: I2C scan completed. Found 2 devices
I (82) DZBJ: 开始初始化 dzbj 显示模块...
I (82) gpio: GPIO[7]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (82) st77916: LCD panel create success, version: 1.0.1
W (212) st77916: The 3Ah command has been used and will be overwritten by external initialization sequence
I (332) LCD: LCD GRAM cleared (black filled)
I (332) DZBJ: LCD 硬件初始化完成
I (332) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2
I (332) gpio: GPIO[6]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (732) CST816S: IC id: 182
I (732) LCD: Touch controller initialized successfully
I (732) LVGL: Starting LVGL task
I (732) LCD: LVGL buffer: 14400 bytes (W:360, Lines:20, DMA, single)
I (732) LCD: Touch controller added to LVGL
I (732) DZBJ: LVGL 初始化完成
I (742) DZBJ: UI 初始化完成
I (842) DZBJ: 背光已点亮dzbj 显示模块初始化完成
I (842) Airhub1: IMU传感器未初始化跳过IoT注册
I (842) Airhub1: Initializing battery monitor...
I (842) Airhub1: ADC calibration initialized
I (842) Airhub1: 电池状态监控已初始化GPIO:3
I (842) Airhub1: 非生产测试模式且不在对话状态,姿态传感器业务已禁用以节约资源
I (842) PowerSaveTimer: Power save timer enabled
I (842) Airhub1: 🔋 PowerSaveTimer已启用20秒无活动将进入低功耗模式
I (842) Airhub1: 电容触摸板按钮已禁用 (ENABLE_TOUCH_PAD_BUTTONS=0)
I (842) Application: 打印设置设备状态日志: starting
I (842) Application: 正常启动流程,将执行开机播报和网络连接播报
I (842) Airhub1: Initializing audio codec (duplex)...
I (842) Airhub1: Creating BoxAudioCodec (ES8311+ES7210, without reference) ...
I (842) BoxAudioCodec: Duplex channels created
I (852) ES8311: Work in Slave mode
I (852) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (852) ES7210: Work in Slave mode
I (862) ES7210: Enable ES7210_INPUT_MIC1
I (862) ES7210: Enable ES7210_INPUT_MIC2
I (872) BoxAudioCodec: BoxAudioDevice initialized (duplex)
I (872) Airhub1: Audio codec initialized successfully
I (872) Application: 检测到WiFi板卡将opus编码器复杂度设置为3
I (872) OpusResampler: Resampler configured with input sample rate 16000, output sample rate 8000, and channels 1
I (872) I2S_IF: channel mode 2 bits:16/16 channel:2 mask:1
I (872) I2S_IF: TDM Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:1
I (872) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:1
I (872) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:1
I (872) ES7210: Bits 16
I (882) ES7210: Enable ES7210_INPUT_MIC1
I (882) ES7210: Enable ES7210_INPUT_MIC2
I (892) ES7210: Unmuted
I (892) Adev_Codec: Open codec device OK
I (892) BoxAudioCodec: Input opened: sr=16000 ch=1 mask=0x1 ref=0
I (892) AudioCodec: Set input enable to true
I (892) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:1
I (892) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:1
I (912) Adev_Codec: Open codec device OK
I (912) AudioCodec: Set output enable to true
I (912) AudioCodec: Audio codec started
I (1012) Airhub1: ADC: 2370, 原始电压: 2.37V, 计算电池电压: 10.29V, 电量: 100%, 满电电压: 4.20V
I (1012) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1112) Airhub1: ADC: 2368, 原始电压: 2.37V, 计算电池电压: 10.28V, 电量: 100%, 满电电压: 4.20V
I (1112) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1212) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1212) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1322) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1322) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1422) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1422) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1522) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1522) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1622) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1622) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1722) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1722) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1822) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1822) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1922) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1922) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (1942) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (1942) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2022) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2022) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2122) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2122) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2222) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2222) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2322) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2322) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2422) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2422) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2522) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2522) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2622) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2622) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2722) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2722) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2822) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2822) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2922) Airhub1: ADC: 2367, 原始电压: 2.37V, 计算电池电压: 10.27V, 电量: 100%, 满电电压: 4.20V
I (2922) BluetoothMAC: Bluetooth MAC Address: d0:cf:13:03:bb:f2
I (2922) AudioCodec: 将运行时输出音量设置为80
I (2922) Application: 设备启动完成,播放开机播报语音
I (2922) pp: pp rom version: e7ae62f
I (2922) net80211: net80211 rom version: e7ae62f
I (2932) wifi:wifi driver task: 3fce5690, prio:23, stack:6656, core=0
I (2932) wifi:wifi firmware version: 3263cda
I (2932) wifi:wifi certification version: v7.0
I (2932) wifi:config NVS flash: disabled
I (2932) wifi:config nano formatting: disabled
I (2932) wifi:Init data frame dynamic rx buffer num: 32
I (2932) wifi:Init dynamic rx mgmt buffer num: 5
I (2932) wifi:Init management short buffer num: 32
I (2932) wifi:Init static tx buffer num: 8
I (2932) wifi:Init tx cache buffer num: 32
I (2932) wifi:Init static tx FG buffer num: 2
I (2932) wifi:Init static rx buffer size: 1600
I (2932) wifi:Init static rx buffer num: 10
I (2932) wifi:Init dynamic rx buffer num: 32
I (2932) wifi_init: rx ba win: 16
I (2932) wifi_init: accept mbox: 6
I (2932) wifi_init: tcpip mbox: 32
I (2932) wifi_init: udp mbox: 6
I (2932) wifi_init: tcp mbox: 6
I (2932) wifi_init: tcp tx win: 5760
I (2932) wifi_init: tcp rx win: 5760
I (2932) wifi_init: tcp mss: 1440
I (2932) wifi_init: WiFi/LWIP prefer SPIRAM
I (2932) phy_init: phy_version 701,f4f1da3a,Mar 3 2025,15:50:10
I (2972) phy_init: Saving new calibration data due to checksum failure or outdated calibration data, mode(0)
I (2972) Application: 开始播放下行音频: 样本=960 采样率=16000
I (3022) wifi:mode : sta (d0:cf:13:03:bb:f0)
I (3022) wifi:enable tsf
I (5432) wifi: 发现可连接 AP: airhub, BSSID: 70:2a:d7:85:bc:eb, RSSI: -36, Channel: 1, Authmode: 3
I (5432) WifiBoard: Starting WiFi connection, playing network connection sound
W (5432) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
I (5522) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
I (5522) wifi:state: init -> auth (0xb0)
I (5532) wifi:state: auth -> assoc (0x0)
I (5542) wifi:state: assoc -> run (0x10)
I (5582) wifi:connected with airhub, aid = 3, channel 1, BW20, bssid = 70:2a:d7:85:bc:eb
I (5582) wifi:security: WPA2-PSK, phy: bgn, rssi: -38
I (5582) wifi:pm start, type: 1
I (5582) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (5582) wifi:set rx beacon pti, rx_bcn_pti: 14, bcn_timeout: 25000, mt_pti: 14, mt_time: 10000
I (5682) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (5842) Airhub1: 📤 设备状态上报已启用每30秒上报一次
I (6992) Airhub1: BOOT button clicked
I (6992) Airhub1: 🔄 BOOT按键触发设备状态=1WiFi连接状态=未连接
I (6992) Airhub1: 🔄 开始重置WiFi配置清除已保存的WiFi凭据
I (6992) wifi:state: run -> init (0x0)
I (6992) wifi:pm stop, total sleep time: 1072363 us / 1413544 us
I (6992) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
I (6992) wifi: Reconnecting airhub (attempt 1 / 5)
I (7102) wifi:flush txq
I (7102) wifi:stop sw txq
I (7102) wifi:lmac stop hw txq
I (7102) Airhub1: ✅ 已清除所有WiFi凭据设备将进入配网模式
I (7102) WifiBoard: 🔄 重置WiFi配置设备将重启进入配网模式
I (7612) WifiBoard: 🔄 正在重启设备...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x40379e85
--- 0x40379e85: esp_restart_noos at /Users/rdzleo/esp/esp-idf/components/esp_system/port/soc/esp32s3/system_internal.c:162
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x56c
load:0x403c8700,len:0x4
load:0x403c8704,len:0xb88
load:0x403cb700,len:0x2df4
entry 0x403c88f4
I (49) WeatherApi: 初始化天气API配置 - 默认城市: 北京
I (50) WeatherApi: WiFi位置缓存限制已设置为: 5 条
I (50) coexist: coex firmware version: 831ec70
I (51) coexist: coexist rom version e7ae62f
I (51) main_task: Started on CPU0
I (61) main_task: Calling app_main()
I (81) BackgroundTask: background_task started
I (81) BluetoothProvisioning: 蓝牙配网对象创建完成
I (81) WifiBoard: force_ap is set to 1, will clear in StartNetwork()
I (81) button: IoT Button Version: 3.5.0
I (81) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (81) button: IoT Button Version: 3.5.0
I (81) gpio: GPIO[4]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (81) Airhub1: 初始化按钮...
I (81) Airhub1: Boot button initialized on GPIO0
I (81) Airhub1: Volume up button initialized on GPIO-1
I (81) Airhub1: Volume down button initialized on GPIO-1
I (81) Airhub1: 故事按键已初始化GPIO引脚 =4
I (81) Airhub1: 所有按键已成功初始化!
I (81) Airhub1: Initializing I2C master bus for audio codec...
I (81) Airhub1: Scanning I2C bus for devices...
I (81) Airhub1: I2C设备在线: 0x18
I (81) Airhub1: I2C设备在线: 0x40
I (81) Airhub1: I2C scan completed. Found 2 devices
I (81) DZBJ: 开始初始化 dzbj 显示模块...
I (81) gpio: GPIO[7]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (81) st77916: LCD panel create success, version: 1.0.1
W (211) st77916: The 3Ah command has been used and will be overwritten by external initialization sequence
I (331) LCD: LCD GRAM cleared (black filled)
I (331) DZBJ: LCD 硬件初始化完成
I (331) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2
I (331) gpio: GPIO[6]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (731) CST816S: IC id: 182
I (731) LCD: Touch controller initialized successfully
I (731) LVGL: Starting LVGL task
I (731) LCD: LVGL buffer: 14400 bytes (W:360, Lines:20, DMA, single)
I (731) LCD: Touch controller added to LVGL
I (731) DZBJ: LVGL 初始化完成
I (741) DZBJ: UI 初始化完成
I (841) DZBJ: 背光已点亮dzbj 显示模块初始化完成
I (841) Airhub1: IMU传感器未初始化跳过IoT注册
I (841) Airhub1: 配网模式跳过电池检测、IMU传感器、低功耗管理
I (841) Airhub1: 电容触摸板按钮已禁用 (ENABLE_TOUCH_PAD_BUTTONS=0)
I (841) Application: 打印设置设备状态日志: starting
I (841) Application: 正常启动流程,将执行开机播报和网络连接播报
I (841) Airhub1: Initializing audio codec (output only)...
I (841) Airhub1: Creating BoxAudioCodec (ES8311, without reference) ...
I (841) BoxAudioCodec: TX-only channel created (provisioning mode)
I (841) ES8311: Work in Slave mode
I (851) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (851) BoxAudioCodec: BoxAudioDevice initialized (output only)
I (851) Airhub1: Audio codec initialized successfully
I (851) Application: 配网模式:跳过 Opus 编码器、输入重采样器、麦克风输入
I (851) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:1
I (851) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:1
I (861) Adev_Codec: Open codec device OK
I (861) AudioCodec: Set output enable to true
I (871) AudioCodec: Audio codec started (output only, provisioning mode)
I (871) AudioCodec: 将运行时输出音量设置为80
I (871) Application: 设备启动完成,播放开机播报语音
I (881) WifiBoard: force_ap cleared to 0
I (881) WifiBoard: 🔵 进入配网模式 - BLE蓝牙配网
I (881) WifiBoard: 🔵 进入配网模式 - 使用BLE蓝牙配网
I (881) WifiBoard: 🔵 正在启动BLE蓝牙配网服务...
I (881) Application: 🎵 测试模式:音频开始播放,等待播放完成
I (881) Application: ✅ 测试模式:音频播放完成
I (881) BluetoothProvisioning: 🔄 配网状态变化: IDLE -> INITIALIZING
I (881) BluetoothProvisioning: 初始化WiFi...
I (881) pp: pp rom version: e7ae62f
I (881) net80211: net80211 rom version: e7ae62f
I (891) wifi:wifi driver task: 3fce2524, prio:23, stack:6656, core=0
I (891) wifi:wifi firmware version: 3263cda
I (891) wifi:wifi certification version: v7.0
I (891) wifi:config NVS flash: enabled
I (891) wifi:config nano formatting: disabled
I (891) wifi:Init data frame dynamic rx buffer num: 32
I (891) wifi:Init dynamic rx mgmt buffer num: 5
I (891) wifi:Init management short buffer num: 32
I (891) wifi:Init static tx buffer num: 8
I (891) wifi:Init tx cache buffer num: 32
I (891) wifi:Init static tx FG buffer num: 2
I (891) wifi:Init static rx buffer size: 1600
I (901) wifi:Init static rx buffer num: 10
I (901) wifi:Init dynamic rx buffer num: 32
I (901) wifi_init: rx ba win: 16
I (901) wifi_init: accept mbox: 6
I (901) wifi_init: tcpip mbox: 32
I (901) wifi_init: udp mbox: 6
I (901) wifi_init: tcp mbox: 6
I (901) wifi_init: tcp tx win: 5760
I (901) wifi_init: tcp rx win: 5760
I (901) wifi_init: tcp mss: 1440
I (901) wifi_init: WiFi/LWIP prefer SPIRAM
I (901) phy_init: phy_version 701,f4f1da3a,Mar 3 2025,15:50:10
I (941) wifi:mode : sta (d0:cf:13:03:bb:f0)
I (941) wifi:enable tsf
I (941) BluetoothProvisioning: WiFi初始化完成
I (941) BluetoothProvisioning: 初始化蓝牙控制器...
I (941) BLE_INIT: BT controller compile version [2edb0b0]
I (941) BLE_INIT: Using main XTAL as clock source
I (941) BLE_INIT: Feature Config, ADV:1, BLE_50:0, DTM:1, SCAN:1, CCA:0, SMP:1, CONNECT:1
I (941) BLE_INIT: Bluetooth MAC: d0:cf:13:03:bb:f2
I (951) BluetoothProvisioning: 初始化Bluedroid协议栈...
I (961) BluetoothProvisioning: 注册 BLE GAP/GATTS 回调...
I (961) BluetoothProvisioning: ✅ GATTS App 注册成功, gatts_if=3
I (961) BluetoothProvisioning: Service 创建成功, handle=40
I (961) BluetoothProvisioning: WRITE 特征添加成功, handle=42
I (961) BluetoothProvisioning: NOTIFY 特征添加成功, handle=44
I (961) BluetoothProvisioning: CCCD 添加成功, handle=45
I (961) BluetoothProvisioning: ✅ GATT Service 启动成功
I (961) BluetoothProvisioning: 注册WiFi事件处理器...
I (961) BluetoothProvisioning: 🔄 配网状态变化: INITIALIZING -> IDLE
I (961) BluetoothProvisioning: 蓝牙配网初始化完成 (GATT Server 模式)
I (961) BluetoothProvisioning: 蓝牙MAC地址: d0:cf:13:03:bb:f2
I (961) WifiBoard: 🔍 BLE Initialize返回结果: true
I (961) BluetoothProvisioning: 🔵 开始启动蓝牙配网服务 (GATT Server)...
I (961) BluetoothProvisioning: 🔍 检查初始化状态: initialized_ = true
I (961) BluetoothProvisioning: MAC地址发送状态已重置
I (961) BluetoothProvisioning: 🔄 MAC地址发送状态已重置
I (961) BluetoothProvisioning: 🧹 清除之前的WiFi凭据...
I (961) BluetoothProvisioning: ✅ WiFi凭据清除完成准备接收新的配网信息
I (961) BluetoothProvisioning: 📡 蓝牙设备名称: Airhub_d0:cf:13:03:bb:f2
I (961) BluetoothProvisioning: 📡 广播数据构建完成,长度: 29 字节
I (961) BluetoothProvisioning: 📡 扫描响应数据构建完成,长度: 7 字节
I (971) BluetoothProvisioning: 📡 广播数据设置完成,配置扫描响应数据
E (971) BLE_INIT: Malloc failed
E (971) BT_HCI: CC evt: op=0x2009, status=0x7
I (971) BluetoothProvisioning: 📡 扫描响应数据设置完成,启动广播
I (971) BluetoothProvisioning: ✅ 广播启动成功
I (971) BluetoothProvisioning: 🔄 配网状态变化: IDLE -> ADVERTISING
I (971) BluetoothProvisioning: 蓝牙配网广播已启动,等待客户端连接...
I (971) WifiBoard: ✅ BLE蓝牙配网启动成功
I (971) WifiBoard: 📱 请使用支持BLE的手机APP连接设备进行配网
W (971) Application: Alert BLE配网模式: 请使用手机APP搜索Airhub_开头的蓝牙设备 []
I (971) WifiBoard: 🔍 BLE配网启动结果: 成功
I (971) WifiBoard: ✅ BLE配网启动成功等待手机连接
I (971) Application: 配网模式:跳过协议初始化、位置检测等网络业务
I (971) Application: 打印设置设备状态日志: idle
I (971) WeatherApi: [AutoDetectAndSetLocation] 调用全局函数自动检测位置
I (971) WeatherApi: [AutoDetectLocation] ===== 开始自动检测位置 =====
W (971) wifi:Haven't to connect to a suitable AP now!
I (971) WeatherApi: [AutoDetectLocation] 从NVS命中位置: '广州市',已更新默认城市
I (971) WeatherApi: [AutoDetectLocation] ===== 位置检测完成 =====
I (971) main_task: Returned from app_main()
I (1001) Application: 开始播放下行音频: 样本=960 采样率=16000
I (13481) AudioCodec: Set output enable to false
I (23591) BluetoothProvisioning: 📱 客户端已连接, conn_id=0, addr=6b:a1:99:6d:51:25
I (23591) BluetoothProvisioning: 🔍 [DEBUG] 设置client_connected_为true
I (23591) BluetoothProvisioning: MAC地址发送状态已重置
I (23591) BluetoothProvisioning: 🔄 MAC地址发送状态已重置
I (23591) BluetoothProvisioning: 🔄 配网状态变化: ADVERTISING -> CONNECTED
I (23591) WifiBoard: BLE client connected
I (23591) BluetoothProvisioning: 🔍 [DEBUG] BLE连接处理完成client_connected_=true
I (23591) BluetoothProvisioning: 广播已停止
I (23951) BluetoothProvisioning: 连接参数更新: status=0, conn_int=24, latency=0, timeout=400
I (24281) BluetoothProvisioning: 连接参数更新: status=0, conn_int=6, latency=0, timeout=500
I (24351) BluetoothProvisioning: MTU 更新: 512
I (24431) BluetoothProvisioning: 连接参数更新: status=0, conn_int=24, latency=0, timeout=400
I (24791) BluetoothProvisioning: NOTIFY 已启用
I (24851) BluetoothProvisioning: 📱 手机请求获取WiFi列表开始扫描
W (24851) wifi:Error! Should use default active scan time parameter for WiFi scan when Bluetooth is enabled!!!!!!
I (24861) BluetoothProvisioning: 🔍 WiFi扫描已启动
I (33621) BluetoothProvisioning: 📡 WiFi扫描完成准备发送WiFi列表
I (33621) BluetoothProvisioning: 📊 扫描到 57 个WiFi热点
I (33631) BluetoothProvisioning: ✅ 成功获取WiFi扫描结果
I (33631) BluetoothProvisioning: 📊 过滤后剩余 33 个2.4GHz热点 (原始: 57)
I (33631) BluetoothProvisioning: 向客户端发送WiFi列表共33个AP
I (34291) BluetoothProvisioning: 📤 WiFi列表已发送给客户端包含 33 个热点
I (34291) BluetoothProvisioning: 📤 WiFi列表已发送包含 33 个热点
I (45611) BluetoothProvisioning: 📶 收到WiFi SSID: airhub
I (45761) BluetoothProvisioning: 🔐 收到WiFi密码 (长度: 9)
W (45761) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
I (45791) BluetoothProvisioning: 📡 已发起WiFi连接请求启动超时监控
I (45791) WifiBoard: WiFi credentials received via BLE
I (45951) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
I (45951) wifi:state: init -> auth (0xb0)
I (46381) wifi:state: auth -> assoc (0x0)
I (46411) wifi:state: assoc -> run (0x10)
I (46491) wifi:connected with airhub, aid = 3, channel 1, BW20, bssid = 70:2a:d7:85:bc:eb
I (46491) wifi:security: WPA2-PSK, phy: bgn, rssi: -27
I (46501) wifi:pm start, type: 1
I (46501) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (46501) wifi:set rx beacon pti, rx_bcn_pti: 14, bcn_timeout: 25000, mt_pti: 14, mt_time: 10000
I (46501) BluetoothProvisioning: ✅ WiFi连接成功SSID: airhub等待获取IP地址
I (46501) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (48151) wifi:<ba-add>idx:0 (ifx:0, 70:2a:d7:85:bc:eb), tid:0, ssn:0, winSize:64
I (49371) esp_netif_handlers: sta ip: 192.168.124.22, mask: 255.255.255.0, gw: 192.168.124.1
I (49371) BluetoothProvisioning: ✅ WiFi获取IP地址成功: 192.168.124.22
I (49371) BluetoothProvisioning: 💾 启用WiFi配置自动保存到NVS存储...
I (49371) BluetoothProvisioning: ✅ WiFi配置将自动保存到NVS存储
I (49371) BluetoothProvisioning: 📋 获取当前WiFi配置成功SSID: airhub
I (49371) SsidManager: compare [airhub:6] [airhub:6]
W (49371) SsidManager: SSID airhub already exists, overwrite it
I (49371) BluetoothProvisioning: ✅ WiFi凭据已保存到NVS列表
I (49371) BluetoothProvisioning: BluetoothProvisioning WIFI_CONNECTED skip_session=0
I (49371) BluetoothProvisioning: 🔍 准备设置状态为SUCCESS并触发回调
I (49371) BluetoothProvisioning: 🔄 配网状态变化: CONNECTED -> SUCCESS
I (49371) WifiBoard: 设备配网成功,已连接到WiFi网络!
I (49371) BluetoothProvisioning: 🔍 [DEBUG] ReportWiFiStatus调用: success=true, client_connected_=true
I (49371) BluetoothProvisioning: 向客户端报告设备连接WiFi成功!
I (49371) BluetoothProvisioning: 📋 配网流程完成,状态: SUCCESS, client_connected_: true
I (49371) BluetoothProvisioning: ⏰ 延迟2000ms后重启设备以确保配置生效...
W (50081) wifi:m f null
W (50121) wifi:m f null
W (50181) wifi:m f null
W (51101) wifi:m f null
W (51151) wifi:m f null
W (51201) wifi:m f null
W (52071) wifi:m f null
W (52131) wifi:m f null
W (60981) wifi:m f null
W (61041) wifi:m f null
W (70981) wifi:m f null
W (71091) wifi:m f null
W (71181) wifi:m f null
W (71281) wifi:m f null
W (71391) wifi:m f null
W (71491) wifi:m f null
W (71591) wifi:m f null
W (71691) wifi:m f null
W (71801) wifi:m f null
W (71901) wifi:m f null
W (72001) wifi:m f null
W (72101) wifi:m f null
W (72211) wifi:m f null
W (72311) wifi:m f null
W (72411) wifi:m f null
W (72511) wifi:m f null
W (72621) wifi:m f null
W (72721) wifi:m f null
W (72831) wifi:m f null
W (72921) wifi:m f null
W (73031) wifi:m f null
W (73131) wifi:m f null
W (73231) wifi:m f null
W (73331) wifi:m f null
W (73441) wifi:m f null
W (73541) wifi:m f null
W (73641) wifi:m f null
W (73741) wifi:m f null
W (73841) wifi:m f null
W (73951) wifi:m f null
W (74051) wifi:m f null
W (74251) wifi:m f null
W (74361) wifi:m f null
W (74661) wifi:m f null
W (74781) wifi:m f null
W (74871) wifi:m f null
W (74981) wifi:m f null
W (75071) wifi:m f null
W (75181) wifi:m f null
W (75281) wifi:m f null
W (75381) wifi:m f null