Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Support for Hidden & Mesh Networks #15

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

atfox98
Copy link

@atfox98 atfox98 commented Dec 4, 2022

Several changes:

  1. Added a .code-workspace file for VSCode. I can add this to the .gitignore if you don't want it.
  2. Replaced frontend tooling with vite (more info in commit message)
  3. Removed duplicate SSID's. Did this on the browser side. This was a problem with mesh networks.
  4. Added support for hidden networks (implementation details in commit message)

I got some warnings when I set up the old portal I replaced all of the rollup stuff with vite.

To do this, I created a new project with `npm create vite@latest`,
added postcss with `npx svelte-add`, and copied all of the files/dependencies over.

I used `vite-plugin-singlefile` to create index.html instead of the included `compress.js`.
I removed a lot of `compress.js` and renamed it `cppheader.js` as that is all it does now.
The ESP32 creates an extra entry on the `espconnect/scan` request with
a `hidden` field set to true (none of the other entries have this field)

Added some conditionals in the Svelte code to handle this extra field and
allow the user to edit the SSID if they select `Hidden Network`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant