-
Notifications
You must be signed in to change notification settings - Fork 22
What is the purpose of the DBC Feeder's elm2canbridge? #139
Comments
Originally the code was created for the first version of the KUKSA hardware, that only had an OBD interface based on the STN2120. It allows you to use the STN to listen to a "raw" CAN bus without begin limited to the OBD protocol. The current code is limited to STN variants and does not work "native" ELMs or clones. That could however be changed in code. It even would need to be, as we are currently redesinging KUKSA hardware to not use STN2100 family chips but switching to "generic" ELM. The company doing the STN can not supply them anymore in any meaningful quantitiy and reasonable timeframe, and they do not have any useful kind of sales/support, so keeping them is a bad idea. See also eclipse-kuksa/kuksa-hardware#11 However, meanwhile the Linux CAN ecosystem moved forward, and there seems to be a Linux socketcan driver now for ELM chips: https://github.com/norly/elmcan/tree/master If we/someone could confirm that this works and document it, it would be a good chance to get rid of some code in DBC provider. |
Thanks for the detailed information 👍 |
So, my understanding is that there would be no immediate benefit if I started to tidy up/improve the existing elm2canbridge, right? We should probably wait until you have settled for the new chip set or am I mistaken? |
Exactly, no immediate benefit reworking the code. There would be immediate benefit/learning trying the new kernel module, but that requires
Currently I would have all except the latter. But keeping this discussion open, latest when we have new samples of the hardware I would need to check that a bit anyway. |
We have migrated CAN Provider (dbcfeeder) to a new repo. Long term my intention is to close all dbc/can-related issues in this repository. If we see the issue as still interesting or relevant we could create a new issue in the new repo, possibly referencing the old issue in the repository. Suggested way forward:
|
As described in the documentation, the elm2canbridge module makes use of several STN2100 specific
ST
commands and thus does not seem to work with generic ELM327 based dongles.I was wondering if there are plans to extend support to ELM327 based dongles or if this module is simply here to support the Kuksa.val CANOPi dongle (and whatever chip set it is currently based on)?
The text was updated successfully, but these errors were encountered: