I am running version 0.7.0 of the Device OS and have enabled system threading. I am using the built-in SoftAP functionality and have not created any custom pages. I have read in other posts that SoftAP requires at least 20k of RAM to correctly save credentials. Inspecting RAM before entering listen mode I have 35864 bytes of RAM available. After entering listen mode that drops to 15304 bytes and when I issue the scan-ap request it drops further to 15088 bytes. Finally when I call
configure-ap I get a response code of -16640 and the credentials are not saved.
I have also tried disabling
SYSTEM_THREAD per the solution found in [SoftAP] configure-ap command fails with code -1103 with TCP SoftAP
This had no effect and I continued to get code -16640 when calling configure-ap.
As far as I can tell trying to look at the source code this seems to be from the decrypt call in the Device OS but I’m not positive on that.
Can anyone shed some light on why the SoftAP stuff isn’t working?