I’ve got it working sorta, I’m able to send single commands. but when I use “cangen” I can see it start up but then I get the “write: No buffer space available” so when that happens I send “sudo ifconfig can0 down” then I send “sudo ifconfig can0 up” it seems to be working like that. I read online someone said it would free up the buffer and send the first message only. I’m still trying to figure out why this is happening.
when you send a single cansend message, that message is immediately over-written by the original message being sent in the vehicle’s CAN bus. That is why you need to continuously send it every 10 ms with cangen to make sure Carloop is overwriting the original CAN message in the car.
appreciate the info it really helped a lot! I got it working and can use cangen to send the commands. I think increasing the buffer size really helped! now its time to figure out how to regularly send the messages. and I figured if I use 2 terminal windows I can use cangen on both to send the needed commands and that works too, but after sending the 2 messages to get the doors unlocked still nothing
I did run into a buffer message again but I’m thinking it did that because I increased the cangen to send out faster. I’m still playing with it hopefully I can get more updates ill post them on this thread.
its working when I use -g 10 I can see it show up in cansniffer but I’m still not getting any actual movement of the door locks, my suspicion is I’m missing a key ID that also goes along with the 2 that I’ve found.
I’m going to try and filter those 2 ID’s and see if anything new will show up but my question is will only the ID’s I set the filter on show up or will the accompanying ID’s follow? I’m giving it a try later on this afternoon fingers crossed!
also I would use this: cansniffer -cae can0 -l 5 -h 2000 -t 2000
the -l and -h correspond too loop time and holding time for changed parameters. Once you let it stabilize, then you can see which can messages are changing when you lock/unlock from the door. Do not use your key fob as that will add more messages to the bus.
while cansniffer is runnig, type in the same terminal window: -3D8 (as an example) and hit enter
that will hide CAN message ID 3D8 from the screen so you can get rid of the ones you know for sure are not door lock/unlock.
you can add it back by typing +3D8 and hitting enter
*not on a separate terminal - has to be on the same terminal running. Will look like you are not typing at all, because the refresh rate on the screen is really high, but trust your typing
Here’s a demo of me getting the door locks. I’m still not getting anything when sending those commands. I’m thinking I’m missing one more ID that I might have filtered out by mistake.
I’ve figured out how to send multiple commands at once.
cansend can0 334#000000011E030000 && cansend can0 355#F0FF000000000000
basically that will work but I’m still not getting my door locks. I’m wondering if I need to tap behind the radio to bypass the gateway. I’ve also read about something called “cangw” I’m trying to see if that would help as well.
is there any way to access pins 3 & 11 on the carloop? basically I can access the “CAN IHS” on pins 3 & 11
thought the OBDII port. I’m hoping that way I can send messages and actually get a response.
I have an Arduino and can bus shield with 2 wires to put into the OBDII port that would work but with the Arduino I don’t have a sketch that would work with canutils like the carloop.