Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By deepikavira
#40443
NatroN wrote:Don't know which websocket server you are using, but please be sure that it speaks WS - not WSS (websocket Secure)

have a look at Links2004 library

regards

I am trying to connect to a server which talks WS and NOT WSS. I did check out the Links2004 library. It looks like I could use it for my project. The place where I am getting stuck again is actually the " ESP8266WiFI.h " file. It seems that I don't have the correct file for that one. Do you know which place to download it from?

You help is much appreciated!
User avatar
By martinayotte
#40446 Are you sure you have your Arduino IDE set to compile ESP ?
Because the ESP8266WiFi.h is simply part of the normal ESP installation.
(make sure to include it with proper cases, some people tried ESP8266Wifi.h with lower case F, in your post above you have WiFI with wrong I)
https://github.com/esp8266/Arduino/blob ... 8266WiFi.h
User avatar
By deepikavira
#40721
martinayotte wrote:Are you sure you have your Arduino IDE set to compile ESP ?
Because the ESP8266WiFi.h is simply part of the normal ESP installation.
(make sure to include it with proper cases, some people tried ESP8266Wifi.h with lower case F, in your post above you have WiFI with wrong I)
https://github.com/esp8266/Arduino/blob ... 8266WiFi.h


Hi martinayotte, I think I didn't have the Arduino IDE set up for ESP . I didn't realize I had to download it separately. Thanks for pointing it out to me.