-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIFI MESH 和 蓝牙同时启用 出现错误 (IDFGH-3385) #5357
Comments
@fzboffice Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks. |
|
Thanks for sharing the details, we will look into. |
@Alvin1Zhang 您好,有进展吗 |
will fix it and let you know after the merge. @fzboffice @dongdong004 |
@ESP-iPENCIL 万分感谢!!! |
Thanks for reporting and late reply. We have a fix under internal reviewing, the issue will be updated and closed once the fix is available on GitHub. |
|
We have back ported the fix to release/4.1, and the fix is available at 8d54933. Would you please help check if the issue still happens? Thanks. |
I (1374) wifi:config NVS flash: enabled E (1414) wifi:Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!! |
Hi @poisonousfish, is this issue still happens? Normally it's only happening in wifi Bluetooth coexist mode |
@YouDONG-ESP @Alvin1Zhang I have the same problem on release/v5.0 only wifi mesh and ble is open at the same time. |
hi @wishinlife , could you please set wifi ps type to min mode by calling |
@Espressif-liuuuu Thanks answer my question. I found an interesting question, if wifi mesh is start before ble, although set wifi ps type to min mode by calling esp_wifi_set_ps(1), will happen panic_abort. When ble start before wifi mesh , it's work fine. |
hi @wishinlife , thanks for your report. |
@Espressif-liuuuu I don't know how to upload files. I just merged the official internal_communication and bleprph examples into one. And start wifi mesh before ble in app_main function. I found that panic_abort occurs only if CONFIG_SW_COEXIST_ENABLE is enabled and wifi mesh is started before ble. In addition, I found a bug in NimBle, The macro BLE_HS_ADV_MAX_SZ is define small, the following code will cause the advertisement data to have insufficient buffer length, ble_gap_adv_set_fields function will return value 4.
} |
W (2570) wifi:[beacon]interval:100ms
I (2570) wifi:mode : sta (84:0d:8e:c6:20:a4) + softAP (84:0d:8e:c6:20:a5)
I (2590) wifi:Total power save buffer number: 8
I (2590) wifi:Init max length of beacon: 752/752
I (2590) wifi:Init max length of beacon: 752/752
I (2600) mesh: read layer:0, err:0x1102
I (2600) mesh: read assoc:0, err:0x1102
I (2600) mesh: [IO]disable self-organizing
W (2610) wifi:[beacon]interval:100ms
I (2610) mesh: [CONFIG]invalid router settings, ssid_len:0, ssid:, bssid:00:00:00:00:00:00
I (3580) wifi:Set ps type: 0
E (3580) wifi:Error! Should enable WiFi modem sleep when both WiFi and Bluetooth are enabled!!!!!!
abort() was called at PC 0x40197533 on core 0
0x40197533: pm_set_sleep_type at ??:?
Backtrace:0x4009645e:0x3ffd6980 0x4009610d:0x3ffd69a0 0x400993ee:0x3ffd69c0 0x40197533:0x3ffd6a30 0x401813c0:0x3ffd6a50 0x4017ff36:0x3ffd6a70 0x400909d2:0x3ffd6a90 0x400995b9:0x3ffd6ac0
0x4009645e: panic_abort at /mnt/d/esp/esp-mdf/esp-idf/components/esp_system/panic.c:330
0x4009610d: esp_system_abort at /mnt/d/esp/esp-mdf/esp-idf/components/esp_system/system_api.c:68
0x400993ee: abort at /mnt/d/esp/esp-mdf/esp-idf/components/newlib/abort.c:46
0x40197533: pm_set_sleep_type at ??:?
0x401813c0: wifi_set_ps_process at ??:?
0x4017ff36: ieee80211_ioctl_process at ??:?
0x400909d2: ppTask at ??:?
0x400995b9: vPortTaskWrapper at /mnt/d/esp/esp-mdf/esp-idf/components/freertos/xtensa/port.c:143
ELF file SHA256: dcafe4505242a868
CPU halted.
mesh将wifi的ps设置为WIFI_PS_NONE,引起wifi报错
The text was updated successfully, but these errors were encountered: