Skip to content

Commit

Permalink
Merge pull request #5 from ayushsharma82/dev
Browse files Browse the repository at this point in the history
v1.0.4
  • Loading branch information
ayushsharma82 authored Jul 9, 2024
2 parents dd9c481 + fc07e6f commit 02a2098
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/khoih-prog/AsyncTCP_RP2040W#v1.2.0

- name: Install ESPAsyncWebServer
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/ESPAsyncWebServer#v3.0.5
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/ESPAsyncWebServer#v3.0.6

- name: Install ArduinoJson
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/bblanchon/ArduinoJson#v7.0.4
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@

<b>NetWizard</b> is an easy-to-use yet powerful WiFi manager and captive portal library for wireless microcontrollers. Avoid the hassle of hard-coding WiFi credentials and let NetWizard take care of networking for your device!

Additionally, NetWizard lets you create an custom configuration page of your choice which is shown at the time of setup. The possibilities are endless!
Additionally, NetWizard lets you create a custom configuration page of your choice which is shown at the time of setup. The possibilities are endless!

<br/>

## Features

- 🛜 No hard-coded WiFi credentials
- ⚙️ Create an custom configuration page using just C++
- ⚙️ Create a custom configuration page using just C++
- ⚡ Intuitive step-by-step setup flow which makes user interaction easier
- 🎷 No need to learn HTML/CSS/JS
- 🛫 Ready to use within 4-5 lines of code
Expand Down
14 changes: 10 additions & 4 deletions library.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,22 @@
"owner": "bblanchon",
"name": "ArduinoJson",
"version": "^7.0.4",
"platforms": ["espressif8266", "espressif32"]
"platforms": ["espressif8266", "espressif32", "raspberrypi"]
},
{
"owner": "mathieucarbou",
"name": "ESP Async WebServer",
"version": "^3.0.5",
"platforms": ["espressif8266", "espressif32"]
"version": "^3.0.6",
"platforms": ["espressif8266", "espressif32", "raspberrypi"]
},
{
"owner": "vshymanskyy",
"name": "Preferences",
"version": "^2.1.0",
"platforms": ["espressif8266", "raspberrypi"]
}
],
"version": "1.0.3",
"version": "1.0.4",
"frameworks": "arduino",
"platforms": ["espressif32", "raspberrypi"]
}
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=NetWizard
version=1.0.3
version=1.0.4
author=Ayush Sharma
category=Communication
maintainer=Ayush Sharma <asrocks5@gmail.com>
Expand Down
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build_flags =
lib_deps =
bblanchon/ArduinoJson @ 7.0.4
mathieucarbou/Async TCP @ ^3.1.4
mathieucarbou/ESP Async WebServer @ 3.0.5
mathieucarbou/ESP Async WebServer @ 3.0.6
upload_protocol = esptool
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, log2file
Expand All @@ -30,7 +30,7 @@ platform = espressif8266
board = huzzah
lib_deps =
bblanchon/ArduinoJson @ 7.0.4
mathieucarbou/ESP Async WebServer @ 3.0.5
mathieucarbou/ESP Async WebServer @ 3.0.6
esphome/ESPAsyncTCP-esphome @ 2.0.0

[env:pico]
Expand Down
4 changes: 4 additions & 0 deletions src/NetWizardParameter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ String NetWizardParameter::getPlaceholder() {
return _placeholder;
}

void NetWizardParameter::setPlaceholder(const char* placeholder) {
_placeholder = placeholder;
}

NetWizardParameter::~NetWizardParameter() {
_value = "";
_placeholder = "";
Expand Down

0 comments on commit 02a2098

Please sign in to comment.