I am pretty new to ESP32 (and using Sparkfun ESP32 Thing board) and stuck with a very basic thing.
I successfully brought up the Arduino as well as ESP-IDF development environments (verified with blinky LED); but when I tried running WiFi Scan code from the following github link:
https://github.com/VALERE91/ESP32_WifiScan
I did not make any change to it.
I got the message (in monitor) saying that:
Number of access points found: 0
(Same result in ESP-IDF as well as in Arduino)
Here is the detailed output on monitor:
Code: Select all
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:0x3fff0010,len:4
load:0x3fff0014,len:4552
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:11460
entry 0x40078cc4
W (25) rtc_clk: Possibly invalid CONFIG_ESP32_XTAL_FREQ setting (26MHz). Detected 26 MHz.
I (927) cpu_start: Pro cpu up.
I (927) cpu_start: Single core mode
I (930) heap_init: Initializing. RAM available for dynamic allocation:
I (963) heap_init: At 3FFAE2A0 len 00001D60 (7 KiB): DRAM
I (1019) heap_init: At 3FFB7550 len 00028AB0 (162 KiB): DRAM
I (1077) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (1137) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1197) heap_init: At 4008EBFC len 00011404 (69 KiB): IRAM
I (1255) cpu_start: Pro cpu start user code
I (1415) cpu_start: Starting scheduler on PRO CPU.
I (1473) wifi: wifi firmware version: 4acbf1f
I (1473) wifi: config NVS flash: enabled
I (1473) wifi: config nano formating: disabled
I (1474) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1484) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1508) wifi: Init dynamic tx buffer num: 32
I (1508) wifi: Init data frame dynamic rx buffer num: 32
I (1508) wifi: Init management frame dynamic rx buffer num: 32
I (1512) wifi: wifi driver task: 3ffbd284, prio:23, stack:4096
I (1517) wifi: Init static rx buffer num: 10
I (1521) wifi: Init dynamic rx buffer num: 32
I (1526) wifi: Init rx ampdu len mblock:7
I (1529) wifi: Init lldesc rx ampdu entry mblock:4
I (1534) wifi: wifi power manager task: 0x3ffc26fc prio: 21 stack: 2560
I (1593) phy: phy_version: 359.0, e79c19d, Aug 31 2017, 17:06:07, 1, 0
I (1596) wifi: mode : sta (24:0a:c4:81:66:c8)
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Number of access points found: 0
Also I have tried connecting to a mobile hotspot and unable to do it.
Can anyone help me with this issue?
Thanks