From 21245ad0091994ec374492e52969067ae9231f50 Mon Sep 17 00:00:00 2001 From: Luc Date: Fri, 17 Apr 2015 09:27:15 +0800 Subject: [PATCH 1/2] Update README.md Add some planned feature --- README.md | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0d29fa7a..86f09bd5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Thanks to @disneysw for bringing this module idea and basic code Thanks to @lkarlslund for suggestion about independant reset using GPIO2 Have a bridge configurable by web and optionally by printer -Have a front end to know what is wifi status or know what is the print status - this part can be optional and removed by compilation directive if no need +Have a front end to know what is the wifi status or know what is the print status - this part can be optional and removed by compilation directive if no need ... TBD @@ -14,21 +14,26 @@ TBD --Use GPIO2 to ground to reset all settings in hard way - 2-6 sec after boot / not before!! Set GPIO2 to ground before boot change boot mode and go to special boot that do not reach FW - I did not found information on this. Currently boot take 10 sec - giving 8 seconds to connect GPIO2 to GND and do an hard recovery for settings --Use GPIO0 to ground to be in update mode --Use a switch to reset/disable module ---Use GPIO2 connected to a printer pin to interrupt the bridge loop if need change configuration +--Use GPIO2 connected to a printer pin to interrupt the bridge loop if need change configuration (may be not necessary if no performance impact of allowing ESP screening commands - TBT - TBC) --TODO: Full wiring with drawing TBD ##Development Currently using [Arduino IDE 1.6.3](http://arduino.cc/en/Main/Software) with the stand alone esp8266 module 0.0.3 (https://github.com/sandeepmistry/esp8266-Arduino) Full IDE from https://github.com/esp8266/Arduino can be used + +Additionnaly: --Use minimal css from http://getbootstrap.com/examples/theme/ if connected to internet, this is to get better UI and rendering according display device (link can be changed in FW), if not available ,CSS is ignored displaying basic HTML --Some Javascript is used to enhance web UI - very limited but I expected so error depending browser so will try to limit usage (test done using chrome/IE looks Ok but no time for safari/firefox/opera/etc...) ##Flash the Module -*tools: +*Tools: --Use IDE to upload directly --Use esp flasher: https://github.com/nodemcu/nodemcu-flasher for 0x00000 and 0X00004 binaries +*Connection +--Connect GPIO0 to ground to be in update mode + ##Wifi connection *Wifi Mode : Access point / Client station (not sure it is useful to handle AP/STA in same time as make configuration more complex, but use AP/STA only to help the configuration mode = be able to scan other AP/ test connection when in AP mode ) *IP Generation: DHCP/Static IP @@ -46,13 +51,14 @@ IP: 192.168.0.1 Mask: 255.255.255.0 GW:192.168.0.1 Bridge Mode -Baud rate: 9600 +Baud rate: 9600 From web: --Need picture and flow ... TBD -From serial: + +##Commands from/to serial: *from module to printer [Need Printer FW support and can be disabled in ESP FW] -M800 S1 , restart module done need a wifi/activity restart -M801 [Message], Error message from module @@ -74,15 +80,20 @@ From serial: ... TBD -##Front End - -- need Printer FW supported +##Front End [need Printer FW support it] +--Display printer status +--Display temperatures +--Display print progress if any +--List SDCard Content +--Launch/Stop/(Pause?) a Print ##TODO -- Define Front End Functions -- do coding -- do testing -- do a complete drawing for connections --- show available AP in web page and allow to select +-- show available AP in web page and allow to select +-- show connected clients if in AP more to come From 3a28972d121bc15a5f2876f56f9a7743564300f4 Mon Sep 17 00:00:00 2001 From: Luc Date: Fri, 17 Apr 2015 10:11:57 +0800 Subject: [PATCH 2/2] Update README.md Update plan for MAC address --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86f09bd5..55a35c6a 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ GW:192.168.0.1 Bridge Mode Baud rate: 9600 -From web: +From web: --Need picture and flow ... TBD @@ -63,7 +63,7 @@ TBD -M800 S1 , restart module done need a wifi/activity restart -M801 [Message], Error message from module -M802 [Message], Status message from module - -M804 [AP/STATION,SSID,DHC/STATIC,IP,MASK,GW,STATUS,BAUD?], ]Module configuration without password + -M804 [AP/STATION,SSID,DHC/STATIC,IP,MASK,GW,STATUS,MAC ADDRESSS, BAUD?], ]Module configuration without password ... TBD @@ -94,6 +94,8 @@ TBD -- do a complete drawing for connections -- show available AP in web page and allow to select -- show connected clients if in AP +-- need to display wifi information in front end +-- need to display MAC address in front end/ configuration to help if MAC filtering on router is necessary more to come