![]() |
Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
|
I/O over the generic Linux CANsocket interface. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <net/if.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <linux/can.h>#include <linux/can/raw.h>#include <CAN_socket_driver.h>Go to the source code of this file.
Functions | |
| int | CAN_socket_initialize (void) |
| bool | CAN_socket_is_open (void) |
| bool | CAN_socket_close (void) |
| int | CAN_socket_send (const CANpacket &p) |
Variables | |
| int | CAN_socket |
I/O over the generic Linux CANsocket interface.
<Larus Flight Sensor Firmware>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file CAN_socket_driver.cpp.
Definition at line 74 of file CAN_socket_driver.cpp.
References CAN_socket.
Definition at line 42 of file CAN_socket_driver.cpp.
References CAN_socket, and vector< datatype, size >::vector().
Definition at line 69 of file CAN_socket_driver.cpp.
References CAN_socket.
Referenced by CAN_send().
Definition at line 81 of file CAN_socket_driver.cpp.
References CAN_socket, CANpacket::data_l, CANpacket::dlc, CANpacket::id, and vector< datatype, size >::vector().
Referenced by CAN_send().
| int CAN_socket |
Definition at line 40 of file CAN_socket_driver.cpp.
Referenced by CAN_socket_close(), CAN_socket_initialize(), CAN_socket_is_open(), and CAN_socket_send().