Open nagyation opened 3 years ago
Hi, @nagyation Sorry for the late reply. You can not run mconfig_blufi after mwifi starts. because wifi API can not be invoked directly when mesh is running. you can reference Calling Wi-Fi API I suggest you imitate this https://github.com/espressif/esp-mdf/blob/1c76187faaf16d40a574fc7c0c98122e93dee746/examples/development_kit/light/main/light_example.c#L350
I'm trying to keep mconfig running to get configuration, even after mwifi is connected, so I first start the mwifi then on the app task I start mconfig and wait for queue, but it seems it is not possible to run mconfig:blufi while mwifi has started, maybe it's because of memory limitations?
I'm only using blufi not the mconfig-chain, I can see from the logs that bluif was initialized, so it seems the error relates to mconfig queue:
MDF_ERROR_ASSERT(mconfig_queue_read(&mconfig_data, portMAX_DELAY));
ps: I'm using the stable version.
Logs/Backtrace: