notifications ready

This commit is contained in:
richonguzman 2024-09-25 13:37:57 -03:00
parent 337ebddc9c
commit f907710cf7
8 changed files with 27 additions and 26 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -151,11 +151,11 @@
type="number"
name="rememberStationTime"
id="rememberStationTime"
placeholder="30"
class="form-control"
required=""
step="1"
min="1"
placeholder="30"
value="30"
step="5"
min="15"
/>
<span class="input-group-text"
>minutes</span
@ -477,6 +477,7 @@
name="notification.ledTxPin"
id="notification.ledTxPin"
class="form-control"
value="13"
/>
<span class="input-group-text"
>Pin</span
@ -495,6 +496,7 @@
name="notification.ledMessagePin"
id="notification.ledMessagePin"
class="form-control"
value="2"
/>
<span class="input-group-text"
>Pin</span
@ -547,6 +549,7 @@
name="notification.buzzerPinTone"
id="notification.buzzerPinTone"
class="form-control"
value="33"
/>
<span class="input-group-text"
>Pin</span
@ -565,6 +568,7 @@
name="notification.ledFlashlightPin"
id="notification.ledFlashlightPin"
class="form-control"
value="14"
/>
<span class="input-group-text"
>Pin</span
@ -575,20 +579,19 @@
<label
for="notification.buzzerPinVcc"
class="form-label"
>Buzzer Vcc Pin</label
>
>Buzzer Vcc Pin</label>
<div class="input-group">
<input
type="number"
name="notification.buzzerPinVcc"
id="notification.buzzerPinVcc"
class="form-control"
value="25"
/>
<span class="input-group-text"
>Pin</span
>
<span class="input-group-text">Pin</span>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-12">
@ -849,15 +852,14 @@
<label
for="winlink.password"
class="form-label"
>Password</label
>
>Password</label>
<input
type="password"
name="winlink.password"
id="winlink.password"
class="form-control"
placeholder="ABCDEF"
required=""
value="ABCDEF"
/>
</div>
</div>
@ -899,15 +901,14 @@
<label
for="wifiAP.password"
class="form-label"
>Password</label
>
>Password</label>
<input
type="password"
name="wifiAP.password"
id="wifiAP.password"
class="form-control"
placeholder="1234567890"
required=""
value="1234567890"
/>
</div>
</div>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -119,12 +119,12 @@ namespace WEB_Utils {
Config.notification.ledTx = request->hasParam("notification.ledTx", true);
Config.notification.ledTxPin = request->getParam("notification.ledTxPin", true)->value().toInt();
Config.notification.ledMessage = request->hasParam("notification.ledMessage", true);
//Config.notification.ledMessagePin = request->getParam("notification.ledMessagePin", true)->value().toInt();
Config.notification.ledMessagePin = request->getParam("notification.ledMessagePin", true)->value().toInt();
Config.notification.ledFlashlight = request->hasParam("notification.ledFlashlight", true);
//Config.notification.ledFlashlightPin = request->getParam("notification.ledFlashlightPin", true)->value().toInt();
Config.notification.ledFlashlightPin = request->getParam("notification.ledFlashlightPin", true)->value().toInt();
Config.notification.buzzerActive = request->hasParam("notification.buzzerActive", true);
//Config.notification.buzzerPinTone = request->getParam("notification.buzzerPinTone", true)->value().toInt();
//Config.notification.buzzerPinVcc = request->getParam("notification.buzzerPinVcc", true)->value().toInt();
Config.notification.buzzerPinTone = request->getParam("notification.buzzerPinTone", true)->value().toInt();
Config.notification.buzzerPinVcc = request->getParam("notification.buzzerPinVcc", true)->value().toInt();
Config.notification.bootUpBeep = request->hasParam("notification.bootUpBeep", true);
Config.notification.txBeep = request->hasParam("notification.txBeep", true);
Config.notification.messageRxBeep = request->hasParam("notification.messageRxBeep", true);