xaal.lib 0.7.4__py3-none-any.whl → 0.7.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xaal/lib/messages.py +3 -3
- {xaal.lib-0.7.4.dist-info → xaal.lib-0.7.5.dist-info}/METADATA +1 -1
- {xaal.lib-0.7.4.dist-info → xaal.lib-0.7.5.dist-info}/RECORD +5 -5
- {xaal.lib-0.7.4.dist-info → xaal.lib-0.7.5.dist-info}/WHEEL +0 -0
- {xaal.lib-0.7.4.dist-info → xaal.lib-0.7.5.dist-info}/top_level.txt +0 -0
xaal/lib/messages.py
CHANGED
|
@@ -210,7 +210,7 @@ class MessageFactory(object):
|
|
|
210
210
|
class MessageType(Enum):
|
|
211
211
|
NOTIFY = 0
|
|
212
212
|
REQUEST = 1
|
|
213
|
-
REPLY = 2
|
|
213
|
+
REPLY = 2
|
|
214
214
|
|
|
215
215
|
|
|
216
216
|
class MessageAction(Enum):
|
|
@@ -323,8 +323,8 @@ def build_nonce(data):
|
|
|
323
323
|
|
|
324
324
|
def build_timestamp():
|
|
325
325
|
"""Return array [seconds since epoch, microseconds since last seconds] Time = UTC+0000"""
|
|
326
|
-
epoch = datetime.datetime.
|
|
327
|
-
timestamp = datetime.datetime.
|
|
326
|
+
epoch = datetime.datetime.fromtimestamp(0, datetime.UTC)
|
|
327
|
+
timestamp = datetime.datetime.now(datetime.UTC) - epoch
|
|
328
328
|
return _packtimestamp(timestamp.total_seconds(), timestamp.microseconds)
|
|
329
329
|
|
|
330
330
|
|
|
@@ -12,11 +12,11 @@ xaal/lib/devices.py,sha256=ZDNVNVmJ26W2atuNkzB7xtYZQAT3dWTrQCvMCDMSVWA,9574
|
|
|
12
12
|
xaal/lib/engine.py,sha256=p2of6IPQB0It0RNu5fkJHHp615K_2rgzHfuWOpvJ6Is,7539
|
|
13
13
|
xaal/lib/exceptions.py,sha256=ZKDKGlm_F48K_0NlaV1fa0Z-a4ZnOxT7NU8c8MKSJAc,504
|
|
14
14
|
xaal/lib/helpers.py,sha256=mXxVxv7fTV9O9xO1BROhVYBTmdviMl6qx3Il8q1ox8w,2679
|
|
15
|
-
xaal/lib/messages.py,sha256=
|
|
15
|
+
xaal/lib/messages.py,sha256=W7RdHOtX_DT0bCeJAzs0p4KkU5KXofZUCMQYQsOuFF8,11571
|
|
16
16
|
xaal/lib/network.py,sha256=3HWuQ0afQ-X6_-En2rFeqYJ0Scy5IEHfd0qTldxxCFo,3130
|
|
17
17
|
xaal/lib/test.py,sha256=laVbgG4HtQquxDzixAG-Cka-HO4kpb7YUsLL267mGPU,3006
|
|
18
18
|
xaal/lib/tools.py,sha256=SnXmOkeTd4eTN8yWn-GyCkV5mYiG-MX4hkF39KnogLE,3841
|
|
19
|
-
xaal.lib-0.7.
|
|
20
|
-
xaal.lib-0.7.
|
|
21
|
-
xaal.lib-0.7.
|
|
22
|
-
xaal.lib-0.7.
|
|
19
|
+
xaal.lib-0.7.5.dist-info/METADATA,sha256=Rgz65jLN7oCAKVY6YPcMNDdal4Dnz4dTGiy2epRMWkE,3809
|
|
20
|
+
xaal.lib-0.7.5.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
|
21
|
+
xaal.lib-0.7.5.dist-info/top_level.txt,sha256=UZ2WDkN02ztkh1OrsjrW8Kmj4n3WqC0BQxaEYOYfWa0,5
|
|
22
|
+
xaal.lib-0.7.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|