Skip to content

Commit

Permalink
Version 1.6
Browse files Browse the repository at this point in the history
Changed config message for ESP-NOW sensors.
Changed config message for RF gateway.
Changed config message for nRF24 sensors.
Minor main code optimization.
Changed config data storage location to EEPROM.
Fixed bug with saving config from Web interface.
  • Loading branch information
aZholtikov committed Mar 7, 2023
1 parent 0038361 commit b87092d
Show file tree
Hide file tree
Showing 3 changed files with 193 additions and 194 deletions.
2 changes: 1 addition & 1 deletion data/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function createXmlHttpObject() {

function load() {
if (xmlHttp.readyState == 0 || xmlHttp.readyState == 4) {
xmlHttp.open('PUT', '/config.json', true);
xmlHttp.open('GET', '/config', true);
xmlHttp.send(null);
xmlHttp.onload = function () {
jsonResponse = JSON.parse(xmlHttp.responseText);
Expand Down
2 changes: 1 addition & 1 deletion data/index.htm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<body onload="load();">
<form class="box">
<h1>ESP-NOW Gateway </h1>
<h1>ESP-NOW Gateway</h1>
<div class="wrapper">
<p class="text">Firmware:</p>
<p class="text" id="version"></p>
Expand Down
Loading

0 comments on commit b87092d

Please sign in to comment.