fixed is-cfg.json and project_configuration.h

This commit is contained in:
Jochen 2021-11-07 10:48:10 +01:00
parent 6612e3da16
commit 36d73552ff
2 changed files with 11 additions and 11 deletions

View file

@ -9,9 +9,9 @@
"dns2": "192.0.2.2" "dns2": "192.0.2.2"
}, },
"wifi": { "wifi": {
"active": true,
"AP": [ "AP": [
{ {
"active": false,
"SSID": "YOURSSID", "SSID": "YOURSSID",
"password": "YOURPASSWORD" "password": "YOURPASSWORD"
} }
@ -37,7 +37,7 @@
}, },
"lora": { "lora": {
"frequency_rx": 433775000, "frequency_rx": 433775000,
"gain_rx": 6; "gain_rx": 6,
"frequency_tx": 433775000, "frequency_tx": 433775000,
"power": 20, "power": 20,
"spreading_factor": 12, "spreading_factor": 12,

View file

@ -21,6 +21,9 @@ public:
class Wifi { class Wifi {
public: public:
Wifi() : active(true) {
}
bool active; bool active;
class AP { class AP {
public: public:
@ -28,9 +31,6 @@ public:
String password; String password;
}; };
Wifi() : active(true) {
}
std::list<AP> APs; std::list<AP> APs;
}; };
@ -70,13 +70,13 @@ public:
LoRa() : frequencyRx(433775000), frequencyTx(433775000), power(20), spreadingFactor(12), signalBandwidth(125000), codingRate4(5) { LoRa() : frequencyRx(433775000), frequencyTx(433775000), power(20), spreadingFactor(12), signalBandwidth(125000), codingRate4(5) {
} }
long frequencyRx; long frequencyRx;
uint8_t gainRx; uint8_t gainRx;
long frequencyTx; long frequencyTx;
int power; int power;
int spreadingFactor; int spreadingFactor;
long signalBandwidth; long signalBandwidth;
int codingRate4; int codingRate4;
}; };
class Display { class Display {