Ignore:
Timestamp:
May 5, 2016, 1:28:52 AM (8 years ago)
Author:
ertl-honda
Message:

共有設定を別ファイルとした

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtos_arduino/trunk/examples/WifiEcho/rca_app.cpp

    r213 r235  
    22#include "ESP8266.h"
    33
    4 #define STA_SSID       ""
    5 #define STA_PASSWORD   ""
    6 
    7 #define AP_SSID       "M0_AP"
    8 #define AP_PASSWORD   "none"
     4#include "../examples_gdef.h"
    95
    106#define WMODE_STATION
     
    2824        Serial.println(WiFi.getVersion().c_str());
    2925        Serial.print("Supported FW Version:");
    30         Serial.println(ESP8266_SUPPORT_VERSION);
     26        Serial.print(ESP8266_SUPPORT_VERSION);
    3127        while(1);
    3228    } else {
     
    5046    } else {
    5147        Serial.print("Join AP failure\r\n");
     48        while(1);
    5249    }
    5350#else /* !WMODE_STATION */
     
    7168    } else {
    7269        Serial.print("multiple err\r\n");
     70        while(1);
    7371    }
    7472
     
    7775    } else {
    7876        Serial.print("start tcp server err\r\n");
     77        while(1);
    7978    }
    8079
     
    8382    } else {
    8483        Serial.print("set tcp server timout err\r\n");
     84        while(1);
    8585    }
    8686
Note: See TracChangeset for help on using the changeset viewer.