christoph2 / pyxcp

ASAM XCP in Python
http://pyxcp.rtfd.org
GNU Lesser General Public License v3.0
204 stars 64 forks source link

pc_pcan.py state config should be of type BusState #51

Open torgrimb opened 4 years ago

torgrimb commented 4 years ago

I just tested using the updated python-can binding with pyxcp. Works like magic, however I had to update the 'STATE' config to type BusState instead of string in pc_pcan.py in the transport to get mine to work at least.

christoph2 commented 4 years ago

Ah OK, so far I've only tested SocketCAN communication.

torgrimb commented 4 years ago

I created a small oneliner fix with what worked for me at #52