no message
This commit is contained in:
parent
e18a5c97c3
commit
1a58b81bc8
|
@ -101,7 +101,13 @@ void setup() {
|
||||||
writelcd(" Siwat INC (tm) "," Waterish OS");
|
writelcd(" Siwat INC (tm) "," Waterish OS");
|
||||||
delay(1000);
|
delay(1000);
|
||||||
WiFi.mode(WIFI_STA);
|
WiFi.mode(WIFI_STA);
|
||||||
WiFi.begin(ssid, password);
|
WiFi.disconnect(true);
|
||||||
|
esp_wifi_sta_wpa2_ent_set_identity((uint8_t *)eap_usernam, strlen(eap_username));
|
||||||
|
esp_wifi_sta_wpa2_ent_set_username((uint8_t *)eap_username, strlen(eap_username));
|
||||||
|
esp_wifi_sta_wpa2_ent_set_password((uint8_t *)eap_password, strlen(eap_password));
|
||||||
|
esp_wpa2_config_t config = WPA2_CONFIG_INIT_DEFAULT();
|
||||||
|
esp_wifi_sta_wpa2_ent_enable(&config);
|
||||||
|
WiFi.begin(ssid);
|
||||||
int connectionattempt = 0;
|
int connectionattempt = 0;
|
||||||
while (WiFi.status() != WL_CONNECTED && online)
|
while (WiFi.status() != WL_CONNECTED && online)
|
||||||
{
|
{
|
||||||
|
@ -171,7 +177,9 @@ void loop() {
|
||||||
if(allowbuttonint)gpio0.check();
|
if(allowbuttonint)gpio0.check();
|
||||||
}
|
}
|
||||||
void drawcon(){
|
void drawcon(){
|
||||||
()
|
if(devconmenu==1){
|
||||||
|
writelcd("connectionchck.c","Check Connection");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
void handleGPIO0(AceButton* , uint8_t eventType,
|
void handleGPIO0(AceButton* , uint8_t eventType,
|
||||||
uint8_t ) {
|
uint8_t ) {
|
||||||
|
|
Loading…
Reference in New Issue