[已解决] blufi example 不工作
Posted: Fri Oct 22, 2021 8:41 pm
我刚刚从 github 的 master 分支编译下载了Blufi到ESP32 DEVKIT1 ( ESP32-WROOM-32D ), 在手机上安装了ESP32 WiFi setup over BLE的Android应用程序. Android应用程序能够发现并连结BLUFI_DEVICE. 我在Android应用程序里面设置了我的WIFI-6路由器的Primary AP的Name 和Password, 然后点击了发送配置按钮, Terminal没有任何反映, WIFI-6路由器的网络页面也没有新设备连接进来.
请问谁有经验帮忙分析一下这是怎么回事? 谢谢!
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6728
load:0x40078000,len:14812
ho 0 tail 12 room 4
load:0x40080400,len:3792
entry 0x40080694
I (28) boot: ESP-IDF v4.4-dev-3540-g4e03a9c34-dirty 2nd stage bootloader
I (28) boot: compile time 12:42:38
I (30) boot: chip revision: 1
I (33) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (40) boot.esp32: SPI Speed : 40MHz
I (45) boot.esp32: SPI Mode : DIO
I (50) boot.esp32: SPI Flash Size : 2MB
I (54) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00177000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2097ch (133500) map
I (161) esp_image: segment 1: paddr=000309a4 vaddr=3ffbdb60 size=05564h ( 21860) load
I (170) esp_image: segment 2: paddr=00035f10 vaddr=40080000 size=0a108h ( 41224) load
I (187) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=a8970h (690544) map
I (437) esp_image: segment 4: paddr=000e8998 vaddr=4008a108 size=12ca4h ( 76964) load
I (469) esp_image: segment 5: paddr=000fb644 vaddr=50000000 size=00010h ( 16) load
I (483) boot: Loaded app from partition at offset 0x10000
I (483) boot: Disabling RNG early entropy source...
I (495) cpu_start: Pro cpu up.
I (495) cpu_start: Starting app cpu, entry point is 0x400811ec
I (0) cpu_start: App cpu up.
I (512) cpu_start: Pro cpu start user code
I (512) cpu_start: cpu freq: 160000000
I (512) cpu_start: Application information:
I (516) cpu_start: Project name: blufi_demo
I (521) cpu_start: App version: 1
I (526) cpu_start: Compile time: Oct 22 2021 12:43:27
I (532) cpu_start: ELF file SHA256: 7aee9da4792c73d5...
I (538) cpu_start: ESP-IDF: v4.4-dev-3540-g4e03a9c34-dirty
I (545) heap_init: Initializing. RAM available for dynamic allocation:
I (552) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (558) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (564) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (570) heap_init: At 3FFC9FB0 len 00016050 (88 KiB): DRAM
I (576) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (583) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (589) heap_init: At 4009CDAC len 00003254 (12 KiB): IRAM
I (597) spi_flash: detected chip: generic
I (600) spi_flash: flash io: dio
W (604) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (619) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (674) wifi:wifi driver task: 3ffcf470, prio:23, stack:6656, core=0
I (674) system_api: Base MAC address is not set
I (674) system_api: read default base MAC address from EFUSE
I (684) wifi:wifi firmware version: f84e709
I (684) wifi:wifi certification version: v7.0
I (684) wifi:config NVS flash: enabled
I (684) wifi:config nano formating: disabled
I (694) wifi:Init data frame dynamic rx buffer num: 32
I (694) wifi:Init management frame dynamic rx buffer num: 32
I (704) wifi:Init management short buffer num: 32
I (704) wifi:Init dynamic tx buffer num: 32
I (714) wifi:Init static rx buffer size: 1600
I (714) wifi:Init static rx buffer num: 10
I (714) wifi:Init dynamic rx buffer num: 32
I (724) wifi_init: rx ba win: 6
I (724) wifi_init: tcpip mbox: 32
I (734) wifi_init: udp mbox: 6
I (734) wifi_init: tcp mbox: 6
I (734) wifi_init: tcp tx win: 5744
I (744) wifi_init: tcp rx win: 5744
I (744) wifi_init: tcp mss: 1440
I (754) wifi_init: WiFi IRAM OP enabled
I (754) wifi_init: WiFi RX IRAM OP enabled
I (764) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (864) wifi:mode : sta (3c:61:05:3f:60:48)
I (864) wifi:enable tsf
I (864) BTDM_INIT: BT controller compile version [078d492]
I (1164) BLUFI_EXAMPLE: BD ADDR: 3c:61:05:3f:60:4a
I (1164) BLUFI_EXAMPLE: BLUFI init finish
I (1174) BLUFI_EXAMPLE: BLUFI VERSION 0102
I (7574) BLUFI_EXAMPLE: BLUFI ble connect
I (17274) BLUFI_EXAMPLE: BLUFI ble disconnect
I (19934) BLUFI_EXAMPLE: BLUFI ble connect
请问谁有经验帮忙分析一下这是怎么回事? 谢谢!
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:6728
load:0x40078000,len:14812
ho 0 tail 12 room 4
load:0x40080400,len:3792
entry 0x40080694
I (28) boot: ESP-IDF v4.4-dev-3540-g4e03a9c34-dirty 2nd stage bootloader
I (28) boot: compile time 12:42:38
I (30) boot: chip revision: 1
I (33) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (40) boot.esp32: SPI Speed : 40MHz
I (45) boot.esp32: SPI Mode : DIO
I (50) boot.esp32: SPI Flash Size : 2MB
I (54) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00177000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2097ch (133500) map
I (161) esp_image: segment 1: paddr=000309a4 vaddr=3ffbdb60 size=05564h ( 21860) load
I (170) esp_image: segment 2: paddr=00035f10 vaddr=40080000 size=0a108h ( 41224) load
I (187) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=a8970h (690544) map
I (437) esp_image: segment 4: paddr=000e8998 vaddr=4008a108 size=12ca4h ( 76964) load
I (469) esp_image: segment 5: paddr=000fb644 vaddr=50000000 size=00010h ( 16) load
I (483) boot: Loaded app from partition at offset 0x10000
I (483) boot: Disabling RNG early entropy source...
I (495) cpu_start: Pro cpu up.
I (495) cpu_start: Starting app cpu, entry point is 0x400811ec
I (0) cpu_start: App cpu up.
I (512) cpu_start: Pro cpu start user code
I (512) cpu_start: cpu freq: 160000000
I (512) cpu_start: Application information:
I (516) cpu_start: Project name: blufi_demo
I (521) cpu_start: App version: 1
I (526) cpu_start: Compile time: Oct 22 2021 12:43:27
I (532) cpu_start: ELF file SHA256: 7aee9da4792c73d5...
I (538) cpu_start: ESP-IDF: v4.4-dev-3540-g4e03a9c34-dirty
I (545) heap_init: Initializing. RAM available for dynamic allocation:
I (552) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (558) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (564) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (570) heap_init: At 3FFC9FB0 len 00016050 (88 KiB): DRAM
I (576) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (583) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (589) heap_init: At 4009CDAC len 00003254 (12 KiB): IRAM
I (597) spi_flash: detected chip: generic
I (600) spi_flash: flash io: dio
W (604) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (619) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (674) wifi:wifi driver task: 3ffcf470, prio:23, stack:6656, core=0
I (674) system_api: Base MAC address is not set
I (674) system_api: read default base MAC address from EFUSE
I (684) wifi:wifi firmware version: f84e709
I (684) wifi:wifi certification version: v7.0
I (684) wifi:config NVS flash: enabled
I (684) wifi:config nano formating: disabled
I (694) wifi:Init data frame dynamic rx buffer num: 32
I (694) wifi:Init management frame dynamic rx buffer num: 32
I (704) wifi:Init management short buffer num: 32
I (704) wifi:Init dynamic tx buffer num: 32
I (714) wifi:Init static rx buffer size: 1600
I (714) wifi:Init static rx buffer num: 10
I (714) wifi:Init dynamic rx buffer num: 32
I (724) wifi_init: rx ba win: 6
I (724) wifi_init: tcpip mbox: 32
I (734) wifi_init: udp mbox: 6
I (734) wifi_init: tcp mbox: 6
I (734) wifi_init: tcp tx win: 5744
I (744) wifi_init: tcp rx win: 5744
I (744) wifi_init: tcp mss: 1440
I (754) wifi_init: WiFi IRAM OP enabled
I (754) wifi_init: WiFi RX IRAM OP enabled
I (764) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (864) wifi:mode : sta (3c:61:05:3f:60:48)
I (864) wifi:enable tsf
I (864) BTDM_INIT: BT controller compile version [078d492]
I (1164) BLUFI_EXAMPLE: BD ADDR: 3c:61:05:3f:60:4a
I (1164) BLUFI_EXAMPLE: BLUFI init finish
I (1174) BLUFI_EXAMPLE: BLUFI VERSION 0102
I (7574) BLUFI_EXAMPLE: BLUFI ble connect
I (17274) BLUFI_EXAMPLE: BLUFI ble disconnect
I (19934) BLUFI_EXAMPLE: BLUFI ble connect