atlas0fd00m / cancat Goto Github PK
View Code? Open in Web Editor NEWswiss army knife of Controller Area Networks (CAN) often used in cars and building automation, etc...
License: BSD 2-Clause "Simplified" License
swiss army knife of Controller Area Networks (CAN) often used in cars and building automation, etc...
License: BSD 2-Clause "Simplified" License
It was a pleasure to learn more about CanCat yesterday!
I'd love it if your project would pursue a CII best practices badge - you can start here:
https://bestpractices.coreinfrastructure.org/
It would be nice to be able to highlight certain messages in printCanMsgs
in addition to filtering. As an example you could show all messages but highlight UDS messages, or messages that match a particular arbitration ID.
Would be handy if there are multiple M2's connected to a computer to be able to blink the LEDs on demand to confirm which M2 is which device.
Hello,
While trying to debug an issue I'm having with getting CanCat up and running I noticed this:
#!/usr/bin/env python3
From: https://github.com/atlas0fd00m/CanCat/blob/master/CanCat.py#L1
The main README still says Python 2.7. I haven't pulled the latest in about a month, but when I do should I be using Python3?
Could you share more documentation of these protocol:
// PC->Duino: <size><cmd><data> where size includes cmd and data but not the size byte itself
// Duino->PC: @<size><cmd><data> where size includes cmd and data
?
I suppose the protocol based on existed and well documented. What name of CAN-over-UART protocol do you use in CANcat?
That's not similar to widely used lawicel ASCII CAN protocol. Unfortunately.
My trying of builds after several hour is fail.
I suppose inappropriate tool version or unresolved depencies ($ avr-gcc -v is gcc version 4.9.2 (Fedora 4.9.2-1.el7))
Could you provide proper FW for Arduino UNO or maybe proven Makefile for build it my own? (GUI-based tools is really hard to understand build working)
Thanks in advance!
Hi there, is there anyway to drop a particular message (not pass through the bridge) . i.e. drop 1AC#1122334455667788 but let all other messages pass through including messages on the same id 1AC but with different data.
Hello,
I'm hoping you might be able to point me in the right direction. I'm using an Arduino Uno with SeeedStudio's CANBUS Shield. I am able to build and upload the sketch, and was able to install the required Python dependencies as well. The shield powers on fine, and when I have it hooked into my vehicle I see the RX light go on which indicates to me that it is actively seeing data on the CAN Bus.
All that said, I cannot seem to use the tool. When I try to start up, this is what I get:
/opt/CanCat/# ./CanCat.py -p /dev/ttyACM0
CAN INIT FAILED: Retrying
I've also tried:
>>> import cancat
>>> CANalysis = cancat.CanInterface('/dev/ttyACM0', 115200) # your device may vary
>>> CANalysis.ping()
(None, None)
But I cannot ping the device.
Any tips?
Hello,
Could it be possible to use canmap for ECU scanning using socket can and usb to Can dongle?
Regards
Currently the README indicates Macchina could potentially be supported in the future, but commit history suggests support for the M2 has been introduced. Could the README be updated?
/ref macchina/showcase#5
The cancat2pcap
and pcap2cancat
functions use scapy to construct and parse Linux netlink packets. Scapy is a large dependency so restructure these functions to do it manually.
Also re-enable the corresponding unit test when complete.
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.