Skip to content

Commit 657520d

Browse files
author
wamisnet
committed
関数名変更
1 parent 62eca4b commit 657520d

File tree

4 files changed

+35
-30
lines changed

4 files changed

+35
-30
lines changed

cores/esp32/nefry/Nefry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ void Nefry_lib::setIndexLink(const char title[32], const char url[32]){
404404
ESP32WebServer* Nefry_lib::getWebServer(){
405405
return NefryWebServer.getWebServer();
406406
}
407-
String Nefry_lib::getlistWifi(){
407+
String Nefry_lib::getWiFiList(){
408408
return NefryWiFi.getlistWifi();
409409
}
410410

cores/esp32/nefry/Nefry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Nefry_lib
5454
/* Console */
5555
read(),
5656

57-
getlistWifi(),
57+
getWiFiList(),
5858
createHtml(String title, String head, String body);
5959

6060
long

libraries/Nefry/Nefry.h

Lines changed: 32 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class Nefry_lib
1111
setModuleClass(String className),
1212
setUser(String user),
1313
setUserPass(String pass),
14-
setStoreValue(long value, const int pointer),
15-
setStoreStr(String str, const int pointer),
14+
setStoreValue(long value,const int pointer),
15+
setStoreStr(String str,const int pointer),
1616
getWriteMode(),
1717
readSW(),
1818
getPollingSW(),
1919
getWifiEnabled(),
2020
getDisplayStatusEnabled();
21-
21+
2222
String
2323
getModuleID(),
2424
getModuleClass(),
@@ -30,8 +30,8 @@ class Nefry_lib
3030
getDefaultModuleId(),
3131
/* Console */
3232
read(),
33-
34-
getlistWifi(),
33+
34+
getWiFiList(),
3535
createHtml(String title, String head, String body);
3636

3737
long
@@ -45,9 +45,9 @@ class Nefry_lib
4545
void
4646
reset(),
4747
sleep(const int sec),
48-
setProgramName(const char * pn),
48+
setProgramName(const char * pn),
4949
beginLed(const int num, const int dataOut, uint8_t t = 0, const int clk = -1),
50-
setLed(const int r, const int g, const int b, const char w = 122, const int pin = 16, const int num = 0),
50+
setLed(const int r, const int g, const int b, const char w = 80, const int pin = 16, const int num = 0),
5151
setLed(String _colorStr, const char w = 122, const int pin = 16, const int num = 0),
5252
addWiFi(String ssid, String pass),
5353
deleteWiFi(const int id),
@@ -93,39 +93,41 @@ class Nefry_lib
9393
println(String text),
9494

9595
setIndexLink(const char title[32], const char url[32]),
96-
getDisplayInfo(),
96+
printDeviceInfo(),
9797

98-
setNefryState(int state);
98+
setNefryState(int state),
99+
setLedBlink(int red, int green, int blue, bool EN, int wait),
100+
LedBlinkTask();
99101

100-
ESP32WebServer* getWebServer();
102+
ESP32WebServer* getWebServer();
101103

102-
//下位互換
104+
//下位互換
103105

104-
String getConfStr(const int num) {
106+
String getConfStr(const int num){
105107
return getStoreStr(num);
106108
}
107-
void setConfHtmlStr(const char set[15], const int num) {
108-
setStoreTitle(set, num);
109+
void setConfHtmlStr(const char set[15], const int num){
110+
setStoreTitle(set,num);
109111
}
110-
void setConfStr(const char *str, const int pt) {
111-
setStoreStr(str, pt);
112+
void setConfStr(const char *pt, const int num){
113+
setStoreStr(pt,num);
112114
}
113115
void setStoreTitleStr(const char set[15], const int pt) {
114116
setStoreTitle(set, pt);
115117
}
116-
int getConfValue(const int num) {
117-
return getStoreValue(num + 10);
118+
int getConfValue(const int num){
119+
return getStoreValue(num+10);
118120
}
119-
void setConfHtmlValue(const char set[15], const int num) {
120-
setStoreTitle(set, num + 10);
121+
void setConfHtmlValue(const char set[15], const int num){
122+
setStoreTitle(set,num+10);
121123
}
122-
void setConfValue(const int pt, const int num) {
123-
setStoreValue(num, pt + 10);
124+
void setConfValue(const int pt, const int num){
125+
setStoreValue(num,pt+10);
124126
}
125127
void setStoreTitleValue(const char set[15], const int pt) {
126-
setStoreTitle(set, pt + 10);
128+
setStoreTitle(set, pt+10);
127129
}
128-
String getModuleName() {
130+
String getModuleName(){
129131
return getModuleID();
130132
}
131133

@@ -137,12 +139,15 @@ class Nefry_lib
137139
_swPushingflg = false,
138140
_wifiEnableFlg = true,/* Wi-Fiの有効無効化 */
139141
_displayStatusFlg = true;/* ディスプレイの状態表示の有効無効化 */
142+
143+
bool setAnalyticsData(String action);
140144

141-
int
145+
int
142146
_bootMode = -1, /* Boot状態を管理 -1:初期化中 0:起動中 1:通常起動 2:書き込みモード */
143147
hextonum(char c),
144-
_nefryState = 0;
145-
148+
_nefryState = 0,
149+
_nefryWifiWait;
150+
int _nefryLedBlinkState[5];
146151
const char * program;
147152
};
148153
extern Nefry_lib Nefry;

libraries/Nefry/keywords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ getProgramName KEYWORD2
6565
getVersion KEYWORD2
6666
getAddressStr KEYWORD2
6767
setStoreTitle KEYWORD2
68-
getlistWiFi KEYWORD2
68+
getWiFiList KEYWORD2
6969
createHtml KEYWORD2
7070
setIndexLink KEYWORD2
7171
getDisplayInfo KEYWORD2

0 commit comments

Comments
 (0)