we were working on a project initially we used esp32 wroom dev kit do it module and everything was working fine then, we shifted to esp32 wroom 32e chip and made custom PCB for it. Using the same code the code executes only once & once it connects with our custom app it sends data sometimes once and then stops or sometimes it just freezes after initialization of the board. We are using Arduino ide for programming .
Any suggestions on how we can tackle this problem?
I moved your topic to an appropriate forum category @avvv39.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
You can help yourself by inserting serial prnts to track program flow and variable values. Use temporary delay calls to slow things down if required.
To get rid of the delays, i would use a sequential state machine. I have an example on my PC but do not have access now. Perhaps tomorrow.
We can, perhsps, help you if you properly post your code. Use the IDE autoformat tool before posting `Use code tags to format code for the forum all the program in a code block, as described in the how to get the most out of the forum post linked, above, by Pert.