-->
Page 2 of 2

Re: WEBSOCKET CLIENT issue

PostPosted: Thu Feb 04, 2016 4:58 pm
by deepikavira
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!

Re: WEBSOCKET CLIENT issue

PostPosted: Thu Feb 04, 2016 5:54 pm
by martinayotte
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

Re: WEBSOCKET CLIENT issue

PostPosted: Mon Feb 08, 2016 2:30 pm
by deepikavira
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.

Re: WEBSOCKET CLIENT issue

PostPosted: Mon Mar 20, 2017 7:37 am
by nguyennamdsn
deepikavira wrote:Thanks for your quick response. I will go through the Links2004 library.


hi man,
did you get it work?