#include <kvaser_interface.h>
Public Member Functions | |
return_statuses | close () |
bool | is_open () |
KvaserCan () | |
return_statuses | open (const int &hardware_id, const int &circuit_id, const int &bitrate, const bool &echo_on=true) |
return_statuses | read (long *id, unsigned char *msg, unsigned int *size, bool *extended, unsigned long *time) |
return_statuses | write (const long &id, unsigned char *msg, const unsigned int &size, const bool &extended) |
~KvaserCan () | |
Private Attributes | |
void * | handle |
bool | on_bus |
Definition at line 37 of file kvaser_interface.h.
Definition at line 15 of file linuxcan.cpp.
Definition at line 22 of file linuxcan.cpp.
Definition at line 141 of file linuxcan.cpp.
bool KvaserCan::is_open | ( | ) |
Definition at line 122 of file linuxcan.cpp.
return_statuses KvaserCan::open | ( | const int & | hardware_id, |
const int & | circuit_id, | ||
const int & | bitrate, | ||
const bool & | echo_on = true |
||
) |
Definition at line 32 of file linuxcan.cpp.
return_statuses KvaserCan::read | ( | long * | id, |
unsigned char * | msg, | ||
unsigned int * | size, | ||
bool * | extended, | ||
unsigned long * | time | ||
) |
Definition at line 161 of file linuxcan.cpp.
return_statuses KvaserCan::write | ( | const long & | id, |
unsigned char * | msg, | ||
const unsigned int & | size, | ||
const bool & | extended | ||
) |
Definition at line 216 of file linuxcan.cpp.
void* AS::CAN::KvaserCan::handle [private] |
Definition at line 70 of file kvaser_interface.h.
bool AS::CAN::KvaserCan::on_bus [private] |
Definition at line 71 of file kvaser_interface.h.