alexmohr / usb-can

USB-CAN Analyzer Linux Support
GNU General Public License v2.0
36 stars 13 forks source link

hlcan [canif-name] mod #27

Closed Izan00 closed 1 year ago

Izan00 commented 2 years ago

This code allows changing the default device name from can0 to any name while defining the can connection.

alexmohr commented 2 years ago

Looks great, I'll test it in the next couple of days and merge it then

alexmohr commented 2 years ago

Please also adjust the help printout to document how this function works. I also would prefer if you could add an a command line switch for this

alexmohr commented 2 years ago

If you need this feature please let me know. I can help you implementing it or implement it myself.

Izan00 commented 2 years ago

Hi, the adapter was broken during the shipping, thus it didn't work with your code neither, but the rtx led was flashing, so I assumed it was ok. At this moment I am not planning to spend more time with hlcan as I have another can adapter working. Thanks for your time, maybe in the future I'll try it again with a new one.