| CANSocketRaw::read |
( |
struct CANFrameInfo & |
message, |
|
|
unsigned int |
timeout = 1000 |
|
) |
| |
|
virtual |
Try to read CAN frame
- Parameters
-
| message | Buffer for CAN frame with additional information |
| timeout | Timeout for reading in [ms]. |
- Returns
- Reading operation status code.
Reimplemented from CANSocket.
| CANSocketRaw::start |
( |
const char * |
ifName | ) |
|
|
virtual |
Opens and initializes CAN socket
- Parameters
-
| ifName | Name of the CAN bus network interface. |
- Returns
- True if no error occurs.
Implements CANSocket.
Writes CAN frame using the socket
- Parameters
-
| message | CAN frame with additional information |
- Returns
- True if no error occurs.
Reimplemented from CANSocket.
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/automotive-message-broker-0.15/plugins/common/cansocketraw.h