-
Notifications
You must be signed in to change notification settings - Fork 46
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
esp8266 do not have enough RAM to run the default examples due to NUM_NODE mostly #40
Comments
OK this is directly related to how you switch from scanning for wifi to being an AP, it uses too much memory on that switch. Also what params are used in the EnigmaIoTconfig.h and the advanced.h?
this doesn't do anything, ERROR, NONE, even commenting it out doesn't change anything at all. It's always on what seems to be "INFO" even though the default is "WARN", and there's no way to change it. and where is "SECURE_MQTT" defined? it isn't in the settings, but it's at the top of the .ino examples usually. thanks |
default config:
removing things: SHOULD BE ABLE TO REMOVE SERIAL DEBUG TOO BUT DOESN'T WORK
Now you can use the above and add 20 nodes and still be safe:
|
edit: well I've solved the issue you can see on the second post, this is a deterrent to newcomers to enigmaIOT because the tutorial assumes esp8266's work and I assume you didn't test them. Due to the methods of switching scan mode to AP mode it uses +30% ram so you need <70% of max ram at compile time, anymore and it is bound to crash quickly.
NUM_NODES = 35 is guaranteed to crash esp8266.
on all esp8266 (have 6 different ones), don't have esp32 to test
The text was updated successfully, but these errors were encountered: