1. 01 Dec, 2016 1 commit
    • Jason Follas's avatar
      EUS bug fixes (#1605) · a48e88d4
      Jason Follas authored
      - Bug fixes and improvements
      - FIX: Ensure that station is enabled before doing network scan (this seems to be the cause of #1578)
      - FIX: Check if state == NULL on enduser_setup.stop()
      - IMPROVEMENT: Look for both enduser_setup.html.gz and enduser_setup.html as valid filenames, for semantic reasons
      - IMPROVEMENT: Show a generic status message on HTML page if failure occurred before user even submitted data (i.e., would have come from previously stored config when the STA was started by EUS)
      a48e88d4
  2. 08 Nov, 2016 1 commit
    • Jason Follas's avatar
      Eus channelfix (#1583) · 058777ea
      Jason Follas authored
      Squashed commits included:
      
      Bug fixes and final implementation
      - Added Content-Length: 0 to all headers
      - Endpoint name checks not using trailing space so cache-busting techniques can be used (i.e., append a nonce to the URL)
      - Track when connecting so APList scan doesn't take place during (which changes the channel)
      - More debugging output added to assist in tracking down some issues
      
      Added /status.json endpoint for phone apps/XHR to get JSON response
      
      Station Status caching for wifi channel workaround + AJAX/CORS
      - During checkstation poll, cache the last station status
      - Shut down the station if status = 2,3,4 and channel is different than SoftAP
      - Add Access-Control-Allow-Origin: * to endpoint responses used by a service
      - Add a /setwifi GET endpoint for phone apps/XHR to use (same parameters as /update endpoint). Returns a JSON response containing chip id and status code.
      - Add handler for OPTIONS verb (needed for CORS support)
      
      Wi-Fi Channel Issue Workaround
      ...
      058777ea