Closed CROSP closed 8 years ago
Did you modify the CFG_HOLDER?
Hello,I don't know what CFG_HOLDER is, and I don't know which one decide the value of CFG_HOLDER. I use nodemcu but it doesn't work
CFG_HOLDER is in your include/mqtt_config.h. Just change the value to something else and the new configuration will be saved
Hi, thank you for your reply. I understand what the CFG_HOLDER means, and this value can be defined by myself. But I don't know how to calculat and get the proper value. When I use nodemcu with 4MB flash, the CFG_HOLDER and CFG_LOCATION may be different from value of ESP12 with 1MB or 512KB flash。I don't know what the CFG_HOLDER and CFG_LOCATION actually mean, so could you tell me sth about them? Thank you :)
As said in the mqtt_config.h, #define CFG_LOCATION 0x3C /* Please don't change or if you know what you doing */ , just increment the hex value op the CFG_HOLDER. I use the mqtt library also on ESP01, EPS07 and ESP12E with the same settings. The value of CFG_HOLDER is not important, could be 0x0 to 0xFFFFFFFFF it just needs to be different if you want to save your new configuration to flash
Thank you for your reply!
Now you don't need CFG_HOLDER any more
Hi, thank you for your firmware. I have just tried to compile and load firmware into my ESP But it won't work. I have followed all your instructions, everything compiles well. Here is my user_main.c
I also modified
include/mqtt_config.h
file in following wayBut I am getting next serial output
I cannot figure out where does A700E come from, I tried to grep all file but it wasn't found. Please help, what I am doing wrong. Thanks