Skip to content

Q&A: My code is not working. Help!

René Vollmer edited this page Jun 18, 2021 · 2 revisions

Prerequisite

  1. Make sure that your ESP is directly connected¹ to the WIFI of the device hosting the TR-064 server (typically the router). You can do that by checking if the ESP shows up in the list of devices of the TR-064 server.
  2. Make sure that your ESP is NOT using the guest WIFI.
  3. Read and try to understand the error output of the ESP.
  4. Make sure to run the latest (release) version of the library.
  5. Check if the the user rights for the account you created are sufficient.

¹ in theory, it should not be a problem to be connected via a repeater, but better be safe and exclude this.

Check hardware

A surprising amount of problems with µControllers occurs because they overheat, don't have sufficient power supply or the peripherals are misbehaving. I strongly recommend to test the code without any peripherals, try different power supplies, and make sure the code is not using too many resources. Manually checking the temperature of the µController can also help (touching the IC).

I get an error message or my code is not compiling

Great! Check the understanding error message wiki page to help you along! If you still can't make sense of it, it often helps to understand what lead up to an error and where exactly it occurred. Use all the possible debugging option to figure these things out!

I don't get an error message

Ok, that makes it tricky. But don't worry, you can start figuring out what is going on by using all the possible debugging option.

Check Issue and Wiki section on github

See if there is a fitting Wiki-article or open issue. Otherwise feel free to open a new one! Please also open an issue or write a wiki page, if you figured something out, you think others can benefit from.