Compare commits
3 Commits
d9ae829503
...
2d8aec515d
Author | SHA1 | Date | |
---|---|---|---|
2d8aec515d | |||
b245a206ce | |||
f1489e75cc |
@ -1,5 +1,13 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.3.94] - 2025-02-24
|
||||||
|
### Changed
|
||||||
|
- update webpages for version v1.3.94
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- correct payload type check in NFC write event handling
|
||||||
|
|
||||||
|
|
||||||
## [1.3.93] - 2025-02-24
|
## [1.3.93] - 2025-02-24
|
||||||
### Added
|
### Added
|
||||||
- implement auto send feature for Bambu spool management and update related configurations
|
- implement auto send feature for Bambu spool management and update related configurations
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
[common]
|
[common]
|
||||||
version = "1.3.93"
|
version = "1.3.94"
|
||||||
##
|
##
|
||||||
[env:esp32dev]
|
[env:esp32dev]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
|
@ -84,7 +84,7 @@ void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventTyp
|
|||||||
String message = String((char*)data);
|
String message = String((char*)data);
|
||||||
JsonDocument doc;
|
JsonDocument doc;
|
||||||
deserializeJson(doc, message);
|
deserializeJson(doc, message);
|
||||||
|
|
||||||
if (doc["type"] == "heartbeat") {
|
if (doc["type"] == "heartbeat") {
|
||||||
// Sende Heartbeat-Antwort
|
// Sende Heartbeat-Antwort
|
||||||
ws.text(client->id(), "{"
|
ws.text(client->id(), "{"
|
||||||
@ -96,7 +96,7 @@ void onWsEvent(AsyncWebSocket *server, AsyncWebSocketClient *client, AwsEventTyp
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (doc["type"] == "writeNfcTag") {
|
else if (doc["type"] == "writeNfcTag") {
|
||||||
if (doc["payload"].is<String>()) {
|
if (doc["payload"].is<JsonObject>()) {
|
||||||
// Versuche NFC-Daten zu schreiben
|
// Versuche NFC-Daten zu schreiben
|
||||||
String payloadString;
|
String payloadString;
|
||||||
serializeJson(doc["payload"], payloadString);
|
serializeJson(doc["payload"], payloadString);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user