Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

How to use the reply from onData #168

Open
gotoradio opened this issue Jun 27, 2023 · 0 comments
Open

How to use the reply from onData #168

gotoradio opened this issue Jun 27, 2023 · 0 comments

Comments

@gotoradio
Copy link

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant