Function drivers::socketcan::set_can_filter
Defined in File socket_can_common.hpp
Function Documentation
-
void drivers::socketcan::set_can_filter(int32_t fd, const std::vector<struct can_filter> &f_list)
Set SocketCAN filters
- Parameters:
fd – [in] File descriptor of the socket
f_list – [in] List of filters to be applied.
- Throws:
std::runtime_error – If filters couldn’t be applied