Issue with Sending Data to ESP32 After Multiple Button Presses in App via HTTP local server

Hello,

I am working on a project using an ESP32, an SD card, and a MAX98357A codec to play MP3 songs. I am building a mobile app to control the volume via a local HTTP server.

The app is intended to send thumb position data to the ESP32 whenever a button is pressed. However, I am encountering an issue: after pressing the button 7 times, the app successfully sends the data as expected. But after the 8th button press, it stops sending the data. When I close and reopen the app, it sends all the data at once.

It seems like the app is holding the request after the 7th button press, and I’m unsure why this is happening.

I have attached a screenshot of the blocks for reference:
MIT APP INVENTOR

Has anyone encountered a similar issue? Can someone explain why this might be happening and how I can resolve it?

Thank you in advance for your help!

Best regards,
aas

Add a Web GotText event and check the response content
Taifun

1 Like

Thank you @Taifun

Its working perfectly!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.