Other B4R v1.20 BETA - Support for ESP8266 Boards

Status
Not open for further replies.

positrom2

Active Member
Licensed User
rwblinn:
Thank you for posting the zipped files. They are compiling.
Now I have the problem connecting to the server.
B4R: connected to wireless netwok
Failed to connect to server
B4J: No connection with an ESP
I tried disabling the local firewall and allowing Port 51042 for incoming and outgoing connections in the private network, without success.
 

positrom2

Active Member
Licensed User
By sudden it works (don't know why, having done several settings to the firewall, restarted both B4R, B4J, reseted the ESP).
Could someone find the time to describe what is really necessary (Win7 prof.)?
 

Toley

Active Member
Licensed User
Remove the reference to rWifi101. The file shouldn't have been there. There is no such library.
Thank you Erel, this was also my problem. Your example works very well on a NodeMCU 1.0 (by far my favorite ESP8266 board).
 

barx

Well-Known Member
Licensed User
How comes 'client' and 'server' are hidden in the rESP8266WiFi lib, are they still work in progress?
 

Filippo

Expert
Licensed User
Hi Erel,

I have maybe a stupid question, you can either connect to android phone or iOS phone without a server?
Phone = Server
Board = client
 

barx

Well-Known Member
Licensed User

atiaust

Active Member
Licensed User
Hi Erel,

I have followed all your setup instructions above and while trying to compile your example I get the following error message.

B4R version: 1.20 BETA #2
Parsing code. (0.00s)
Compiling code. (0.07s)
Building project (0.05s)
Compiling & deploying Ino project (WeMos D1 R2 & mini - COM6) Error

sketch\IRremote.cpp:24:27: fatal error: avr/interrupt.h: No such file or directory
#include <avr/interrupt.h>
^
compilation terminated.
exit status 1
Error compiling for board WeMos D1 R2 & mini.

probably something simple but I can't find it.

Any ideas?

Thanks
 

atiaust

Active Member
Licensed User
Not on purpose.....

I use the IRremote in another B4R app only by way of an "#if C / #end If" sub.

I created a new folder "rWeMos" for this app
When I look in the objects/src folder for this app the "IRremote.cpp" plus others has been included.
Does the run/compile do this?
How do I get around it?

Thanks
 

atiaust

Active Member
Licensed User
Hi Erel,

I removed the lRremote from the library folder in B4R, removed it from the objects/scr folder and it still gives me the same compile error as well as adds the iRremote back into the objects/scr folder.

Does it need to be removed from the arduino libraries folder as well?

Thanks
 

atiaust

Active Member
Licensed User
Hi Erel,

I have removed the iRremote folder from the Arduino libraries as well and still have the same problem.
Not sure what else to try.

Thanks
 

atiaust

Active Member
Licensed User
Hi All,

Does anyone have an example of using the WeMos board as a server instead of a client?

Thanks in advance
 
Status
Not open for further replies.
Top