zlgcan 0.2.1b0__cp310-cp310-win_amd64.whl → 0.2.2__cp310-cp310-win_amd64.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.
- zlgcan/zlgcan.py +5 -6
- {zlgcan-0.2.1b0.dist-info → zlgcan-0.2.2.dist-info}/METADATA +1 -1
- zlgcan-0.2.2.dist-info/RECORD +9 -0
- zlgcan_driver/zlgcan_driver.cp310-win_amd64.pyd +0 -0
- zlgcan-0.2.1b0.dist-info/RECORD +0 -9
- {zlgcan-0.2.1b0.dist-info → zlgcan-0.2.2.dist-info}/WHEEL +0 -0
- {zlgcan-0.2.1b0.dist-info → zlgcan-0.2.2.dist-info}/entry_points.txt +0 -0
- {zlgcan-0.2.1b0.dist-info → zlgcan-0.2.2.dist-info}/licenses/LICENSE.txt +0 -0
zlgcan/zlgcan.py
CHANGED
@@ -28,10 +28,9 @@ except ModuleNotFoundError:
|
|
28
28
|
}.get(_platform, not_support)
|
29
29
|
|
30
30
|
|
31
|
-
class
|
32
|
-
|
33
|
-
|
34
|
-
CANFD_NON_ISO = 2
|
31
|
+
class ZCanFdChlType:
|
32
|
+
ISO = 0
|
33
|
+
NON_ISO = 1
|
35
34
|
|
36
35
|
class ZCanChlMode:
|
37
36
|
Normal = 0
|
@@ -169,12 +168,12 @@ class ZCanBus(can.BusABC):
|
|
169
168
|
dbitrate = cfg.get("dbitrate", None)
|
170
169
|
assert bitrate is not None, "bitrate is required!"
|
171
170
|
_cfg = ZCanChlCfgPy(
|
172
|
-
|
173
|
-
chl_mode=cfg.get("chl_mode", 0),
|
171
|
+
chl_mode=cfg.get("chl_mode", ZCanChlMode.Normal),
|
174
172
|
bitrate=bitrate,
|
175
173
|
filter=cfg.get("filter"),
|
176
174
|
dbitrate=dbitrate,
|
177
175
|
resistance=bool(cfg.get("resistance", 1)),
|
176
|
+
fdchl_type=cfg.get("fdchl_type", ZCanFdChlType.ISO),
|
178
177
|
acc_code=cfg.get("acc_code"),
|
179
178
|
acc_mask=cfg.get("acc_mask"),
|
180
179
|
brp=cfg.get("brp")
|
@@ -0,0 +1,9 @@
|
|
1
|
+
zlgcan-0.2.2.dist-info/METADATA,sha256=8wW5t7vgqXMchHeqp_zJOl7Gf2y1uwyaDaoL2_Tndo8,3735
|
2
|
+
zlgcan-0.2.2.dist-info/WHEEL,sha256=oIYcReGXK7h7Rxp85Q3K9Z3I1xK99xgU5My5R5-0sSU,96
|
3
|
+
zlgcan-0.2.2.dist-info/entry_points.txt,sha256=1BprfQnq7A25SfDsPk1ZbOgMv_SmYEUWc7Xz-oAf-V4,45
|
4
|
+
zlgcan-0.2.2.dist-info/licenses/LICENSE.txt,sha256=6n0EnHcF3BOvwgLdGOGCfzSE-CEv0_p7gvxKDDY0Msk,7816
|
5
|
+
zlgcan/__init__.py,sha256=uspwQytd3RGSaVs6LQADIa9MS_qvzySlfL2S9OhFBQA,21
|
6
|
+
zlgcan/zlgcan.py,sha256=iyx6dkOl1E9uB62jFlWF8Q-AiamnkWFa769MuUZjbCg,8798
|
7
|
+
zlgcan_driver/__init__.py,sha256=JBAj4WkBypBiHIJqXHIJTNHF4kpmhRmKqY48oDAmY3E,135
|
8
|
+
zlgcan_driver/zlgcan_driver.cp310-win_amd64.pyd,sha256=ps6TPsoBtmDlUNtfLYp6nI85999ytYdSY3VGK4L8kY0,704512
|
9
|
+
zlgcan-0.2.2.dist-info/RECORD,,
|
Binary file
|
zlgcan-0.2.1b0.dist-info/RECORD
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
zlgcan-0.2.1b0.dist-info/METADATA,sha256=wcQHGAv4Q3Cc8X6ma1Y5YLb3JklQXSAXN3-mSX4jqnY,3737
|
2
|
-
zlgcan-0.2.1b0.dist-info/WHEEL,sha256=oIYcReGXK7h7Rxp85Q3K9Z3I1xK99xgU5My5R5-0sSU,96
|
3
|
-
zlgcan-0.2.1b0.dist-info/entry_points.txt,sha256=1BprfQnq7A25SfDsPk1ZbOgMv_SmYEUWc7Xz-oAf-V4,45
|
4
|
-
zlgcan-0.2.1b0.dist-info/licenses/LICENSE.txt,sha256=6n0EnHcF3BOvwgLdGOGCfzSE-CEv0_p7gvxKDDY0Msk,7816
|
5
|
-
zlgcan/__init__.py,sha256=uspwQytd3RGSaVs6LQADIa9MS_qvzySlfL2S9OhFBQA,21
|
6
|
-
zlgcan/zlgcan.py,sha256=mllOSEBmxG1hvpdfajCdKd-UTdgu5dgML0qSsYN4ph0,8837
|
7
|
-
zlgcan_driver/__init__.py,sha256=JBAj4WkBypBiHIJqXHIJTNHF4kpmhRmKqY48oDAmY3E,135
|
8
|
-
zlgcan_driver/zlgcan_driver.cp310-win_amd64.pyd,sha256=E5ZsZYji_MpYo_xCrNbWw0Ta-yPvjp_bpUc-AW2JQeg,701952
|
9
|
-
zlgcan-0.2.1b0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|