pyxcp 0.23.8__cp314-cp314-macosx_11_0_arm64.whl → 0.23.9__cp314-cp314-macosx_11_0_arm64.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.

Potentially problematic release.


This version of pyxcp might be problematic. Click here for more details.

pyxcp/__init__.py CHANGED
@@ -17,4 +17,4 @@ tb_install(show_locals=True, max_frames=3) # Install custom exception handler.
17
17
 
18
18
  # if you update this manually, do not forget to update
19
19
  # .bumpversion.cfg and pyproject.toml.
20
- __version__ = "0.23.8"
20
+ __version__ = "0.23.9"
pyxcp/examples/run_daq.py CHANGED
@@ -129,8 +129,9 @@ else:
129
129
  ),
130
130
  ]
131
131
 
132
- daq_parser = DaqToCsv(DAQ_LISTS) # Record to CSV file(s).
133
- # daq_parser = DaqRecorder(DAQ_LISTS, "run_daq_02092025_01", 4) # Record to ".xmraw" file.
132
+
133
+ # daq_parser = DaqToCsv(DAQ_LISTS) # Record to CSV file(s).
134
+ daq_parser = DaqRecorder(DAQ_LISTS, "run_daq_01092025_01", 8) # Record to ".xmraw" file.
134
135
 
135
136
  with ap.run(policy=daq_parser) as x:
136
137
  try:
@@ -149,8 +150,8 @@ with ap.run(policy=daq_parser) as x:
149
150
  print("start DAQ lists.")
150
151
  daq_parser.start() # Start DAQ lists.
151
152
 
152
- time.sleep(2.0 * 60.0)
153
- # time.sleep(2.0 * 60.0 * 60.0) # Run for 15 minutes.
153
+ # time.sleep(2.0 * 60.0)
154
+ time.sleep(15 * 60.0) # Run for 15 minutes.
154
155
 
155
156
  print("Stop DAQ....")
156
157
  daq_parser.stop() # Stop DAQ lists.
pyxcp/master/master.py CHANGED
@@ -223,6 +223,10 @@ class Master:
223
223
  self.AG_unpack = self.DWORD_unpack
224
224
  self.slaveProperties.bytesPerElement = 4
225
225
  # self.connected = True
226
+ status = self.getStatus()
227
+ if status.sessionStatus.daqRunning:
228
+ # TODO: resume
229
+ self.startStopSynch(0x00)
226
230
  return result
227
231
 
228
232
  @wrapped
@@ -1109,8 +1109,9 @@ class DaqRecorderPolicy : public DAQPolicyBase {
1109
1109
  }
1110
1110
 
