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

DFRobot_sim808 library not compatible with ESP8266 esp8266 nodemcu v3 board #22

Open
crazzykon opened this issue Apr 16, 2019 · 0 comments

Comments

@crazzykon
Copy link

When using the library alone the code run fine, but when include other library like ESP8266wifi.h then the IDE when complied will indicate below error

In file included from C:\Users\crazy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:28:0,

from F:\crazy\Download\combine\combine.ino:10:

C:\Users\crazy\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi\src/include/wl_definitions.h:73:17: error: redeclaration of 'CLOSED'

CLOSED = 0,

             ^

In file included from F:\crazy\Download\combine\combine.ino:2:0:

F:\crazy\Documents\Arduino\libraries\DFRobot_SIM808-master/DFRobot_sim808.h:41:5: note: previous declaration 'Protocol CLOSED'

 CLOSED = 0,

 ^

exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant