me-no-dev / AsyncTCP

Async TCP Library for ESP32
GNU Lesser General Public License v3.0
749 stars 431 forks source link

How to use the reply from onData #168

Open gotoradio opened 1 year ago

gotoradio commented 1 year ago

Hi, I‘m totally confused: my code calls the function handleData were the recived data is writtenn into void *data

static void handleData(void arg, AsyncClient client, void *data, size_t len)

And how do i compare the recived data with an String like "GPIO 10 ON"?

Best regards!