-
IP Intialization & SSID Change
03/28/2017 at 22:43 • 0 comments- Fixed issue when initializing and setting up the IP Address
- Fixed issue changing SSID from the console
- It would change it in the configuration and save it but it would not make it active - Updated some deprecated calls with the JSON object
-
Autoscan fixed
01/24/2017 at 07:56 • 0 comments- Fixed autoscan function. It wasn’t actually changing to least used channel.
- Enhanced autoscan function. It now does multiple scans (3) to detect more access points before determining least used channel.
- Added callback to display wifi events connects/disconnects.
- Stubbed up functions to disconnectStationByIP and disconnectStationByMAC for future use.
-
Over engineered for your enjoyment!
08/25/2016 at 02:33 • 4 commentsOk... I just merged the Enhanced Console branch to master. The console still needs some work but I wanted to get all of these new features out. Here is a list of what is in this update.
- Added EEPROM saving of settings and RR count
- Added a "reset" command to the console to reset the EEPROM
- Modified "count" command to accept an argument to manually set the count
- Added "silent" command to toggle the buzzer audio on or off
- Added "eeprom" command to show the contents of the EEPROM
- Added 'version' variable to use to determine when to upgrade EEPROM values
- Change to build flags to fix "invalid cast from type 'IPAddress' to type 'u8_t* {aka unsigned char*}'" error.
- FIX: Rick Rolling a device that doesn't return a "User-Agent" header was causing a crash.
- Implemented Basic Authentication for /console & /console.htm
(Default user/pass is admin/password) - Implemented Progress bar in console on OTA Update
- Added ability to override IP based on domain during DNS Query
- Modified getDomainNameWithoutWwwPrefix to get with or without WWW prefix
- Added onOverride callback to DNS Server
- Implemented Password on OTA Update (Same password as console)
- Now scans available networks to determine least used channel and uses that channel for AP Mode (accounts for overlapping side channels)
- Added ability to show/set the Rick Roll message from the console
- Optimized the console command logic
- Added "user", "pass" and "save" commands to console
- Tweaked Captive Portal Page a bit
- Fixed a warning in the DNSServer.h file
- Tweaked redirect code to fix Captive Portal helper popup on some Android devices
- Added SVG version of main image on Captive Portal Page
- Fixed "beep rr" command
- Added "beepc n" command where 'n' is ms (more of a chirp than a beep)
- Added extra_script "www_gzip.py"
- Moved DNSServer to lib folder and formatted with astyle
- Added "chan" command to show/set WiFi channel manually (0 = Auto Select)
- Added "int" command to show/set Automatic WiFi Scan to adjust channel
When set the system will do a WiFi scan at the set interval and change the WiFi channel to what ever it determines will have the least interference - More tweaks to console. Separated files and added new setting fields.
- When building the SPIFFS build it clones the 'www' to 'data' and gzips the appropriate files automatically to save space
- Modified "www_gzip.py" to add a file to the "data" folder explaining where to modify files instead
- Changed "flash_speed" formatting when sending settings
- More tweaks to the console
- Added "info" page and set it to load when someone clicks on the RR Message
- Automatically installs dependencies now
- User can now click on Rick Roll message to get more info about what "Rick Rolling" actually is
- Added "scan" command to console to display WiFi networks in area
-
"Enhanced Console" Branch
08/17/2016 at 16:38 • 0 commentsI've been working on enhancing the console. It's not complete yet but it is shaping up. When it is done it will work better with iOS and Windows Mobile devices.
-
Crash Fixed and Automatic Install of Dependencies
08/17/2016 at 16:36 • 0 commentsI discovered that some devices don't return a "User-Agent" header and that was causing the mobile-rr to crash. This has been corrected.
Dependencies are automatically installed now thanks to the changes to "platformio.ini" by ivankravets.
-
*RESOLVED* Compile Error: invalid cast from type 'IPAddress' to type 'u8_t* {aka unsigned char*}'
08/10/2016 at 17:19 • 0 commentsSource code has been updated. The last update to PlatformIO is causing a compile error. Changing the build_flags in "platformio.ini" corrects/works around the issue.
build_flags = -ULWIP_OPEN_SRC -Wl,-Tesp8266.flash.4m.ld
-
More tweaks to the EEPROM and a few new console commands
07/31/2016 at 06:18 • 0 comments- Added more settings to the EEPROM functions
- Modified "count" command to accept an argument to manually set the count
- Added "silent" command to toggle the buzzer audio on or off
- Added "restore" command to reinitialize the EEPROM
- Added "eeprom" command to show the contents of the EEPROM
- Added 'version' variable to use to determine when to upgrade EEPROM values
-
Settings saved to EEPROM
07/29/2016 at 23:06 • 0 commentsI added functions to save some settings to EEPROM. (SSID, username, password, rrcount) They are reloaded on bootup. The username/password will be used in the future to secure the console and OTA update feature.
The RR count is saved so can see session and total RR count in the console with the "count" command.