Chat freely about anything...

User avatar
By eriksl
#35697
RaptorRed wrote:Hey im trying to use the bootstrap mode to connect to a Wifi SSID with spaces in it, and am not able to change it (work) is there anyway round this ?

Yes there is, I have explained the procedure earlier in this topic. In short: you should dump the config-sector of the FLASH, edit it with a bin editor and flash it back (e.g. using esptool.py).
User avatar
By RaptorRed
#35870 Thanks dont know how i missed that, ive now got another problem, i get an initial connect then get an endless loop of
Code: Select allstate: 5 -> 2 (2c0)
rm 0
pm close 7 0 0/4005985
reconnect
state: 2 -> 0 (0)
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
pm open phy_2,type:0 0 0
cnt


with the esp8266 appearing and disappearing from my network and no access to the telnet port, any idea whats wrong?
User avatar
By eriksl
#35961 That's all you see, no other output? Then it looks like an issue with wlan/sdk code, maybe in combination with your access point? Can you ping?
User avatar
By eriksl
#43002 Finally a new release!

See: http://github.com/eriksl/esp8266-univer ... e/releases

About 3/4 of the code rewritten to make a more flexible framework that allows extension in various directions. Much of the changes are under the hood, but there are many changes in the user interface as well. As everything has become rather big, it's not anymore doable to keep the documention as "mark down" document. The README.md file has been emptied and only has a link to the, now, real documentation in PDF (recommended!) or HTML format. Reading the complete PDF is very much recommend for everyone, even the sections that may not look relevant at first sight. Some things have remained the same, but many have changed more or less!

Summary of what has changed (mainly on user interface level):

  • fixes/workarounds for GPIO counter (which has a bit flakey implementation)
  • added additional layer of "io device" with sublayer "pin", so "io devices" can be added (like I2C I/O expanders)
  • added NTP support; set server and timezone using ntp-set and write config
  • gpio config is no longer immediately auto-saved, you should now use write config just like with any other command
  • move MUCH static content from DRAM to IROM (flash), save about 20 kilobytes on dram! this includes static text strings, that are normally copied to dram on startup; include code to handle this (data in flash must always be aligned on 4 bytes and can only be read 4 bytes at a time)
  • add string pseudo-class (including length and size traits) to always make sure strings can't be overflowing buffer space
    add feature to automatically display time on external display
  • add I2C address to I2C sensors traits, so the same sensor can be added multiple times, with different addresses
  • add configurable status I/O pin; you can make use this to make e.g. a led blink on command reception or counter trigger
  • change UART bridge default data port from 25 (SMTP, wrong) to 23 (telnet)
  • add command to select WLAN powersaving
  • add OTA (over-the-air) firmware flashing, uses part from RBOOT by Richard Burton
  • replicate/reimplement some libc functions ourselves, in IROM, saves some more IRAM space
  • add basic HTTP support (point your browser to port 24 and see)
  • add support for the ADC input
  • using make flash, also flash default.bin and blank.bin, even though we're not using it
  • remove wlan "bootstrap" mode, see documentation for how to set wlan/ssid instead
  • add MCP23017 16 pin I2C I/O expander as first "extra" I/O device
  • only counter downward edges using the counter, counters are mostly pulled up, this reduces the number of spurious counts.