Hi,
I am trying to get the internal_transceiver sample code working in the esp-idf example directory.
* I have 2 esp32's flashed with the same firmware.
* I have updated the menuconfig and set the SSID and router password to my router
when I run the software I get the following on my serial monitor
I (308) mesh_main: <MESH_EVENT_STARTED>
I (308) mesh_main: mesh starts successfully, heap:193264, root not fixed
I (668) mesh: [SCAN][ch:1]AP:1, otherID:0, idle:1, mAP:0, root:0, top mAP:0[Layer:0/0.ing]
I (688) mesh: [FAIL][1]root:0, fail:1, normal:0
I (1048) mesh: [SCAN][ch:1]AP:1, otherID:0, idle:1, mAP:0, root:0, top mAP:0[Layer:0/0.ing]
I (1048) mesh: [FAIL][2]root:0, fail:2, normal:0
and it just keeps on printing the same.
Am I missing something?
[Solved] mesh example internal_transceiver fails to work
-
- Posts: 21
- Joined: Tue Nov 07, 2017 9:59 pm
[Solved] mesh example internal_transceiver fails to work
check out my course https://learnesp32.com
-
- Posts: 68
- Joined: Wed May 16, 2018 12:31 pm
Re: mesh example internal_transceiver fails to work
The log shows that the esp32 didn't find your router during scan and its scan channel is 1.
There are two possibilities I could imagine from this:
1. The scan channel is not same with your router.
Make sure the channel is corret first.
2. Your router is hiden. The router bssid must be set when mesh config for hiden router. And the bssid can't be set in menuconfig now.
Let the router not hide or add your router bssid in codes. (See the structure mesh_router_t)
There are two possibilities I could imagine from this:
1. The scan channel is not same with your router.
Make sure the channel is corret first.
2. Your router is hiden. The router bssid must be set when mesh config for hiden router. And the bssid can't be set in menuconfig now.
Let the router not hide or add your router bssid in codes. (See the structure mesh_router_t)
-
- Posts: 21
- Joined: Tue Nov 07, 2017 9:59 pm
Re: mesh example internal_transceiver fails to work
@ESP_yudong
thanks, changing the channel did the trick
thanks, changing the channel did the trick
check out my course https://learnesp32.com
Who is online
Users browsing this forum: No registered users and 36 guests