itead / ITEADLIB_Arduino_WeeESP8266

An easy-to-use Arduino ESP8266 library besed on AT firmware.
MIT License
526 stars 285 forks source link

len = wifi.recv(buffer, sizeof(buffer), 200); #55

Open prakashdobariya opened 8 years ago

prakashdobariya commented 8 years ago

I am trying to connect two arduino UNO using this code but there is some issue in following function..

len = wifi.recv(buffer, sizeof(buffer), 200);

ERROR: client.ino: In function ‘void loop()': client:48: error: ‘class ESP8266′ has no member named ‘recv’ ‘class ESP8266′ has no member named ‘recv’

Please provide me a solution for this

schenkl commented 7 years ago

I'm having the same issue (I think). I get the error: 'wifi' was not declared in this scope but I think that it is the wifi.recv that has no member defined. Is there a fix for this? Do I need a different library?