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/BT(BLE) Simultaneously? (IDFGH-7146) #8749
Comments
Hi @bini2007 Please refer to this coexistence document. If this issue still exists, please provide the idf commit id and the demo (include sdkconfig) that reproduces the issue. Thanks |
I (94194) GATTC_DEMO: I (94204) GATTC_DEMO: Searched device VarramTag-1 I (94214) GATTC_DEMO: ====================================================================== I (94224) GATTC_DEMO: stop scan successfully Core 1 register dump: Backtrace:0x4009203a:0x3ffebb10 0x4009574b:0x3ffebb30 0x40095e17:0x3ffebb50 0x400816e1:0x3ffebb70 0x40081715:0x3ffebb90 0x40098200:0x3ffebbb0 0x40098224:0x3ffebbd0 0x401081b3:0x3ffebbf0 0x40103a5b:0x3ffebc10 0x40103ae6:0x3ffebc40 0x40112caf:0x3ffebc60 0x40112cc2:0x3ffebc90 0x400fd0be:0x3ffebcb0 0x401128c8:0x3ffebcd0 0x400fda5d:0x3ffebcf0 0x40091ee5:0x3ffebd10 ELF file SHA256: 1a27e721f88ffcdecca430aa23212d44951cbbbb714faeba3f04daaa7ebabbaa Rebooting... In addition, our custom sdkconfig is as following link: please check our sdkconfig and advice us how to fix the problem. |
Hi @bini2007 Please provide the Thanks |
Sorry for the delayed follow-up on this one. If we look at the backtrace we can see that the crash seems when we try to take a heap lock to do a malloc. The lock seems to point to random value 0x0000ff08, instead of a writeable memory area. So we get a store-prohibited. Typically this is due to memory corruption, something overwrite this heap allocated lock. For some general suggestion on how to debug these errors you can see heap-corruption-detection. Closing this issue for now as it is quite old, but feel free to reopen it again if you are still experiencing problems. |
I'm working on a project that uses both Wifi (specifically the http_client component) as well as BLE.
They both seem to work great separately.
However, once Wifi establishes a connection and starts working (a small http request every second or so), the BLE feels starved. It takes a very long time to get connected, reads take in the order of seconds, and I often get disconnected.
Any idea what could cause this behavior?
Either I must be doing something wrong, or there's an issue with the stack.
Is there an example that does WIFI and BLE at the same time? Is it expected to work fine?
I guess,
the problem is that they share a radio; in other words, while the ESP32 is sending/receiving a BT packet, it cannot listen or send a WiFi packet.
Thanks,
The text was updated successfully, but these errors were encountered: