Skip to content

No connection possible from arduino to Pusher #18

Description

@01giraffe

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions