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

No connection possible from arduino to Pusher #18

Open
01giraffe opened this issue Dec 14, 2023 · 0 comments
Open

No connection possible from arduino to Pusher #18

01giraffe opened this issue Dec 14, 2023 · 0 comments

Comments

@01giraffe
Copy link

I can't get it to connect from arduino to pusher.
Will you help me, maybe you can find what I am doing wrong.

The situation is as follows

I have added all keys in the pusherclient.cpp. between the "" as you had described.

In the example script in IDE, I haven't changed anything, but when I compile I get the following message: Compilation error: no matching function for call to 'PusherClient::connect(const char [18])'.

When I remove the "your-api-key-here"
in the line: if(client.connect("your-api-key-here")) {

I no longer get compile errors. but get as response in the serial monitor:
21:44:16.328 -> Connecting to host.
21:44:16.328 -> Connection to host failed.
21:44:16.361 -> Connection to Pusher failed.

I suspect the error is in that if(client.connect line.

i used an arduino uno, with ethernet shield

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