Skip to content

ESP32 examples broken, missing code causes errors #519

Open
@r0n0x

Description

@r0n0x

Hi, i just made a blunder and realized i needed to write this up for the ESP32, works marvelously for the 8266, anyway, i switched the board settings over and decided to first test-run an example, only, none of them work, they all give this error:
enumeration value 'WStype_PING' not handled in switch [-Werror=switch]

So then i add ping, now its saying PONG is missing, ok
now its saying
C:\Users\xxx\Documents\Arduino\libraries\WebSockets\src\SocketIOclient.cpp:102:11: error: enumeration value 'WStype_ERROR' not handled in switch [-Werror=switch]

But heres the thing, that already exists, its unable to find something that is actually there.

Is there like some super obvious edit your supposed to make or? this code seems to be broken out of the box.

whats going on? how do i fix these errors?

Thanks.

Really love this lib otherwise though, works amazing on the esp8266, it just doesnt have the horsepower to control the stuff i need the websocket to interface for

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions