#include <socket_can_wrapper.h>
Public Member Functions | |
void | deinitialize () |
bool | framesAvailable () |
bool | initialize (const char *interface_name) |
bool | readFrame (uint32_t *id, uint8_t *data, uint8_t *size) |
SocketCAN () | |
bool | writeFrame (uint32_t id, uint8_t *data, uint8_t size) |
~SocketCAN () | |
Private Attributes | |
int | can_socket_ |
std::string | interface_name_ |
Copyright (c) 2022-2023 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors.
Definition at line 9 of file socket_can_wrapper.h.
SocketCAN::SocketCAN | ( | ) |
Copyright (c) 2022-2023 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors.
Definition at line 18 of file socket_can_wrapper.cpp.
SocketCAN::~SocketCAN | ( | ) |
Definition at line 26 of file socket_can_wrapper.cpp.
void SocketCAN::deinitialize | ( | ) |
Definition at line 109 of file socket_can_wrapper.cpp.
bool SocketCAN::framesAvailable | ( | ) |
Definition at line 127 of file socket_can_wrapper.cpp.
bool SocketCAN::initialize | ( | const char * | interface_name | ) |
Definition at line 31 of file socket_can_wrapper.cpp.
bool SocketCAN::readFrame | ( | uint32_t * | id, |
uint8_t * | data, | ||
uint8_t * | size | ||
) |
Definition at line 162 of file socket_can_wrapper.cpp.
bool SocketCAN::writeFrame | ( | uint32_t | id, |
uint8_t * | data, | ||
uint8_t | size | ||
) |
Definition at line 196 of file socket_can_wrapper.cpp.
|
private |
Definition at line 34 of file socket_can_wrapper.h.
|
private |
Definition at line 35 of file socket_can_wrapper.h.