Hi,
I've been doing some very simple experiments with an ESP32 module running an Arduino core recently, as part of a project where I'd like to control the duty cycle of two PWM lines from an android app through a wifi connection. I have some basic skills in C, but very little experience in interfacing with existing code/protocols etc - mostly I've just been writing simple embedded stuff.
Whilst I've managed to get the ESP to toggle a GPIO on or off by changing the url through a browser, or by clicking a hyperlink on a server created on the ESP using example code, I don't think that this would be ideal for controlling two separate duty cycles, as you'd need to have a whole host of urls to send data. Is there a more efficient way of sending data to my ESP32 via wifi? I envisage that it would likely take the format of a string, say "A32" for pwm channel A at 32%.
I have seen services like Blynk, but would prefer to stay away from such things as they seem to make it too easy - I want to learn about the processes involved, but my inexperience in this field has it seem a bit daunting. Any further advice regarding how to learn how to understand these processes would be appreciated too.
Thanks in advance.