[Solved] mesh example internal_transceiver fails to work

mairswartz
Posts: 5
Joined: Tue Nov 07, 2017 9:59 pm

[Solved] mesh example internal_transceiver fails to work

Postby mairswartz » Fri May 18, 2018 4:46 am

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?

ESP_yudong
Posts: 12
Joined: Wed May 16, 2018 12:31 pm

Re: mesh example internal_transceiver fails to work

Postby ESP_yudong » Fri May 18, 2018 7:17 am

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)

mairswartz
Posts: 5
Joined: Tue Nov 07, 2017 9:59 pm

Re: mesh example internal_transceiver fails to work

Postby mairswartz » Mon May 21, 2018 7:13 am

@ESP_yudong

thanks, changing the channel did the trick :)

Who is online

Users browsing this forum: No registered users and 1 guest