Fehlerkorrekturen und Erweiterungen
This commit is contained in:
1 parent
19b5b255ef
commit
a16a8fcf28
18 files changed
+88
-239
No files matched your search
@@ -590,6 +590,7 @@ class MqttCore with ProducerMixin, ConsumerMixin {
|
||||
answer.utcUnixTime = DateTime.now().toUtc().millisecondsSinceEpoch ~/ 1000;
|
||||
|
||||
answer.pos = SyncMessagePos();
|
||||
answer.pos!.time = DateTime.now().toUtc().toIso8601String();
|
||||
answer.pos!.lat = currentPosition != null ? currentPosition.latitude : 0.0;
|
||||
answer.pos!.long = currentPosition != null ? currentPosition.longitude : 0.0;
|
||||
answer.pos!.acc = currentPosition != null ? currentPosition.accuracy.toInt() : 0;
|
||||
|
||||
Reference in new issue
Block a user