Skip to content

Commit dbf19dd

Browse files
committed
Version 3.0.3
Adjustments if web socket is disabled
1 parent a057834 commit dbf19dd

File tree

5 files changed

+26
-14
lines changed

5 files changed

+26
-14
lines changed

Diff for: README.md

+14
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,20 @@ In advanced sample, I used WifiManager library, ArduinoOTA and mDNS, please see
536536
537537
## Releases
538538
539+
### 3.0.3 - 2019-03-18
540+
541+
- Adjustments if web socket is disabled
542+
543+
### 3.0.2 - 2019-03-16
544+
545+
- Adjustments in examples, added one for debugger
546+
547+
### 3.0.1 - 2019-03-13
548+
549+
- Adjustments in silente mode
550+
- Commands from RemoteDebugApp now is treated
551+
- Adjusts to RemoteDebugger support connection by web sockets
552+
539553
### 3.0.0 - 2019-03-10
540554
541555
- If not disabled, add a web socket server to comunicate with RemoteDebugApp (HTML5 web app)

Diff for: library.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "RemoteDebug",
33
"keywords": "Debug, Remote, Telnet, WiFi",
4-
"description": "Remote debug over telnet for Arduino ESP8266 and ESP32",
4+
"description": "Remote debug over WiFi for Arduino ESP8266 and ESP32",
55
"repository":
66
{
77
"type": "git",
88
"url": "https://github.com/JoaoLopesF/RemoteDebug.git"
99
},
10-
"version": "3.0.2",
10+
"version": "3.0.3",
1111
"frameworks": "arduino",
1212
"platforms": "*"
1313
}

Diff for: library.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name=RemoteDebug
2-
version=3.0.2
2+
version=3.0.3
33
author=Joao Lopes
44
maintainer=Joao Lopes
5-
sentence=Remote debug over telnet for Arduino ESP8266 and ESP32
5+
sentence=Remote debug over WiFi for Arduino ESP8266 and ESP32
66
paragraph=
77
category=Communication
88
url=https://github.com/JoaoLopesF/RemoteDebug

Diff for: src/RemoteDebug.cpp

+7-9
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
*
99
* Versions:
1010
* ------ ---------- -----------------
11+
* 3.0.3 2019-03-18 Adjustments if web socket is disabled
1112
* 3.0.2 2019-03-16 Adjustments in examples, added one for debugger
1213
* 3.0.1 2019-03-13 Adjustments in silente mode
1314
* Commands from RemoteDebugApp now is treated
14-
* Adusts to RemoteDebugger support connection by web sockets
15+
* Adjusts to RemoteDebugger support connection by web sockets
1516
* 3.0.0 2019-03-11 If not disabled, add a web socket server to comunicate with RemoteDebugApp (HTML5 web app)
1617
* The standard telnet still working, to debug with internet offline
1718
* Ajustment on debugA macro, thanks @jetpax to add this issue
@@ -80,7 +81,7 @@
8081

8182
///// Defines
8283

83-
#define VERSION "3.0.2"
84+
#define VERSION "3.0.3"
8485

8586
///// Includes
8687

@@ -149,17 +150,14 @@ bool system_update_cpu_freq(uint8_t freq);
149150

150151
#else // With web socket too
151152

152-
#define debugPrintf(fmt ...) { \
153-
// Send to telnet\
154-
if (_connected) debugPrintf(fmt, ##__VA_ARGS__);\
153+
#define debugPrintf(fmt, ...) { \
154+
if (_connected) TelnetClient.printf(fmt, ##__VA_ARGS__);\
155155
}
156156
#define debugPrintln(str) { \
157-
// Send to telnet\
158-
if (_connected) debugPrintln(str);\
157+
if (_connected) TelnetClient.println(str);\
159158
}
160159
#define debugPrint(str) { \
161-
// Send to telnet\
162-
if (_connected) debugPrint(str);\
160+
if (_connected) TelnetClient.print(str);\
163161
}
164162

165163
#endif

Diff for: src/RemoteDebug.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#endif
3939

4040
///// Websocket server to support debug over web browser (RemoteDebugApp)
41-
// Uncomment this to enable
41+
// Uncomment this to disable it
4242

4343
//#define WEBSOCKET_DISABLED true
4444

0 commit comments

Comments
 (0)