-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SocketcandMedia Media class added for socketcand functionality #306
Commits on Jul 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e79c885 - Browse repository at this point
Copy the full SHA e79c885View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e4026 - Browse repository at this point
Copy the full SHA e0e4026View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12a6b12 - Browse repository at this point
Copy the full SHA 12a6b12View commit details -
changed the socketcand interface variables from
the old implimentation to a new one
Configuration menu - View commit details
-
Copy full SHA for 6f54abe - Browse repository at this point
Copy the full SHA 6f54abeView commit details -
Cleaned up some junk left in from old commits,
added another error check for socketcand and CAN FD at same time
Configuration menu - View commit details
-
Copy full SHA for 0cf6e65 - Browse repository at this point
Copy the full SHA 0cf6e65View commit details
Commits on Jul 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9063059 - Browse repository at this point
Copy the full SHA 9063059View commit details -
Configuration menu - View commit details
-
Copy full SHA for 720166e - Browse repository at this point
Copy the full SHA 720166eView commit details -
Configuration menu - View commit details
-
Copy full SHA for aeb722e - Browse repository at this point
Copy the full SHA aeb722eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98b1dbe - Browse repository at this point
Copy the full SHA 98b1dbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for f576f22 - Browse repository at this point
Copy the full SHA f576f22View commit details
Commits on Jul 8, 2023
-
Fixed small variable missname, added documentation
to file as well
Configuration menu - View commit details
-
Copy full SHA for c57c5ed - Browse repository at this point
Copy the full SHA c57c5edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a30f62 - Browse repository at this point
Copy the full SHA 4a30f62View commit details
Commits on Jul 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a1e8ffc - Browse repository at this point
Copy the full SHA a1e8ffcView commit details -
Changed host and port vars to be in the superclass
_InterfaceParameters instead of separately in the FD and classic subclasses
Configuration menu - View commit details
-
Copy full SHA for a7e65e7 - Browse repository at this point
Copy the full SHA a7e65e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 196876f - Browse repository at this point
Copy the full SHA 196876fView commit details
Commits on Jul 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d9f8267 - Browse repository at this point
Copy the full SHA d9f8267View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b48f1d - Browse repository at this point
Copy the full SHA 9b48f1dView commit details -
SocketcandMedia Media class added for socketcand
library functionality. It runs on Python-CAN like the interfaces in the PythonCANMedia class, but because it has extra variables (host and port), it is not very clean to just add socketcand to PythonCANMedia.
Configuration menu - View commit details
-
Copy full SHA for d08509a - Browse repository at this point
Copy the full SHA d08509aView commit details
Commits on Jul 12, 2023
-
Updated version of the socketcandMedia class.
This fixes the unnecessary pieces left from the pythonCANMedia class, such as the FD vs Classic dataclasses, Can Bus Options, and the constructor class. It also updates the way parameters are inputed to be all in the iface_name param like 'socketcand:can:host:port'
Configuration menu - View commit details
-
Copy full SHA for 4bed41a - Browse repository at this point
Copy the full SHA 4bed41aView commit details
Commits on Jul 19, 2023
-
Updated SocketcandMedia class with unit test
Added unit test and changed spec string to be parsed in _transport_factory fixed formatting issues that did not pass Black guidelines Removed unecessary params S Updated version of the socketcandMedia class. This fixes the unnecessary pieces left from the pythonCANMedia class, such as the FD vs Classic dataclasses, Can Bus Options, and the constructor class. It also updates the way parameters are inputed to be all in the iface_name param like 'socketcand:can:host:port' SocketcandMedia Media class added for socketcand library functionality. It runs on Python-CAN like the interfaces in the PythonCANMedia class, but because it has extra variables (host and port), it is not very clean to just add socketcand to PythonCANMedia.
Configuration menu - View commit details
-
Copy full SHA for 7c77be9 - Browse repository at this point
Copy the full SHA 7c77be9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b74bb9b - Browse repository at this point
Copy the full SHA b74bb9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 53036ca - Browse repository at this point
Copy the full SHA 53036caView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac1fac9 - Browse repository at this point
Copy the full SHA ac1fac9View commit details
Commits on Aug 18, 2023
-
added environment configuration
builds and installs socketcand, sets up vcan, and starts socketcand
Configuration menu - View commit details
-
Copy full SHA for 5b8b45e - Browse repository at this point
Copy the full SHA 5b8b45eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93c58e3 - Browse repository at this point
Copy the full SHA 93c58e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ae6cdd - Browse repository at this point
Copy the full SHA 9ae6cddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e5986d - Browse repository at this point
Copy the full SHA 8e5986dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8558c61 - Browse repository at this point
Copy the full SHA 8558c61View commit details -
Configuration menu - View commit details
-
Copy full SHA for a71a028 - Browse repository at this point
Copy the full SHA a71a028View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef5d811 - Browse repository at this point
Copy the full SHA ef5d811View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf3621c - Browse repository at this point
Copy the full SHA bf3621cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6f8003 - Browse repository at this point
Copy the full SHA c6f8003View commit details
Commits on Aug 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 49292bb - Browse repository at this point
Copy the full SHA 49292bbView commit details
Commits on Aug 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2cbc4e4 - Browse repository at this point
Copy the full SHA 2cbc4e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc88a2b - Browse repository at this point
Copy the full SHA fc88a2bView commit details
Commits on Aug 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fd828db - Browse repository at this point
Copy the full SHA fd828dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0ecd0f - Browse repository at this point
Copy the full SHA c0ecd0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f25c069 - Browse repository at this point
Copy the full SHA f25c069View commit details
Commits on Aug 30, 2023
-
Updated test environment and tests
Test environment now properly builds and breaks down socketcand Tests use rx_a and rx_b for proper communication
Configuration menu - View commit details
-
Copy full SHA for ccb9ef2 - Browse repository at this point
Copy the full SHA ccb9ef2View commit details -
Changed socketcand build and install to GH workflow plus more
Also modified docs of SocketcandMedia, and updated socketcandMedia test to only start the daemon instead of building socketcand, setting up a vcan, and then running the daemon, now socketcand is installed in workflow and we use an existing vcan set up previously. I also added some error handling for running the socketcand daemon and made sure to kill the process correctly
Configuration menu - View commit details
-
Copy full SHA for 605ba5c - Browse repository at this point
Copy the full SHA 605ba5cView commit details
Commits on Aug 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e379145 - Browse repository at this point
Copy the full SHA e379145View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb3b99d - Browse repository at this point
Copy the full SHA fb3b99dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ad2e1e - Browse repository at this point
Copy the full SHA 6ad2e1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67ac831 - Browse repository at this point
Copy the full SHA 67ac831View commit details -
Configuration menu - View commit details
-
Copy full SHA for 585c7c1 - Browse repository at this point
Copy the full SHA 585c7c1View commit details -
Apply suggestions from code review
Co-authored-by: Pavel Kirienko <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 00baae9 - Browse repository at this point
Copy the full SHA 00baae9View commit details
Commits on Sep 1, 2023
-
Updated interface assert and fixed infinite test failure
In the previous commit it was mostly doc updates, but one changed the socketcandmedia interface_name return. I forgot to update the unit test assertions to match this, so in the CI testing it resulted in a never ending loop. The issue stemmed from the way Popen gets stderr and stdout with the communicate method, but only after the yield statement. It does not respond to the kill() and instead runs forever, so I replaced it with just a kill. Although you lose a little bit of info, the socketcand instance gets checked before the unit test is done in the fixture, and from there the daemon is very robust and will not stop unless you force kill it or terminate it. So I think this is the best solution, you still get output from errors within the unit test as well.
Configuration menu - View commit details
-
Copy full SHA for 4f7f170 - Browse repository at this point
Copy the full SHA 4f7f170View commit details
Commits on Sep 7, 2023
-
Updated minor version number and changelog
Also made small tweaks based on code change requests, removed some redundacy, slightly changed docs.
Configuration menu - View commit details
-
Copy full SHA for 29917e3 - Browse repository at this point
Copy the full SHA 29917e3View commit details
Commits on Sep 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 87c7a49 - Browse repository at this point
Copy the full SHA 87c7a49View commit details