expliot.plugins.can.canread

Test for reading data from the CAN bus.

Module Contents

Classes

CANRead

Test for reading from the CAN bus.

class expliot.plugins.can.canread.CANRead

Bases: expliot.core.tests.test.Test

Test for reading from the CAN bus.

Output Format: There are two types of format 1. Read all types of can messages 2. Where arbitration id is specified for reading those can messages

1. Read all [

{

“count”:1, “arbitration_id”:”0x161”, “data”:”000005500108000d”

}, # … May be more than one message

]

2. Read only for specific arbitration id [

{

“count”:28, “data”:”000000013d”

}, # … May be more than one message

]

execute()

Execute the test.