I would be happy if I could do the following tasks with the application:
- Start the interface
- Stop the interface
- Reset the interface
Since the Raspi would work headless, there is no need to be very flexible with the data rate.
I am no Linux guy at all, and also no C programmer so this is all very new to me.
I got canconfig to work, some commands need sudo some not, and I have no clue how to find out if there is data to retrieve from the input.
Also the response "ERROR_ACTIVE" for the interface beeing up but less than 96 errors is scary.
Since the application would be the "master" I would know when to poll, but this is weird. As far as I am concerned an eventhandler is a better solution.
About RTFM, there is a difference between a manual and a recipe (which I don't expect here, btw.)
A manual is like a standard, the smallest common base, created with minumum effort.
As cheap as possible and instead of having all information collected for the topic in the relevant chapter it points to other files, paragraphs etc. In some cases created by an algorithm.