richclubb / python-lin Goto Github PK
View Code? Open in Web Editor NEWA module for general purpose LIN communications, intended to be cross-platform and hardware agnostic. Similar to python-can
License: MIT License
A module for general purpose LIN communications, intended to be cross-platform and hardware agnostic. Similar to python-can
License: MIT License
When receiving messages, only diagnostic identifiers are correctly handled. There are specific references to the two diagnostic PIDs. It will be better to strip the chack bits from the PIDs and send up the ID to the upper layers.
There is a new CXPI interface based on the LIN physical layer:
https://de.wikipedia.org/wiki/CXPI
(Sorry only available in German language)
Do you think in general it would make sense to integrate this in the module?
Do you have already any plans to integrate this in the module?
I don't see any support for Vector devices.
Is there any plan to add it in the near future?
In Uds.py:
If a request is sent with suppressRespose=True, the response is still tested for "response pending" (0x78), even though response is None. See code starting at line 140.
The response pending would only work for a single response pending too. There could be several.
Perhaps replace with this:
if responseRequired:
while True:
response = self.tp.recv(self.__P2_CAN_Client)
if not ((response[0] == 0x7F) and (response[2] == 0x78)):
break
In LinBus.py slaveResponseFrameEntry is populated twice (see line 68). The first is fine, but the second has checksum set to Enhanced. This is incorrect, and should be removed.
Is there any plan to add vector driver integration as is available in python-can?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.