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

Support Arduino UNO wifi rev 2 #31

Closed
webberig opened this issue Aug 30, 2019 · 2 comments
Closed

Support Arduino UNO wifi rev 2 #31

webberig opened this issue Aug 30, 2019 · 2 comments
Labels
enhancement New feature or request
Projects

Comments

@webberig
Copy link

I'm trying to setup a websocket server on my Arduino UNO wifi rev 2, but as soon as I include ArduinoWebsockets to my script, I get a compilation error:

In file included from /.../Arduino/libraries/ArduinoWebsockets/src/tiny_websockets/message.hpp:3:0,
                 from /.../Arduino/libraries/ArduinoWebsockets/src/ArduinoWebsockets.h:4,
                 from /.../Arduino/distancemeterWifi/distancemeterWifi.ino:3:
/.../Arduino/libraries/ArduinoWebsockets/src/tiny_websockets/internals/ws_common.hpp:4:10: fatal error: string: No such file or directory
 #include <string>
          ^~~~~~~~
compilation terminated.
exit status 1

I'm fairly new to the programming language, so I have no clue what is causing this... Why is this importing "string" ?

@gilmaimon
Copy link
Owner

Hi,

This library currently only supports ESP32 and ESP8266 which is why you are getting compilation errors..

There is no plan currently to support other boards, I'll consider grabbing an Uno WiFi rev 2 and supporting it.

Gil

@gilmaimon gilmaimon added the usage queshtion Queshtions about using the library, its interface and so on label Aug 30, 2019
@gilmaimon gilmaimon added this to To do in Bugfixes Oct 7, 2019
@gilmaimon gilmaimon added the enhancement New feature or request label Oct 7, 2019
@gilmaimon gilmaimon removed this from To do in Bugfixes Oct 17, 2019
@gilmaimon gilmaimon added this to To do in Features Oct 17, 2019
@gilmaimon gilmaimon removed the usage queshtion Queshtions about using the library, its interface and so on label Oct 17, 2019
@gilmaimon gilmaimon changed the title Compilation error on "#include <string>" Support Arduino UNO wifi rev 2 Oct 17, 2019
@gilmaimon
Copy link
Owner

Not going to develop this myself. Contributions for further support are welcomed and I describe briefly how to do so here.

Features automation moved this from To do to Done Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Features
  
Done
Development

No branches or pull requests

2 participants