1111
1111
  void feed(std::uint8_t frame_cat, std::uint16_t counter, std::uint64_t timestamp, const std::string& payload) override {
1112
- if (frame_cat != static_cast<std::uint8_t>(FrameCategory::DAQ)) {
1112
+ if (frame_cat != static_cast<std::uint8_t>(FrameCategory::DAQ) || (!m_initialized)) {
1113
1113
  // Only record DAQ frames for now.
1114
+ // also make sure policy is initialized.
1114
1115
  return;
1115
1116
  }
1116
1117
  m_writer->add_frame(frame_cat, counter, timestamp, static_cast<std::uint16_t>(payload.size()), payload.c_str());
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyxcp
3
- Version: 0.23.8
3
+ Version: 0.23.9
4
4
  Summary: Universal Calibration Protocol for Python
5
5
  License: LGPLv3
6
6
  Keywords: automotive,ecu,xcp,asam,autosar
@@ -4,7 +4,7 @@ pyxcp/asamkeydll.sh,sha256=iema12sub6qNE0xAuzwGtx0FmkdaaOKoXalhrtWVaa8,57
4
4
  pyxcp/asamkeydll.c,sha256=l5RHYcEPY_Q07G-W5IjCq0xci8YfUR-3uYt84OOkOJI,2836
5
5
  pyxcp/constants.py,sha256=Yemk_Gi_m78EEU0v-sdGCAodb9dv_vqP969IU3izA2M,1113
6
6
  pyxcp/cmdline.py,sha256=OVSO-X6JV1Si2tKZ1ar2gYbiqCTlTaj5jY-z6N2Vk3Q,2453
7
- pyxcp/__init__.py,sha256=XO1Scje0Ha9TJbL8sJGjBmKbf8qcUAiDVx77LlxsKL0,527
7
+ pyxcp/__init__.py,sha256=3f5FNt7GeyC6oJ5XZRxitwjhfpMUwA_bKjk6ZF_qvQQ,527
8
8
  pyxcp/types.py,sha256=XJxJUh9bK5Urfia8IHVLJ-NFgQACYBd_n73L-AaeZts,25158
9
9
  pyxcp/timing.py,sha256=hzeQZ3P7ij_bfskoVMi10Iv5S4i_6TQYfnB8PXTX6c4,1645
10
10
  pyxcp/utils.py,sha256=cHb5RUNim90U1U_a4axRmfa2n_xhFdjqHoRBEODoscs,3404
@@ -60,7 +60,7 @@ pyxcp/aml/XCPonUSB.aml,sha256=rPGduH-PE8-tBeELSm3vfkbf62uhlVP6gvJL0OvMclc,4847
60
60
  pyxcp/aml/ifdata_SxI.a2l,sha256=8rAB6HTTAuNlFSrkFpR7fUA702yN4rTTNkw-xspZNV0,303
61
61
  pyxcp/aml/XCPonFlx.aml,sha256=z58FMu6ZF4hVun8WBCuxvDrq6FZ_gj3tZM15G7E8Uvw,4647
62
62
  pyxcp/master/__init__.py,sha256=o3XB9GDwLiqh-KRFC9YTOd0EvxJXDpyrcVxebiwT934,309
63
- pyxcp/master/master.py,sha256=oft1aNYqmilFZ00ZI7aO5lPaxXg5-Act6ji23x3bc6U,76980
63
+ pyxcp/master/master.py,sha256=4GTtu_SrALZev52sdEw5AYyDaJ3SWbM_XBG_FpS4NeA,77123
64
64
  pyxcp/master/errorhandler.py,sha256=7EftfxWYqRyXurJEZS8PAyXVHs_e4qV8uWsUOMuE2Ug,19402
65
65
  pyxcp/examples/xcp_read_benchmark.py,sha256=Hl0hrjV3FE-ivswvYOh0MsKiHnk03z7w8lQDYnvfeM8,918
66
66
  pyxcp/examples/conf_eth.toml,sha256=b6bKN-K07gMQHNj7yiyB-HKrkVtZREgPXS4ByQueBs4,190
@@ -73,7 +73,7 @@ pyxcp/examples/xcp_user_supplied_driver.py,sha256=Wyep2KhtcFC2GzZuJPj5ikSqWIWYsf
73
73
  pyxcp/examples/xcp_skel.py,sha256=F2g2C79jiYZl0cpRHfzWusfn1ZvodOS_r1Az6aknZL4,1110
74
74
  pyxcp/examples/xcp_unlock.py,sha256=vl2Zv7Z6EuBxI2ZxbGQK6-0tZBVqd72FZllsvIfuJ5w,652
75
75
  pyxcp/examples/xcphello.py,sha256=JK9U_QkFP0AwKlZK9lFB66GAqUDFRoXL3XMYO5EdRQQ,2550
76
- pyxcp/examples/run_daq.py,sha256=4AMsBAKmeyk7IIVjtyOB21cB7ANhcTg4hVhRBmYbutk,5509
76
+ pyxcp/examples/run_daq.py,sha256=fLZSVtM__QkvTzXiGP4Tff79xwVNPCmVoLv89ff9c9I,5502
77
77
  pyxcp/examples/conf_socket_can.toml,sha256=JB9zHHaya2mDXf0zPY7zEKiBDX2chzBBRxt7h3LxxDk,257
78
78
  pyxcp/examples/conf_sxi.toml,sha256=r81OD0mCLk_h7vrN5MBJk0HFbiWi3bQZtFgFVrW6qcM,118
79
79
  pyxcp/examples/conf_can.toml,sha256=oGkZYgmcpPsJ6YKGELm6DqF-hNvokJHCq99LAqxCyso,351
@@ -92,7 +92,7 @@ pyxcp/recorder/recorder.rst,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
92
  pyxcp/recorder/mio.hpp,sha256=emP4qMXTxOe1wRSkB_U0hgOVz4aMUgG5dqcCvNNkAjs,61632
93
93
  pyxcp/recorder/build_gcc.cmd,sha256=A1xt8AS7VZxjJq21VzX8cOT7wl9ap_AIXBWbcIEddCw,237
94
94
  pyxcp/recorder/writer.hpp,sha256=rNjtRTtJes5z-BzKR2K56P_Kvc9MEVQgycu8J0wKf1g,11284
95
- pyxcp/recorder/rekorder.cpython-310-darwin.so,sha256=PNu2Ia-840OOqGimFLw5PNefbMeBGfAOK-cPOygRutE,529792
95
+ pyxcp/recorder/rekorder.cpython-310-darwin.so,sha256=987QuXdoVM-fEfqm8PNQZr25nDhhwwSIwfk36fKyVCk,529792
96
96
  pyxcp/recorder/lz4hc.c,sha256=GhoLtpQF6ViHkhQ_TaLw9UCzSB_MO-fdflgjR_xFFfM,86829
97
97
  pyxcp/recorder/lz4.h,sha256=BkRLAtxukE15Z2yO0Pjrq-n6hw5W6jkGFR5f14MzpEU,45604
98
98
  pyxcp/recorder/rekorder.cpp,sha256=LtN3Ud_pigNZ70gJ5-tyFJZN-3PMDVwqbbH694--TxQ,1841
@@ -102,17 +102,17 @@ pyxcp/recorder/reader.hpp,sha256=rr9XZ_ciL6eF2_xEqyt9XYNqTIze9ytAsnf8uYukO9U,520
102
102
  pyxcp/recorder/__init__.py,sha256=HA8U6V85vbgZNWyNvJlY8l77YeTO0tHWl3t1v9DvjkQ,2846
103
103
  pyxcp/recorder/test_reko.py,sha256=sIM_BBY9sq1ZUTawoxmDzdtd5qHPT9w6eVYZoY4iFik,980
104
104
  pyxcp/recorder/build_clang.cmd,sha256=vIWwC1zF_WChakjfj8VaUCN6X8HwyqvGgFRdUub1TtE,174
105
- pyxcp/recorder/rekorder.cpython-311-darwin.so,sha256=LUHZe4_XGEkgfccXfm1FGsfQ9f9reCEngmgBlx7_dAQ,529936
105
+ pyxcp/recorder/rekorder.cpython-311-darwin.so,sha256=-2w3n_6dM8kO8UiUUAkfy_bCHizGFuznoAhv2tazHrA,529936
106
106
  pyxcp/recorder/reco.py,sha256=SAO_XMKSBWHhdzxfkmV9ZoPvJjale4BGi8O9p5Sd_iE,8448
107
107
  pyxcp/recorder/setup.py,sha256=piwBqaIX6SY1CyjKlantmd3I_VS6rk56sELvmPguKNM,957
108
108
  pyxcp/recorder/rekorder.hpp,sha256=sWvRch9bVt6mmgrFHp5mwWhap7HoFG4geeb7UqEIzio,7638
109
- pyxcp/recorder/rekorder.cpython-314-darwin.so,sha256=RJTni9TOtDo31r2fjib7nKuAqqgYE4xLGY3knFuPetI,530208
109
+ pyxcp/recorder/rekorder.cpython-314-darwin.so,sha256=xRTKqe2dCXZChUORTq7TMJW0pRsDuP_TxdQR_xpD0pw,530208
110
110
  pyxcp/recorder/lz4hc.h,sha256=U_uN3Q2wIi3_dbEceJ16xHJZGotUiBTcnL6O5ARPi8M,20179
111
- pyxcp/recorder/rekorder.cpython-312-darwin.so,sha256=MvQAN8fZPY_XZKoagVKO8l-52X-wcVnvomm2nB5UtIY,529936
111
+ pyxcp/recorder/rekorder.cpython-312-darwin.so,sha256=nre1ZLzY0b0NnHd2d1vXd4HeuikE4K6--me5Ol8zJVg,529936
112
112
  pyxcp/recorder/lz4.c,sha256=k5b33lJ7yENd6cdWn7eZjlZUWoS088LYCMAjXAF3RTk,118145
113
113
  pyxcp/recorder/build_gcc.sh,sha256=uvMhL4faEJmhG_8rzSOxEBRRqrACC0kmZgaERN8GkUs,209
114
- pyxcp/recorder/rekorder.cpython-313-darwin.so,sha256=K7ljMeJX-eoaxxDhGQPG-gs3T1S16zg188c22EbkuXw,530192
115
- pyxcp/recorder/unfolder.hpp,sha256=KDmRM0FRs3w-yFeS7-e5u743HKinE8v8sbh3_6RnCQ4,48002
114
+ pyxcp/recorder/rekorder.cpython-313-darwin.so,sha256=j0i0LkYgObugID5pqObLlYwj8bVpCsnW-TWnqScglGQ,530192
115
+ pyxcp/recorder/unfolder.hpp,sha256=DfjAkAlXZhhuE3FY4jQbK0GBlaPzBZqCEm3Auc0-YW0,48067
116
116
  pyxcp/recorder/converter/__init__.py,sha256=mqzH3jxGpFrtS2dHyfDLCYKeJycav3_-6z8svlI07eU,14452
117
117
  pyxcp/stim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
118
118
  pyxcp/vector/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -131,8 +131,8 @@ pyxcp/cpp_ext/bin.hpp,sha256=0CatarJ7jFewlg9EIxsDPxC4wnORHutx-1PLHpf9iqw,2457
131
131
  pyxcp/cpp_ext/cpp_ext.cpython-311-darwin.so,sha256=82Sn7HnIHykqhK8Any97PvcZiUbrA4XMVbG0ExGHRJ0,321424
132
132
  pyxcp/cpp_ext/daqlist.hpp,sha256=Q1Gejo8i1rP2PzyUh4UHJ2z-kG0WNnkbBj7N8DAdzaM,7071
133
133
  pyxcp/cpp_ext/cpp_ext.cpython-310-darwin.so,sha256=qPV9eNVkRL8z10bnT72IPS_ycDt92S_E2P2fUrctwOQ,321344
134
- pyxcp-0.23.8.dist-info/RECORD,,
135
- pyxcp-0.23.8.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
136
- pyxcp-0.23.8.dist-info/WHEEL,sha256=liYdTCLVexOWAG0gG4YcAbkur62UTvR8Bty2aoz0VVg,134
137
- pyxcp-0.23.8.dist-info/entry_points.txt,sha256=LkHsEwubm30s4oiyCy0cKj6k97ALvQ6KjAVdyEcqu7g,358
138
- pyxcp-0.23.8.dist-info/METADATA,sha256=8wRiL3ofoAwld1lCnzIsPh6NDt0UWmZPZIj50dcOPTA,12718
134
+ pyxcp-0.23.9.dist-info/RECORD,,
135
+ pyxcp-0.23.9.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
136
+ pyxcp-0.23.9.dist-info/WHEEL,sha256=liYdTCLVexOWAG0gG4YcAbkur62UTvR8Bty2aoz0VVg,134
137
+ pyxcp-0.23.9.dist-info/entry_points.txt,sha256=LkHsEwubm30s4oiyCy0cKj6k97ALvQ6KjAVdyEcqu7g,358
138
+ pyxcp-0.23.9.dist-info/METADATA,sha256=KKZRladjwl9oGnbUyLaMsnLGa65Px9aQe_2uHaentWo,12718
File without changes