Classes | |
| class | can_frame |
| class | CANSocket |
| class | sockaddr_can |
| class | SocketCAN |
Functions | |
| def | get_socket (ifname) |
Variables | |
| int | AF_CAN = 29 |
| int | CAN_EFF_FLAG = 0x80000000 |
| int | CAN_EFF_MASK = 0x1FFFFFFF |
| int | CAN_RAW = 1 |
| int | CAN_RAW_ERR_FILTER = 2 |
| int | CAN_RAW_FD_FRAMES = 5 |
| int | CAN_RAW_FILTER = 1 |
| int | CAN_RAW_LOOPBACK = 3 |
| int | CAN_RAW_RECV_OWN_MSGS = 4 |
| libc = ctypes.CDLL(ctypes.util.find_library("c"), use_errno=True) | |
| logger = getLogger(__name__) | |
| bool | NATIVE_SOCKETCAN = True |
| int | SO_TIMESTAMP = 29 |
| int | SOL_CAN_BASE = 100 |
| int | SOL_CAN_RAW = SOL_CAN_BASE + CAN_RAW |
| def pyuavcan_v0.driver.socketcan.get_socket | ( | ifname | ) |
Definition at line 39 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.AF_CAN = 29 |
Definition at line 57 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_EFF_FLAG = 0x80000000 |
Definition at line 148 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_EFF_MASK = 0x1FFFFFFF |
Definition at line 149 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_RAW = 1 |
Definition at line 54 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_RAW_ERR_FILTER = 2 |
Definition at line 64 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_RAW_FD_FRAMES = 5 |
Definition at line 67 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_RAW_FILTER = 1 |
Definition at line 63 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_RAW_LOOPBACK = 3 |
Definition at line 65 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.CAN_RAW_RECV_OWN_MSGS = 4 |
Definition at line 66 of file socketcan.py.
| pyuavcan_v0.driver.socketcan.libc = ctypes.CDLL(ctypes.util.find_library("c"), use_errno=True) |
Definition at line 51 of file socketcan.py.
| pyuavcan_v0.driver.socketcan.logger = getLogger(__name__) |
Definition at line 30 of file socketcan.py.
| bool pyuavcan_v0.driver.socketcan.NATIVE_SOCKETCAN = True |
Definition at line 44 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.SO_TIMESTAMP = 29 |
Definition at line 151 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.SOL_CAN_BASE = 100 |
Definition at line 61 of file socketcan.py.
| int pyuavcan_v0.driver.socketcan.SOL_CAN_RAW = SOL_CAN_BASE + CAN_RAW |
Definition at line 62 of file socketcan.py.