Skip to content

Release 14

Compare
Choose a tag to compare
@eriksl eriksl released this 04 Jun 07:36
· 1425 commits to master since this release

Release 14.

Major changes: add access point mode.

Changelog:

  • Fix issue where esp wouldn't start with default-config.
    It appears some fields in the config struct aren't properly
    defaulted to 0.

  • Add recipes in Makefile to backup current config, wipe it or restore it:
    make backup-config
    make restore-config
    make wipe-config
    This needs a programmer, it's done using esptool.

  • Add gpio trigger for association
    This triggers and I/O whenever

    • client mode is connected and IP is obtained
    • access point mode is active and a client connects
      When the connection is dropped due to whatever reason,
      the trigger is reset.
  • Drop major/minor version scheme. It's obsolete with the new (boot)
    configuration using access point mode.

  • Add flexible end of line handling.
    Any combination of \n \r \r\n and \n\r are now accepted as
    end of line delimiter. A line without any of them is now also
    accepted, as long as the command is sent in exactly one tcp segment.

  • Add access point mode

    • use the wac (wlan-accesspoint-config) command to select ssid, passwd, channel
    • write the config using cw
    • then use the wm (wlan-mode) command to select "ap" mode.
    • login over the access point ssid and write the config (cw) to make
    • the config permanent or issue a reset/power-cycle to return to client mode
    • or use wm client to return to client mode
    • use wcc (wlan-client-config) to select ssid, passwd and then issue cw to write to flash.

    NOTE: for access point use a password longer than 7, it's required by the
    SDK.

  • New "scratch" configuration mode
    At startup the software will now try various schemes to obtain a
    connection so you can configure it.

    1. if the device is configured to start in client mode, try the
      ssid/passwd stored in flash.
      1a) if none is stored (flash is pristine/wiped or ssid/passwd
      invalid), use "esp" for ssid and "espespesp" for passwd.
      1b) if the device cannot connect to the configured/default ssid
      for more then 30 seconds, change to access point mode -> 2)
    2. if the device is configured to start in access point mode (or put in
      access point mode because of step 1b)), try the ssid/passwd stored
      in flash.
      2a) if none is stored (flash is pristine/wiped or ssid/passwd
      invalid), use "esp" for ssid and "espespesp" for passwd.

    That way you should always be able to connect to the esp.