Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant