BLUFI 例程一直connect\disconnect 无法配网
Posted: Mon Apr 12, 2021 3:55 am
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS D:\ESP32_IDF\blufi> D:\ESP32_IDF\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe d:\ESP32_IDF\esp-idf\tools\idf.py -p COM8 monitor
Executing action: monitor
Running idf_monitor in directory d:\esp32_idf\blufi
Executing "D:\ESP32_IDF\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe d:\ESP32_IDF\esp-idf\tools/idf_monitor.py -p COM8 -b 115200 --toolchain-prefix xtensa-esp32-elf- d:\esp32_idf\blufi\build\blufi_demo.elf -m 'D:\ESP32_IDF\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'd:\ESP32_IDF\esp-idf\tools\idf.py' '-p' 'COM8'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM8 instead...
--- idf_monitor on \\.\COM8 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
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:6704
load:0x40078000,len:14224
load:0x40080400,len:3688
0x40080400: _init at ??:?
entry 0x40080678
I (27) boot: ESP-IDF v4.4-dev-744-g1cb31e5094 2nd stage bootloader
I (27) boot: compile time 11:22:03
I (27) boot: chip revision: 1
I (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot.esp32: SPI Speed : 40MHz
I (43) boot.esp32: SPI Mode : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (52) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (61) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (76) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (83) boot: 2 factory factory app 00 00 00010000 00100000
I (91) boot: End of partition table
I (95) boot_comm: chip revision: 1, min. application chip revision: 0
I (102) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=242b8h (148152) map
I (167) esp_image: segment 1: paddr=000342e0 vaddr=3ffbdb60 size=04d60h ( 19808) load
I (175) esp_image: segment 2: paddr=00039048 vaddr=40080000 size=06fd0h ( 28624) load
I (187) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=ad790h (710544) map
I (456) esp_image: segment 4: paddr=000ed7b8 vaddr=40086fd0 size=16d70h ( 93552) load
I (496) esp_image: segment 5: paddr=00104530 vaddr=50000000 size=00010h ( 16) load
I (512) boot: Loaded app from partition at offset 0x10000
I (512) boot: Disabling RNG early entropy source...
I (524) cpu_start: Pro cpu up.
I (524) cpu_start: Starting app cpu, entry point is 0x40081334
0x40081334: call_start_cpu1 at D:/ESP32_IDF/esp-idf/components/esp_system/port/cpu_start.c:158
I (0) cpu_start: App cpu up.
I (540) cpu_start: Pro cpu start user code
I (540) cpu_start: cpu freq: 160000000
I (541) cpu_start: Application information:
I (545) cpu_start: Project name: blufi_demo
I (550) cpu_start: App version: 1
I (555) cpu_start: Compile time: Apr 12 2021 11:21:00
I (561) cpu_start: ELF file SHA256: 04e69aaa382b36eb...
I (567) cpu_start: ESP-IDF: v4.4-dev-744-g1cb31e5094
I (573) heap_init: Initializing. RAM available for dynamic allocation:
I (580) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (586) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (592) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (599) heap_init: At 3FFC9640 len 000169C0 (90 KiB): DRAM
I (605) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (611) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (618) heap_init: At 4009DD40 len 000022C0 (8 KiB): IRAM
I (625) spi_flash: detected chip: generic
I (628) spi_flash: flash io: dio
I (634) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (729) wifi:wifi driver task: 3ffcf598, prio:23, stack:6656, core=0
I (729) system_api: Base MAC address is not set
I (729) system_api: read default base MAC address from EFUSE
I (749) wifi:wifi firmware version: 4809a2e
I (749) wifi:wifi certification version: v7.0
I (749) wifi:config NVS flash: enabled
I (749) wifi:config nano formating: disabled
I (759) wifi:Init data frame dynamic rx buffer num: 32
I (759) wifi:Init management frame dynamic rx buffer num: 32
I (769) wifi:Init management short buffer num: 32
I (769) wifi:Init dynamic tx buffer num: 32
I (779) wifi:Init static rx buffer size: 1600
I (779) wifi:Init static rx buffer num: 10
I (779) wifi:Init dynamic rx buffer num: 32
I (789) wifi_init: rx ba win: 6
I (789) wifi_init: tcpip mbox: 32
I (799) wifi_init: udp mbox: 6
I (799) wifi_init: tcp mbox: 6
I (799) wifi_init: tcp tx win: 5744
I (809) wifi_init: tcp rx win: 5744
I (809) wifi_init: tcp mss: 1440
I (819) wifi_init: WiFi IRAM OP enabled
I (819) wifi_init: WiFi RX IRAM OP enabled
I (829) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (939) wifi:mode : sta (24:6f:28:ad:c7:48)
I (939) wifi:enable tsf
I (939) BTDM_INIT: BT controller compile version [bc2e043]
I (949) wifi<2,1>, old:<1,0>, ap:<255,255>, sta:<2,1>, prof:1
I (949) wifi:state: init -> auth (b0)
I (969) wifi:state: auth -> assoc (0)
I (1019) wifi:state: assoc -> run (10)
I (1199) wifi:connected with DaYan2019, aid = 11, channel 2, 40U, bssid = fc:7c:02:b3:a1:9e
I (1199) wifi:security: WPA2-PSK, phy: bgn, rssi: -41
I (1209) wifi:pm start, type: 1
I (1219) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (1269) BLUFI_EXAMPLE: BD ADDR: 24:6f:28:ad:c7:4a
I (1269) BLUFI_EXAMPLE: BLUFI VERSION 0102
I (1269) BLUFI_EXAMPLE: BLUFI init finish
I (2219) esp_netif_handlers: sta ip: 192.168.0.56, mask: 255.255.255.0, gw: 192.168.0.1
I (2219) BLUFI_EXAMPLE: BLUFI BLE is not connected yet
W (3579) wifi:<ba-add>idx:0 (ifx:0, fc:7c:02:b3:a1:9e), tid:0, ssn:0, winSize:64
I (7499) BLUFI_EXAMPLE: BLUFI ble connect
I (37469) BLUFI_EXAMPLE: BLUFI ble disconnect
I (44309) BLUFI_EXAMPLE: BLUFI ble connect
I (74339) BLUFI_EXAMPLE: BLUFI ble disconnect
I (109349) BLUFI_EXAMPLE: BLUFI ble connect
I (139349) BLUFI_EXAMPLE: BLUFI ble disconnect
I (139429) BLUFI_EXAMPLE: BLUFI ble connect
I (169459) BLUFI_EXAMPLE: BLUFI ble disconnect
I (169539) BLUFI_EXAMPLE: BLUFI ble connect
I (199509) BLUFI_EXAMPLE: BLUFI ble disconnect
I (200569) BLUFI_EXAMPLE: BLUFI ble connect
I (230689) BLUFI_EXAMPLE: BLUFI ble disconnect
I (233729) BLUFI_EXAMPLE: BLUFI ble connect
I (263699) BLUFI_EXAMPLE: BLUFI ble disconnect
I (263759) BLUFI_EXAMPLE: BLUFI ble connect
I (293879) BLUFI_EXAMPLE: BLUFI ble disconnect
I (293949) BLUFI_EXAMPLE: BLUFI ble connect
I (323979) BLUFI_EXAMPLE: BLUFI ble disconnect
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS D:\ESP32_IDF\blufi> D:\ESP32_IDF\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe d:\ESP32_IDF\esp-idf\tools\idf.py -p COM8 monitor
Executing action: monitor
Running idf_monitor in directory d:\esp32_idf\blufi
Executing "D:\ESP32_IDF\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe d:\ESP32_IDF\esp-idf\tools/idf_monitor.py -p COM8 -b 115200 --toolchain-prefix xtensa-esp32-elf- d:\esp32_idf\blufi\build\blufi_demo.elf -m 'D:\ESP32_IDF\.espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'd:\ESP32_IDF\esp-idf\tools\idf.py' '-p' 'COM8'"...
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM8 instead...
--- idf_monitor on \\.\COM8 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
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:6704
load:0x40078000,len:14224
load:0x40080400,len:3688
0x40080400: _init at ??:?
entry 0x40080678
I (27) boot: ESP-IDF v4.4-dev-744-g1cb31e5094 2nd stage bootloader
I (27) boot: compile time 11:22:03
I (27) boot: chip revision: 1
I (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (39) boot.esp32: SPI Speed : 40MHz
I (43) boot.esp32: SPI Mode : DIO
I (48) boot.esp32: SPI Flash Size : 4MB
I (52) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (61) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (76) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (83) boot: 2 factory factory app 00 00 00010000 00100000
I (91) boot: End of partition table
I (95) boot_comm: chip revision: 1, min. application chip revision: 0
I (102) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=242b8h (148152) map
I (167) esp_image: segment 1: paddr=000342e0 vaddr=3ffbdb60 size=04d60h ( 19808) load
I (175) esp_image: segment 2: paddr=00039048 vaddr=40080000 size=06fd0h ( 28624) load
I (187) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=ad790h (710544) map
I (456) esp_image: segment 4: paddr=000ed7b8 vaddr=40086fd0 size=16d70h ( 93552) load
I (496) esp_image: segment 5: paddr=00104530 vaddr=50000000 size=00010h ( 16) load
I (512) boot: Loaded app from partition at offset 0x10000
I (512) boot: Disabling RNG early entropy source...
I (524) cpu_start: Pro cpu up.
I (524) cpu_start: Starting app cpu, entry point is 0x40081334
0x40081334: call_start_cpu1 at D:/ESP32_IDF/esp-idf/components/esp_system/port/cpu_start.c:158
I (0) cpu_start: App cpu up.
I (540) cpu_start: Pro cpu start user code
I (540) cpu_start: cpu freq: 160000000
I (541) cpu_start: Application information:
I (545) cpu_start: Project name: blufi_demo
I (550) cpu_start: App version: 1
I (555) cpu_start: Compile time: Apr 12 2021 11:21:00
I (561) cpu_start: ELF file SHA256: 04e69aaa382b36eb...
I (567) cpu_start: ESP-IDF: v4.4-dev-744-g1cb31e5094
I (573) heap_init: Initializing. RAM available for dynamic allocation:
I (580) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (586) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (592) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (599) heap_init: At 3FFC9640 len 000169C0 (90 KiB): DRAM
I (605) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (611) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (618) heap_init: At 4009DD40 len 000022C0 (8 KiB): IRAM
I (625) spi_flash: detected chip: generic
I (628) spi_flash: flash io: dio
I (634) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (729) wifi:wifi driver task: 3ffcf598, prio:23, stack:6656, core=0
I (729) system_api: Base MAC address is not set
I (729) system_api: read default base MAC address from EFUSE
I (749) wifi:wifi firmware version: 4809a2e
I (749) wifi:wifi certification version: v7.0
I (749) wifi:config NVS flash: enabled
I (749) wifi:config nano formating: disabled
I (759) wifi:Init data frame dynamic rx buffer num: 32
I (759) wifi:Init management frame dynamic rx buffer num: 32
I (769) wifi:Init management short buffer num: 32
I (769) wifi:Init dynamic tx buffer num: 32
I (779) wifi:Init static rx buffer size: 1600
I (779) wifi:Init static rx buffer num: 10
I (779) wifi:Init dynamic rx buffer num: 32
I (789) wifi_init: rx ba win: 6
I (789) wifi_init: tcpip mbox: 32
I (799) wifi_init: udp mbox: 6
I (799) wifi_init: tcp mbox: 6
I (799) wifi_init: tcp tx win: 5744
I (809) wifi_init: tcp rx win: 5744
I (809) wifi_init: tcp mss: 1440
I (819) wifi_init: WiFi IRAM OP enabled
I (819) wifi_init: WiFi RX IRAM OP enabled
I (829) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (939) wifi:mode : sta (24:6f:28:ad:c7:48)
I (939) wifi:enable tsf
I (939) BTDM_INIT: BT controller compile version [bc2e043]
I (949) wifi<2,1>, old:<1,0>, ap:<255,255>, sta:<2,1>, prof:1
I (949) wifi:state: init -> auth (b0)
I (969) wifi:state: auth -> assoc (0)
I (1019) wifi:state: assoc -> run (10)
I (1199) wifi:connected with DaYan2019, aid = 11, channel 2, 40U, bssid = fc:7c:02:b3:a1:9e
I (1199) wifi:security: WPA2-PSK, phy: bgn, rssi: -41
I (1209) wifi:pm start, type: 1
I (1219) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (1269) BLUFI_EXAMPLE: BD ADDR: 24:6f:28:ad:c7:4a
I (1269) BLUFI_EXAMPLE: BLUFI VERSION 0102
I (1269) BLUFI_EXAMPLE: BLUFI init finish
I (2219) esp_netif_handlers: sta ip: 192.168.0.56, mask: 255.255.255.0, gw: 192.168.0.1
I (2219) BLUFI_EXAMPLE: BLUFI BLE is not connected yet
W (3579) wifi:<ba-add>idx:0 (ifx:0, fc:7c:02:b3:a1:9e), tid:0, ssn:0, winSize:64
I (7499) BLUFI_EXAMPLE: BLUFI ble connect
I (37469) BLUFI_EXAMPLE: BLUFI ble disconnect
I (44309) BLUFI_EXAMPLE: BLUFI ble connect
I (74339) BLUFI_EXAMPLE: BLUFI ble disconnect
I (109349) BLUFI_EXAMPLE: BLUFI ble connect
I (139349) BLUFI_EXAMPLE: BLUFI ble disconnect
I (139429) BLUFI_EXAMPLE: BLUFI ble connect
I (169459) BLUFI_EXAMPLE: BLUFI ble disconnect
I (169539) BLUFI_EXAMPLE: BLUFI ble connect
I (199509) BLUFI_EXAMPLE: BLUFI ble disconnect
I (200569) BLUFI_EXAMPLE: BLUFI ble connect
I (230689) BLUFI_EXAMPLE: BLUFI ble disconnect
I (233729) BLUFI_EXAMPLE: BLUFI ble connect
I (263699) BLUFI_EXAMPLE: BLUFI ble disconnect
I (263759) BLUFI_EXAMPLE: BLUFI ble connect
I (293879) BLUFI_EXAMPLE: BLUFI ble disconnect
I (293949) BLUFI_EXAMPLE: BLUFI ble connect
I (323979) BLUFI_EXAMPLE: BLUFI ble disconnect