DLMS-SPODES 0.87.11__py3-none-any.whl → 0.87.13__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.
- DLMS_SPODES/hdlc/frame.py +2 -1
- DLMS_SPODES/types/common_data_types.py +4 -2
- {dlms_spodes-0.87.11.dist-info → dlms_spodes-0.87.13.dist-info}/METADATA +1 -1
- {dlms_spodes-0.87.11.dist-info → dlms_spodes-0.87.13.dist-info}/RECORD +6 -6
- {dlms_spodes-0.87.11.dist-info → dlms_spodes-0.87.13.dist-info}/WHEEL +0 -0
- {dlms_spodes-0.87.11.dist-info → dlms_spodes-0.87.13.dist-info}/top_level.txt +0 -0
DLMS_SPODES/hdlc/frame.py
CHANGED
|
@@ -735,6 +735,7 @@ class Frame:
|
|
|
735
735
|
""" return SA, DA for reusing """
|
|
736
736
|
return self.__destination_address, self.__source_address
|
|
737
737
|
|
|
738
|
+
# todo: make <parse> with Result
|
|
738
739
|
@classmethod
|
|
739
740
|
def try_from(cls, value: bytearray) -> Frame | None:
|
|
740
741
|
""" Search of HDLC start flag and return Frame and value remains for next searching. If wrong frame when return value with out start flag for parsing """
|
|
@@ -749,7 +750,7 @@ class Frame:
|
|
|
749
750
|
print(F'Wrong Frame: {e.args[0]}')
|
|
750
751
|
return None
|
|
751
752
|
except NotEnoughDataError as e:
|
|
752
|
-
print(F'Frame Error: {e.args[0]}')
|
|
753
|
+
# print(F'Frame Error: {e.args[0]}')
|
|
753
754
|
return None
|
|
754
755
|
except FormatDataError as e:
|
|
755
756
|
print(F'Frame Error: {e.args[0]}')
|
|
@@ -2263,14 +2263,16 @@ __types: dict[bytes, type[CommonDataType]] = {
|
|
|
2263
2263
|
b'\x05': DoubleLong,
|
|
2264
2264
|
b'\x06': DoubleLongUnsigned,
|
|
2265
2265
|
b'\x09': OctetString,
|
|
2266
|
+
b'\x0A': VisibleString,
|
|
2266
2267
|
b'\x0C': Utf8String,
|
|
2267
2268
|
b'\x0D': Bcd,
|
|
2268
2269
|
b'\x0F': Integer,
|
|
2269
2270
|
b'\x10': Long,
|
|
2270
2271
|
b'\x11': Unsigned,
|
|
2271
2272
|
b'\x12': LongUnsigned,
|
|
2272
|
-
b'\x13':
|
|
2273
|
-
b'\x14':
|
|
2273
|
+
b'\x13': CompactArray,
|
|
2274
|
+
b'\x14': Long64,
|
|
2275
|
+
b'\x15': Long64Unsigned,
|
|
2274
2276
|
b'\x16': Enum,
|
|
2275
2277
|
b'\x17': Float32,
|
|
2276
2278
|
b'\x18': Float64,
|
|
@@ -93,13 +93,13 @@ DLMS_SPODES/cosem_interface_classes/security_setup/ver0.py,sha256=INRPYsWdVKOngm
|
|
|
93
93
|
DLMS_SPODES/cosem_interface_classes/security_setup/ver1.py,sha256=Xs8aSme9Qu4ekT9E4FQrapdxP7yS2B6pE8SKDQaFDtk,4956
|
|
94
94
|
DLMS_SPODES/cosem_interface_classes/security_setup/__pycache__/__init__.cpython-311.pyc,sha256=1ZbhthOjr77pX0c1vW5wX8q9pGvIcz_kAKr6ZemvpSA,210
|
|
95
95
|
DLMS_SPODES/hdlc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
96
|
-
DLMS_SPODES/hdlc/frame.py,sha256=
|
|
96
|
+
DLMS_SPODES/hdlc/frame.py,sha256=KCvP36LHaMKLEbDsKUCtOIw3tfWRC7YfEawbu_Q9kis,34824
|
|
97
97
|
DLMS_SPODES/hdlc/sub_layer.py,sha256=zTxe5ddTt8tliFSY145HhluLwIh57gvOG19Mc8-vnEM,2147
|
|
98
98
|
DLMS_SPODES/obis/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
99
99
|
DLMS_SPODES/obis/media_id.py,sha256=D_Vm7aT6XevrIN22NQgMHReVju_VGH9mYphfh1Nn09c,22516
|
|
100
100
|
DLMS_SPODES/types/__init__.py,sha256=UFiP4suA72o_kvaqUnHLGK-cedDXLl8kVHYsjXHYUDw,116
|
|
101
101
|
DLMS_SPODES/types/choices.py,sha256=z7IasrlRaagOYNfRvgbpojDxf1jgYUc9cz59PH2PMi0,6350
|
|
102
|
-
DLMS_SPODES/types/common_data_types.py,sha256=
|
|
102
|
+
DLMS_SPODES/types/common_data_types.py,sha256=crP_86wPto4ZUO2M9AqvtKTmDdp4dBE2_Aopow2oBeA,97010
|
|
103
103
|
DLMS_SPODES/types/cosem_service_types.py,sha256=XLWPDfdSxyYpr_3NwAxICRgxjPJdHf7EgQ4694M-erQ,4360
|
|
104
104
|
DLMS_SPODES/types/useful_types.py,sha256=TBHNRJcstw6CmgJNT9esQ5-xI7PG1IAJDBSCxglaaf0,27288
|
|
105
105
|
DLMS_SPODES/types/implementations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -111,7 +111,7 @@ DLMS_SPODES/types/implementations/integers.py,sha256=Asy4X260t1Fzw_V5iw0uiDOxtfB
|
|
|
111
111
|
DLMS_SPODES/types/implementations/long_unsigneds.py,sha256=SxmFvD2moQ03p-KZSBYK1Rv7bQSaywlHVXBfkTZG1OQ,8761
|
|
112
112
|
DLMS_SPODES/types/implementations/octet_string.py,sha256=Jo_sfWcsfstiP4O6mXfBOOQlksx1c2qJMI-vbAOV-yM,294
|
|
113
113
|
DLMS_SPODES/types/implementations/structs.py,sha256=GMOo6Jy8jA9d6KTLs0D-j5t0oSRvxUIwtBr_4UePwbA,2059
|
|
114
|
-
dlms_spodes-0.87.
|
|
115
|
-
dlms_spodes-0.87.
|
|
116
|
-
dlms_spodes-0.87.
|
|
117
|
-
dlms_spodes-0.87.
|
|
114
|
+
dlms_spodes-0.87.13.dist-info/METADATA,sha256=MTAC8SveKt-IN8zOtRQ1l298khU8mIB36QWZhBIQ83k,1109
|
|
115
|
+
dlms_spodes-0.87.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
116
|
+
dlms_spodes-0.87.13.dist-info/top_level.txt,sha256=k26SRuRdwBZrSM3NgNZECAUNIDZREbJuLCnPbWtTNak,12
|
|
117
|
+
dlms_spodes-0.87.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|