From dacd1e0a70319c053d43747ee68d6571023fc8e7 Mon Sep 17 00:00:00 2001 From: Julien Staub Date: Sun, 4 Sep 2022 05:32:34 +0200 Subject: [PATCH] more wiki update (#779) * update D1-mini HW * rename file * general wiki update * delete 3.0 commands fro 2.x branch, transform commands to md files * WIP command 2.0 * update commandline.md * remove v3 commandline * v2.1 --- README.md | 2 +- wiki/Command-line-2_0.md | 155 ++++++++++++ wiki/Command-line-2_1.md | 168 +++++++++++++ wiki/Command-line-commands.md | 5 + wiki/D1-mini.md | 28 --- wiki/Direct-ESP3D-commands.md | 5 - wiki/Home.md | 6 +- ...t.md => Printer-firmware-compatibility.md} | 4 +- wiki/_Sidebar.md | 26 +- wiki/docs/Commands2_0.txt | 161 ------------- wiki/docs/Commands2_1.txt | 172 -------------- wiki/docs/Commands3.txt | 223 ------------------ wiki/hardware-connection.md | 10 +- 13 files changed, 361 insertions(+), 604 deletions(-) create mode 100644 wiki/Command-line-2_0.md create mode 100644 wiki/Command-line-2_1.md create mode 100644 wiki/Command-line-commands.md delete mode 100644 wiki/D1-mini.md delete mode 100644 wiki/Direct-ESP3D-commands.md rename wiki/{Firmware--support.md => Printer-firmware-compatibility.md} (96%) delete mode 100644 wiki/docs/Commands2_0.txt delete mode 100644 wiki/docs/Commands2_1.txt delete mode 100644 wiki/docs/Commands3.txt diff --git a/README.md b/README.md index 15641195..c73fd64b 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ if Authentication is enabled : ## Direct commands: -Check wiki : https://github.com/luc-github/ESP3D/wiki/Direct-ESP3D-commands +Check wiki : https://github.com/luc-github/ESP3D/wiki/Command-line-commands ## Installation instructions See [Wiki](https://github.com/luc-github/ESP3D/wiki/Install-Instructions) diff --git a/wiki/Command-line-2_0.md b/wiki/Command-line-2_0.md new file mode 100644 index 00000000..fa1a631d --- /dev/null +++ b/wiki/Command-line-2_0.md @@ -0,0 +1,155 @@ +# Command line commands for 2.0 + +## Format + +Please note all commands are in format `[ESPxx]`. These first brackets `[]` are not optional. +Most of the time givin no argument will return current configuration +If authentication is on, somme commands will need admin password. They are recognised by the optional argument `[pwd=]` in command line. + +## Deviations from standard command line + +Based on command line format from . + +* `[ESPxxx]` the brackets are part of the command here and do not mean "optional argument" +* ALL commands with `=` should be using long arg format `--arg=` for example `[pwd=]` should be `[--pwd=]` + +## Commands + +### Get/change STA SSID +`[ESP100] [] [pwd=]` + +### Change STA Password +`[ESP101] [pwd=]` + +### Get/change Hostname +`[ESP102] [] [pwd=]` + +### Get/change Wifi mode (STA/AP) +`[ESP103] [STA | AP] [pwd=]` + +### Get/change STA IP mode (DHCP/STATIC) +`[ESP104] [DHCP | STATIC] [pwd=]` + +### Get/change AP SSID +`[ESP105] [] [pwd=]` + +### Change AP Password +`[ESP106] [pwd=]` + +### Get/change AP IP mode (DHCP/STATIC) +`[ESP107] [DHCP | STATIC] [pwd=]` + +### Get/change wifi state (on/off) +`[ESP110] [ON | OFF | RESTART] [pwd=]` + +### Get current IP +`[ESP111]` + +### Get/Change hostname +`[ESP112] []` + +### Get/Set pin value +`[ESP201] P [V PULLUP=YES RAW=YES ANALOG=NO ANALOG_RANGE=255 CLEARCHANNELS=NO pwd=]` +if no V get P value +if V 0/1 set INPUT_PULLUP value, but for GPIO16 INPUT_PULLDOWN_16 +GPIO1 and GPIO3 cannot be used as they are used for serial +if PULLUP=YES set input pull up, if not set input +if RAW=YES do not set pinmode just read value + +### Output to oled column C and line L +`[ESP210] C= L= T=` + +### Output to oled line 1 +`[ESP211] ` + +### Output to oled line 2 +`[ESP212] ` + +### Output to oled line 3 +`[ESP213] ` + +### Output to oled line 4 +`[ESP214] ` + +### Get full EEPROM settings content +but do not give any passwords +can filter if only need wifi or printer +`[ESP400] ` + +### Set EEPROM setting +`[ESP401] P= T={B | I | S | A} V= [pwd=]` +`T` type: B(byte), I(integer/long), S(string), A(IP address / mask) +`P` position: address in EEPROM + +* `EP_WIFI_MODE 0 //1 byte = flag` +* `EP_STA_SSID 1 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese` +* `EP_STA_PASSWORD 34 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese` +* `EP_STA_IP_MODE 99 //1 byte = flag` +* `EP_STA_IP_VALUE 100 //4 bytes xxx.xxx.xxx.xxx` +* `EP_STA_MASK_VALUE 104 //4 bytes xxx.xxx.xxx.xxx` +* `EP_STA_GATEWAY_VALUE 108 //4 bytes xxx.xxx.xxx.xxx` +* `EP_BAUD_RATE 112 //4 bytes = int` +* `EP_STA_PHY_MODE 116 //1 byte = flag` +* `EP_SLEEP_MODE 117 //1 byte = flag` +* `EP_CHANNEL 118 //1 byte = flag` +* `EP_AUTH_TYPE 119 //1 byte = flag` +* `EP_SSID_VISIBLE 120 //1 byte = flag` +* `EP_WEB_PORT 121 //4 bytes = int` +* `EP_DATA_PORT 125 //4 bytes = int` +* `EP_OUTPUT_FLAG 129 //1 bytes = flag` +* `EP_HOSTNAME 130 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese` +* `EP_DHT_INTERVAL 164 //4 bytes = int` +* `EP_FREE_INT2 168 //4 bytes = int` +* `EP_FREE_INT3 172 //4 bytes = int` +* `EP_ADMIN_PWD 176 //21 bytes 20+1 = string ; warning does not support multibyte char like chinese` +* `EP_USER_PWD 197 //21 bytes 20+1 = string ; warning does not support multibyte char like chinese` +* `EP_AP_SSID 218 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese` +* `EP_AP_PASSWORD 251 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese` +* `EP_AP_IP_VALUE 316 //4 bytes xxx.xxx.xxx.xxx` +* `EP_AP_MASK_VALUE 320 //4 bytes xxx.xxx.xxx.xxx` +* `EP_AP_GATEWAY_VALUE 324 //4 bytes xxx.xxx.xxx.xxx` +* `EP_AP_IP_MODE 329 //1 byte = flag` +* `EP_AP_PHY_MODE 330 //1 byte = flag` +* `EP_FREE_STRING1 331 //129 bytes 128+1 = string ; warning does not support multibyte char like chinese` +* `EP_DHT_TYPE 460 //1 bytes = flag` +* `EP_TARGET_FW 461 //1 bytes = flag` + +### Get available AP list (limited to 30) +`[ESP410] [plain]` +Output is JSON or plain text according parameter + +### Get current settings of ESP3D +`[ESP420] [plain]` +Output is JSON or plain text according parameter + +### Get/Set ESP mode +`[ESP444] [RESET | SAFEMODE | CONFIG | RESTART] [pwd=]` +if authentication is on, need admin password for RESET, RESTART and SAFEMODE + +### Change / Reset user password +`[ESP555] [] [pwd=]` +If no password set it use default one + +### Send GCode with check sum caching right line numbering +`[ESP600] ` + +### Send line checksum +`[ESP601] ` + +### Read SPIFFS file and send each line to serial +`[ESP700] ` + +### Format SPIFFS +`[ESP710] FORMAT [pwd=]` + +### Get SPIFFS total size and used size +`[ESP720]` + +### Get fw version and basic information +`[ESP800]` + +### Get fw target +`[ESP801]` + +### Check SD presence +`[ESP802]` diff --git a/wiki/Command-line-2_1.md b/wiki/Command-line-2_1.md new file mode 100644 index 00000000..ba7003ab --- /dev/null +++ b/wiki/Command-line-2_1.md @@ -0,0 +1,168 @@ +# Command line commands for 2.1 + +## Format + +Please note all commands are in format `[ESPxx]`. These first brackets `[]` are not optional. +Most of the time givin no argument will return current configuration +If authentication is on, somme commands will need admin password. They are recognised by the optional argument `[pwd=]` in command line. + +## Deviations from standard command line + +Based on command line format from . + +* `[ESPxxx]` the brackets are part of the command here and do not mean "optional argument" +* ALL commands with `=` should be using long arg format `--arg=` for example `[pwd=]` should be `[--pwd=]` + +## Commands + +### Get/change STA SSID +`[ESP100] [] [pwd=]` + +### Change STA Password +`[ESP101] [pwd=]` + +### Get/change Hostname +`[ESP102] [] [pwd=]` + +### Get/change Wifi mode (STA/AP) +`[ESP103] [STA | AP] [pwd=]` + +### Get/change STA IP mode (DHCP/STATIC) +`[ESP104] [DHCP | STATIC] [pwd=]` + +### Get/change AP SSID +`[ESP105] [] [pwd=]` + +### Change AP Password +`[ESP106] [pwd=]` + +### Get/change AP IP mode (DHCP/STATIC) +`[ESP107] [DHCP | STATIC] [pwd=]` + +### Get/change wifi state (on/off) +`[ESP110] [ON | OFF | RESTART] [pwd=]` + +### Get current IP +`[ESP111]` + +### Get/Change hostname +`[ESP112] []` + +### Get/Set pin value +`[ESP201] P [V PULLUP=YES RAW=YES ANALOG=NO ANALOG_RANGE=255 CLEARCHANNELS=NO pwd=]` +if no V get P value +if V 0/1 set INPUT_PULLUP value, but for GPIO16 INPUT_PULLDOWN_16 +GPIO1 and GPIO3 cannot be used as they are used for serial +if PULLUP=YES set input pull up, if not set input +if RAW=YES do not set pinmode just read value + +### Output to oled column C and line L +`[ESP210] C= L= T=` + +### Output to oled line 1 +`[ESP211] ` + +### Output to oled line 2 +`[ESP212] ` + +### Output to oled line 3 +`[ESP213] ` + +### Output to oled line 4 +`[ESP214] ` + +### Delay +`[ESP290] [pwd=]` + +### Get EEPROM mapping version +`[ESP300]` + +### Get full EEPROM settings content +but do not give any passwords +can filter if only need wifi or printer +`[ESP400] ` + +### Set EEPROM setting +`[ESP401] P= T={B | I | S | A} V= [pwd=]` +`T` type: B(byte), I(integer/long), S(string), A(IP address / mask) +`P` position: address in EEPROM + +* `EP_WIFI_MODE 0 //1 byte = flag` +* `EP_STA_SSID 1 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese` +* `EP_STA_PASSWORD 34 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese` +* `EP_STA_IP_MODE 99 //1 byte = flag` +* `EP_STA_IP_VALUE 100 //4 bytes xxx.xxx.xxx.xxx` +* `EP_STA_MASK_VALUE 104 //4 bytes xxx.xxx.xxx.xxx` +* `EP_STA_GATEWAY_VALUE 108 //4 bytes xxx.xxx.xxx.xxx` +* `EP_BAUD_RATE 112 //4 bytes = int` +* `EP_STA_PHY_MODE 116 //1 byte = flag` +* `EP_SLEEP_MODE 117 //1 byte = flag` +* `EP_CHANNEL 118 //1 byte = flag` +* `EP_AUTH_TYPE 119 //1 byte = flag` +* `EP_SSID_VISIBLE 120 //1 byte = flag` +* `EP_WEB_PORT 121 //4 bytes = int` +* `EP_DATA_PORT 125 //4 bytes = int` +* `EP_OUTPUT_FLAG 129 //1 bytes = flag` +* `EP_HOSTNAME 130 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese` +* `EP_DHT_INTERVAL 164 //4 bytes = int` +* `EP_FREE_INT2 168 //4 bytes = int` +* `EP_FREE_INT3 172 //4 bytes = int` +* `EP_ADMIN_PWD 176 //21 bytes 20+1 = string ; warning does not support multibyte char like chinese` +* `EP_USER_PWD 197 //21 bytes 20+1 = string ; warning does not support multibyte char like chinese` +* `EP_AP_SSID 218 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese` +* `EP_AP_PASSWORD 251 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese` +* `EP_AP_IP_VALUE 316 //4 bytes xxx.xxx.xxx.xxx` +* `EP_AP_MASK_VALUE 320 //4 bytes xxx.xxx.xxx.xxx` +* `EP_AP_GATEWAY_VALUE 324 //4 bytes xxx.xxx.xxx.xxx` +* `EP_AP_IP_MODE 329 //1 byte = flag` +* `EP_AP_PHY_MODE 330 //1 byte = flag` +* `EP_FREE_STRING1 331 //129 bytes 128+1 = string ; warning does not support multibyte char like chinese` +* `EP_DHT_TYPE 460 //1 bytes = flag` +* `EP_TARGET_FW 461 //1 bytes = flag` + +### Get available AP list (limited to 30) +`[ESP410] [plain]` +Output is JSON or plain text according parameter + +### Get current settings of ESP3D +`[ESP420] [plain]` +Output is JSON or plain text according parameter + +### Get/Set ESP mode +`[ESP444] [RESET | SAFEMODE | CONFIG | RESTART] [pwd=]` +if authentication is on, need admin password for RESET, RESTART and SAFEMODE + +### Send GCode with check sum caching right line numbering +`[ESP500] ` + +### Send line checksum +`[ESP501] ` + +### Change / Reset user password +`[ESP555] [] [pwd=]` +If no password set it use default one + +### Send notification +`[ESP600] [pwd=]` + +### Set/Get notification settings +`[ESP610] type={NONE | PUSHOVER | EMAIL | LINE} T1= T2= TS= [pwd=]` +Get will give type and settings only not the protected T1/T2 + +### Read SPIFFS file and send each line to serial +`[ESP700] ` + +### Format SPIFFS +`[ESP710] FORMAT [pwd=]` + +### Get SPIFFS total size and used size +`[ESP720]` + +### Get fw version and basic information +`[ESP800]` + +### Get fw target +`[ESP801]` + +### Get state / Set Enable / Disable Serial Communication +`[ESP900] <{ENABLE | DISABLE}>` diff --git a/wiki/Command-line-commands.md b/wiki/Command-line-commands.md new file mode 100644 index 00000000..979255fc --- /dev/null +++ b/wiki/Command-line-commands.md @@ -0,0 +1,5 @@ +# Command line commands + +* [v2.0.x](https://github.com/luc-github/ESP3D/wiki/Command-line-2_0) +* [v2.1.x](https://github.com/luc-github/ESP3D/wiki/Command-line-2_1) +* v3.0.x : work in progress diff --git a/wiki/D1-mini.md b/wiki/D1-mini.md deleted file mode 100644 index a1311af5..00000000 --- a/wiki/D1-mini.md +++ /dev/null @@ -1,28 +0,0 @@ -# D1 mini - -Two Methods for connecting the Wemos d1 mini - ---- - -## connection Wemos d1 mini and Logic Level Converter: - -connection: -![level converter wireing](https://github.com/jayjojayson/ESP3D/blob/2.1/images/D1_mini/wemos-d1-mini_logic-level-converter.jpg) - -example: -![end result](https://github.com/jayjojayson/ESP3D/blob/2.1/images/D1_mini/wemos-d1-mini_logic-level-converter-2.jpg) - -printed case: - ---- - -## connection Wemos d1 mini and Diode - -connection: -![diode wireing diagram](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/D1_mini/FB_IMG_1510306696875.jpg) - -example: -![end result](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/D1_mini/20171111_215253.jpg) - -printed case: - diff --git a/wiki/Direct-ESP3D-commands.md b/wiki/Direct-ESP3D-commands.md deleted file mode 100644 index 4d26eb0f..00000000 --- a/wiki/Direct-ESP3D-commands.md +++ /dev/null @@ -1,5 +0,0 @@ -# Direct commands - -* [v2.0](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/docs/Commands2_0.txt) -* [v2.1](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/docs/Commands2_1.txt) -* [v3.0](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/docs/Commands3.txt) diff --git a/wiki/Home.md b/wiki/Home.md index 5aa5d659..80503b6b 100644 --- a/wiki/Home.md +++ b/wiki/Home.md @@ -1,18 +1,18 @@ # Welcome to ESP3D wiki -## Releases +## Releases are vailable here --- -## Nice things done using ESP3D +## Other nice things done using ESP3D * [Rainmeter skin by @StArL0rd84](https://github.com/luc-github/ESP3D/wiki/Rainmeter-skin) --- -Check right menu for more +## Contributing To update wiki please submit a PR to wiki directory content of default branch diff --git a/wiki/Firmware--support.md b/wiki/Printer-firmware-compatibility.md similarity index 96% rename from wiki/Firmware--support.md rename to wiki/Printer-firmware-compatibility.md index 263a53c9..deb1f15c 100644 --- a/wiki/Firmware--support.md +++ b/wiki/Printer-firmware-compatibility.md @@ -1,4 +1,4 @@ -# Firmware support +# Printer firmware compatibility ## References @@ -10,7 +10,7 @@ Marlin | Marlinkimbra | Smoothieware | GRBL | -Reprap | +Reprap | --- diff --git a/wiki/_Sidebar.md b/wiki/_Sidebar.md index 3d1b0a28..99b7f7dc 100644 --- a/wiki/_Sidebar.md +++ b/wiki/_Sidebar.md @@ -1,11 +1,23 @@ # ESP3D Wiki * [Home](https://github.com/luc-github/ESP3D/wiki) -* [Hardware connection](https://github.com/luc-github/ESP3D/wiki/Hardware-connection) -* [Firmware compatibility](https://github.com/luc-github/ESP3D/wiki/Firmware--support) -* [How to get the ESP Flash-Size](https://github.com/luc-github/ESP3D/wiki/Flash-Size) -* [Direct ESP3D commands](https://github.com/luc-github/ESP3D/wiki/Direct-ESP3D-commands) -* [Install-Instructions](https://github.com/luc-github/ESP3D/wiki/Install-Instructions) +* Stating with ESP3D + * [Hardware connection](https://github.com/luc-github/ESP3D/wiki/Hardware-connection) + * [Install instructions](https://github.com/luc-github/ESP3D/wiki/Install-Instructions) + * [Printer firmware compatibility](https://github.com/luc-github/ESP3D/wiki/Printer-firmware-compatibility) +* Going further + * [Command line commands](https://github.com/luc-github/ESP3D/wiki/Command-line-commands) + * [v2.0.x](https://github.com/luc-github/ESP3D/wiki/Command-line-2_0) + * [v2.1.x](https://github.com/luc-github/ESP3D/wiki/Command-line-2_1) + * v3.0.x : work in progress + * [Cybersecurity concerns](https://github.com/luc-github/ESP3D/wiki/Cybersecurity-concerns) * [Notifications](https://github.com/luc-github/ESP3D/wiki/Notifications) -* [Frequent Asked Questions](https://github.com/luc-github/ESP3D/issues?q=is%3Aissue+is%3Aclosed+label%3AFAQ) -* [Frequent Asked Questions 2](https://github.com/luc-github/ESP3D/discussions/categories/f-a-q) + * [Line](https://github.com/luc-github/ESP3D/wiki/Line) + * [Pushover](https://github.com/luc-github/ESP3D/wiki/Pushover) + * [Email and SMTP](https://github.com/luc-github/ESP3D/wiki/Email_and_SMTP) + * [Telegram](https://github.com/luc-github/ESP3D/wiki/Telegram) + * [IFTTT](https://github.com/luc-github/ESP3D/wiki/IFTTT) +* Needing help + * [Discussion FAQ](https://github.com/luc-github/ESP3D/discussions/categories/f-a-q) + * [Issues FAQ](https://github.com/luc-github/ESP3D/issues?q=is%3Aissue+is%3Aclosed+label%3AFAQ) + * [How to get the ESP Flash-Size](https://github.com/luc-github/ESP3D/wiki/Flash-Size) diff --git a/wiki/docs/Commands2_0.txt b/wiki/docs/Commands2_0.txt deleted file mode 100644 index 91fb2700..00000000 --- a/wiki/docs/Commands2_0.txt +++ /dev/null @@ -1,161 +0,0 @@ -* Change STA SSID -[ESP100] -if authentication is on, need admin password -[ESP100] pwd= - -* Change STA Password -[ESP101] -if authentication is on, need admin password -[ESP101] pwd= - -* Change Hostname -[ESP102] -if authentication is on, need admin password -[ESP102] pwd= - -* Change Wifi mode (STA/AP) -[ESP103] -if authentication is on, need admin password -[ESP103] pwd= - -* Change STA IP mode (DHCP/STATIC) -[ESP104] -if authentication is on, need admin password -[ESP104] pwd= - -* Change AP SSID -[ESP105] -if authentication is on, need admin password -[ESP105] pwd= - -* Change AP Password -[ESP106] -if authentication is on, need admin password -[ESP106] pwd= - -* Change AP IP mode (DHCP/STATIC) -[ESP107] -if authentication is on, need admin password -[ESP107] pwd= - -* Set wifi on/off -[ESP110] -state can be ON, OFF, RESTART -if authentication is on, need admin password -[ESP110] pwd= - -* Get current IP -[ESP111]
- -* Get hostname -[ESP112]
- -*Get/Set pin value -[ESP201]P V [PULLUP=YES RAW=YES ANALOG=NO ANALOG_RANGE=255 CLEARCHANNELS=NO]pwd= -if no V get P value -if V 0/1 set INPUT_PULLUP value, but for GPIO16 INPUT_PULLDOWN_16 -GPIO1 and GPIO3 cannot be used as they are used for serial -if PULLUP=YES set input pull up, if not set input -if RAW=YES do not set pinmode just read value - -* Output to oled column C and line L -[ESP210]C= L= T= - -* Output to oled line 1 -[ESP211] - -* Output to oled line 2 -[ESP212] - -* Output to oled line 3 -[ESP213] - -* Output to oled line 4 -[ESP214] - - - -*Get full EEPROM settings content -but do not give any passwords -can filter if only need wifi or printer -[ESP400] - -*Set EEPROM setting -position in EEPROM, type: B(byte), I(integer/long), S(string), A(IP address / mask) -[ESP401]P= T= V= pwd= - -Positions: -* EP_WIFI_MODE 0 //1 byte = flag -* EP_STA_SSID 1 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese -* EP_STA_PASSWORD 34 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese -* EP_STA_IP_MODE 99 //1 byte = flag -* EP_STA_IP_VALUE 100 //4 bytes xxx.xxx.xxx.xxx -* EP_STA_MASK_VALUE 104 //4 bytes xxx.xxx.xxx.xxx -* EP_STA_GATEWAY_VALUE 108 //4 bytes xxx.xxx.xxx.xxx -* EP_BAUD_RATE 112 //4 bytes = int -* EP_STA_PHY_MODE 116 //1 byte = flag -* EP_SLEEP_MODE 117 //1 byte = flag -* EP_CHANNEL 118 //1 byte = flag -* EP_AUTH_TYPE 119 //1 byte = flag -* EP_SSID_VISIBLE 120 //1 byte = flag -* EP_WEB_PORT 121 //4 bytes = int -* EP_DATA_PORT 125 //4 bytes = int -* EP_OUTPUT_FLAG 129 //1 bytes = flag -* EP_HOSTNAME 130//33 bytes 32+1 = string ; warning does not support multibyte char like chinese -* EP_DHT_INTERVAL 164//4 bytes = int -* EP_FREE_INT2 168//4 bytes = int -* EP_FREE_INT3 172//4 bytes = int -* EP_ADMIN_PWD 176//21 bytes 20+1 = string ; warning does not support multibyte char like chinese -* EP_USER_PWD 197//21 bytes 20+1 = string ; warning does not support multibyte char like chinese -* EP_AP_SSID 218 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese -* EP_AP_PASSWORD 251 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese -* EP_AP_IP_VALUE 316 //4 bytes xxx.xxx.xxx.xxx -* EP_AP_MASK_VALUE 320 //4 bytes xxx.xxx.xxx.xxx -* EP_AP_GATEWAY_VALUE 324 //4 bytes xxx.xxx.xxx.xxx -* EP_AP_IP_MODE 329 //1 byte = flag -* EP_AP_PHY_MODE 330 //1 byte = flag -* EP_FREE_STRING1 331 //129 bytes 128+1 = string ; warning does not support multibyte char like chinese -* EP_DHT_TYPE 460 //1 bytes = flag -* EP_TARGET_FW 461 //1 bytes = flag - -*Get available AP list (limited to 30) -output is JSON or plain text according parameter -[ESP410] - -*Get current settings of ESP3D -output is JSON or plain text according parameter -[ESP420] - -* Get/Set ESP mode -cmd can be RESET, SAFEMODE, CONFIG, RESTART -[ESP444] -if authentication is on, need admin password for RESET, RESTART and SAFEMODE -[ESP444] pwd= - -* Change / Reset user password -[ESP555] pwd= -if no password set it use default one - -* Send GCode with check sum caching right line numbering -[ESP600] - -* Send line checksum -[ESP601] - -* Read SPIFFS file and send each line to serial -[ESP700] - -* Format SPIFFS -[ESP710]FORMAT pwd= - -* SPIFFS total size and used size -[ESP720]
- -* Get fw version and basic information -[ESP800]
- -* Get fw target -[ESP801]
- -* Check SD presence -[ESP802] diff --git a/wiki/docs/Commands2_1.txt b/wiki/docs/Commands2_1.txt deleted file mode 100644 index 3ed962c2..00000000 --- a/wiki/docs/Commands2_1.txt +++ /dev/null @@ -1,172 +0,0 @@ -* Change STA SSID -[ESP100] -if authentication is on, need admin password -[ESP100] pwd= - -* Change STA Password -[ESP101] -if authentication is on, need admin password -[ESP101] pwd= - -* Change Hostname -[ESP102] -if authentication is on, need admin password -[ESP102] pwd= - -* Change Wifi mode (STA/AP) -[ESP103] -if authentication is on, need admin password -[ESP103] pwd= - -* Change STA IP mode (DHCP/STATIC) -[ESP104] -if authentication is on, need admin password -[ESP104] pwd= - -* Change AP SSID -[ESP105] -if authentication is on, need admin password -[ESP105] pwd= - -* Change AP Password -[ESP106] -if authentication is on, need admin password -[ESP106] pwd= - -* Change AP IP mode (DHCP/STATIC) -[ESP107] -if authentication is on, need admin password -[ESP107] pwd= - -* Set wifi on/off -[ESP110] -state can be ON, OFF, RESTART -if authentication is on, need admin password -[ESP110] pwd= - -* Get current IP -[ESP111]
- -* Get hostname -[ESP112]
- -*Get/Set pin value -[ESP201]P V [PULLUP=YES RAW=YES ANALOG=NO ANALOG_RANGE=255 CLEARCHANNELS=NO]pwd= -if no V get P value -if V 0/1 set INPUT_PULLUP value, but for GPIO16 INPUT_PULLDOWN_16 -GPIO1 and GPIO3 cannot be used as they are used for serial -if PULLUP=YES set input pull up, if not set input -if RAW=YES do not set pinmode just read value - -* Output to oled column C and line L -[ESP210]C= L= T= - -* Output to oled line 1 -[ESP211] - -* Output to oled line 2 -[ESP212] - -* Output to oled line 3 -[ESP213] - -* Output to oled line 4 -[ESP214] - -* Delay command -[ESP290][pwd=] - -* Give EEPROM Version detected -[ESP300] - -*Get full EEPROM settings content -but do not give any passwords -can filter if only need wifi or printer -[ESP400] - -*Set EEPROM setting -position in EEPROM, type: B(byte), I(integer/long), S(string), A(IP address / mask) -[ESP401]P= T= V= pwd= - -Positions: -* EP_WIFI_MODE 0 //1 byte = flag -* EP_STA_SSID 1 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese -* EP_STA_PASSWORD 34 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese -* EP_STA_IP_MODE 99 //1 byte = flag -* EP_STA_IP_VALUE 100 //4 bytes xxx.xxx.xxx.xxx -* EP_STA_MASK_VALUE 104 //4 bytes xxx.xxx.xxx.xxx -* EP_STA_GATEWAY_VALUE 108 //4 bytes xxx.xxx.xxx.xxx -* EP_BAUD_RATE 112 //4 bytes = int -* EP_STA_PHY_MODE 116 //1 byte = flag -* EP_SLEEP_MODE 117 //1 byte = flag -* EP_CHANNEL 118 //1 byte = flag -* EP_AUTH_TYPE 119 //1 byte = flag -* EP_SSID_VISIBLE 120 //1 byte = flag -* EP_WEB_PORT 121 //4 bytes = int -* EP_DATA_PORT 125 //4 bytes = int -* EP_OUTPUT_FLAG 129 //1 bytes = flag -* EP_HOSTNAME 130//33 bytes 32+1 = string ; warning does not support multibyte char like chinese -* EP_DHT_INTERVAL 164//4 bytes = int -* EP_FREE_INT2 168//4 bytes = int -* EP_FREE_INT3 172//4 bytes = int -* EP_ADMIN_PWD 176//21 bytes 20+1 = string ; warning does not support multibyte char like chinese -* EP_USER_PWD 197//21 bytes 20+1 = string ; warning does not support multibyte char like chinese -* EP_AP_SSID 218 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese -* EP_AP_PASSWORD 251 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese -* EP_AP_IP_VALUE 316 //4 bytes xxx.xxx.xxx.xxx -* EP_AP_MASK_VALUE 320 //4 bytes xxx.xxx.xxx.xxx -* EP_AP_GATEWAY_VALUE 324 //4 bytes xxx.xxx.xxx.xxx -* EP_AP_IP_MODE 329 //1 byte = flag -* EP_AP_PHY_MODE 330 //1 byte = flag -* EP_FREE_STRING1 331 //129 bytes 128+1 = string ; warning does not support multibyte char like chinese -* EP_DHT_TYPE 460 //1 bytes = flag -* EP_TARGET_FW 461 //1 bytes = flag - -*Get available AP list (limited to 30) -output is JSON or plain text according parameter -[ESP410] - -*Get current settings of ESP3D -output is JSON or plain text according parameter -[ESP420] - -* Get/Set ESP mode -cmd can be RESET, SAFEMODE, CONFIG, RESTART -[ESP444] -if authentication is on, need admin password for RESET, RESTART and SAFEMODE -[ESP444] pwd= - -* Send GCode with check sum caching right line numbering -[ESP500] - -* Send line checksum -[ESP501] - -* Change / Reset user password -[ESP555] pwd= -if no password set it use default one - -* Send Notification -[ESP600]msg [pwd=] - -* Set/Get Notification settings -[ESP610]type= T1= T2= TS= [pwd=] -Get will give type and settings only not the protected T1/T2 - -* Read SPIFFS file and send each line to serial -[ESP700] - -* Format SPIFFS -[ESP710]FORMAT pwd= - -* SPIFFS total size and used size -[ESP720]
- -* Get fw version and basic information -[ESP800]
- -* Get fw target -[ESP801]
- -* Get state / Set Enable / Disable Serial Communication -[ESP900] diff --git a/wiki/docs/Commands3.txt b/wiki/docs/Commands3.txt deleted file mode 100644 index c085e3bc..00000000 --- a/wiki/docs/Commands3.txt +++ /dev/null @@ -1,223 +0,0 @@ -Note: -1 - add space to separate parameters -2 - if parameter has space add \ in front of space to not be seen as separator - -* Set/Get STA SSID -[ESP100] pwd= - -* Set STA Password -[ESP101] pwd= - -* Set/Get STA IP mode (DHCP/STATIC) -[ESP102] pwd= - -* Set/Get STA IP/Mask/GW -[ESP103]IP= MSK= GW= pwd= - -* Set/Get Fallback mode which can be BT, SETUP, OFF -[ESP104] pwd= - -* Set/Get AP SSID -[ESP105] pwd= - -* Change AP Password -[ESP106] pwd= - -* Set/Get AP IP -[ESP107] pwd= - -* Set/Get AP channel -[ESP108] pwd= - -* Set/Get radio state which can be WIFI-STA, WIFI-AP, BT, ETH-STA, WIFI-SETUP, OFF -[ESP110] pwd= - -* Get current IP -[ESP111]
- -* Get/Set hostname -[ESP112] pwd= - -* Get/Set immediate network(WiFi/BT/Ethernet) state which can be ON, OFF -[ESP115] pwd= - -* Get/Set HTTP state which can be ON, OFF -[ESP120] pwd= - -* Get/Set HTTP port -[ESP121] pwd= - -* Get/Set Telnet state which can be ON, OFF, CLOSE -[ESP130] pwd= - -* Get/Set Telnet port -[ESP131] pwd= - -* Sync / Set / Get current time -[ESP140] pwd= - -* Get/Set boot delay -[ESP150]