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

bool WIFI_CONFIG::Setup()': 'sleep_type'& 'phy_mode' was not declared in this scope #79

Closed
mkeyno opened this issue Feb 19, 2016 · 5 comments

Comments

@mkeyno
Copy link

mkeyno commented Feb 19, 2016

hi buddy , I cant find this 2 function in wifi.cpp and face the following error , could you help me out
I use the Arduino 1.6.4 with last staging version of ESP8266

\wifi.cpp: In member function 'bool WIFI_CONFIG::Setup()':
\wifi.cpp:161:27: error: 'sleep_type' was not declared in this scope
wifi_set_sleep_type ((sleep_type)bflag);
^
\wifi.cpp:181:28: error: 'phy_mode' was not declared in this scope
wifi_set_phy_mode((phy_mode)bflag);
^
\wifi.cpp:217:28: error: 'phy_mode' was not declared in this scope
wifi_set_phy_mode((phy_mode)bflag);
^
Error compiling.

and one more this , are you aware of awesome work that some cool guys doing this
https://github.com/openhardwarecoza/LaserWeb

@treepleks
Copy link

Don't use the last staging version but version 2.0 (the name of the
types have changed in 2.1). Alternatively shift to the new type names
(something like sleep_t and phy_t ???? just check in the header files).

T Reepleks

Le 19/02/2016 19:37, mehrdad a écrit :

hi buddy , I cant find this 2 function in wifi.cpp and face the
following error , could you help me out
I use the Arduino 1.6.4 with last staging version of ESP8266

\wifi.cpp: In member function 'bool WIFI_CONFIG::Setup()':
\wifi.cpp:161:27: error: 'sleep_type' was not declared in this scope
wifi_set_sleep_type ((sleep_type)bflag);
^
\wifi.cpp:181:28: error: 'phy_mode' was not declared in this scope
wifi_set_phy_mode((phy_mode)bflag);
^
\wifi.cpp:217:28: error: 'phy_mode' was not declared in this scope
wifi_set_phy_mode((phy_mode)bflag);
^
Error compiling.

and one more this , are you aware of awesome work that some cool guys
doing this
https://github.com/openhardwarecoza/LaserWeb


Reply to this email directly or view it on GitHub
#79.

@mkeyno
Copy link
Author

mkeyno commented Feb 19, 2016

ok , tnx , but have you check the this https://github.com/openhardwarecoza/LaserWeb
they used the serial interface to connect the printer , I think they should join you to create wifi transparent link

@luc-github
Copy link
Owner

Staging version is not stable yet do not use it for managing printer, there are several issues that generate crash and generate debug output that could ruins your print. So please use 2.0.0

I am waiting the staging get more stability to port the current code to 2.1 or upper.

Thanks for the link, I plan to build a milling cnc and a laser one, so I will check for sure,

@luc-github
Copy link
Owner

I close this issue as duplicate of #65

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants