Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » raw pid logging / CAN sniffer

Pages: [1]
Author Topic: raw pid logging / CAN sniffer
feyr
Member
Posts: 1
Post raw pid logging / CAN sniffer
on: October 25, 2012 (GMT)

Hi all,

is there any way for torque (pro) to log the raw, undecoded pids to a file? i just want a log of everything that’s going on on the CAN bus, both rtr and non-rtr

i thought pidscanner would let me do that, but it looks like it’s only meant to do active scanning

basicly i’m trying to identify some specific messages that i believe should be sent on the bus when i perform some actions. i have no idea what pid they could have

piemmm
Administrator
Posts: 6629
Post Re: raw pid logging / CAN sniffer
on: October 26, 2012 (GMT)

Hi

You will need a laptop and terminal program to dump this data in sniffing mode (and preferably a USB adapter if you’re not filtering messages)

CAN can transmit at up to half a megabit, and this is usually way too fast if you’re listening to all messages over bluetooth (there is simply too much data). You will need to filter for specific messages if using bluetooth or a clone adapter (though you have mentioned you don’t know what you’re looking for, so can’t do that)

Nightrider
Member
Posts: 27
Post Re: raw pid logging / CAN sniffer
on: September 26, 2016 (GMT)

Hi Ian, can you provide some details how to actually do the sniffing with the laptop?
Thanks.

iwl
Member
Posts: 3
Post CAN sniffer
on: September 1, 2017 (GMT)

You just install the Torque Scan Plugin.

In the Torque Scan Plugin Settings you enable the Telnet Server which prints it’s address.

Connect with a telnet client e.g. from computer.

What to do there is described here:

https://theksmith.com/software/hack-vehicle-bus-cheap-easy-part-1/

Shr-lnm
Member
Posts: 16
Post Re: raw pid logging / CAN sniffer
on: September 2, 2017 (GMT)

Try this
https://github.com/shrlnm/CanBusMonitor

crazygsm
Member
Posts: 7
Post Re: raw pid logging / CAN sniffer
on: September 3, 2017 (GMT)

Quote from Shr-lnm on September 2, 2017
Try this
https://github.com/shrlnm/CanBusMonitor

I just spent a few testing it and verifying the max speed we can use.

My ELM1.3a(chinese) USB with FT232BL.

The FT232BL can reach 1Mb however this ELM accept as MAX 250Kb “AT BRD 10”

You can simply test the MAX your ELM accepts, just drop command

“AT BRD hh” if the answer is OK, accept, if not will be ?

This should not brink your interface but always exist a risk…
Check USB/bluetooth chip datasheet and don’t cross max supported by that one.

Hope this help someone.

Shr-lnm
Member
Posts: 16
Post Re: raw pid logging / CAN sniffer
on: September 3, 2017 (GMT)

Sorry for my english. Not sure that understood you well.
AT BRD is a safe way to change the port speed as so this setting would reset to default after power cycle. So you can try to change port speed with AT BRD without any risk.

From other hand you have no need to increase the port rate above 230400.
ELM supports CAN with bit rate up to 500 kBit/sec. Effective throughput of such CAN is about 182 kBit/sec and average load usually not exceed 50%

So I suppose that 230400 is more then enough for monitoring CAN500 without ‘BUFFER FULL’

crazygsm
Member
Posts: 7
Post Re: raw pid logging / CAN sniffer
on: September 3, 2017 (GMT)

you are right, using atbrd is safe.

Regarding Buffer full, even with max I have it full if no filters applied.

Anyway, is just a test I did, during week depending on time will accurate results to see.

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.028 seconds.

  Follow me on twitter