30#if defined(MODULE_CONN_CAN_ISOTP_MULTI) || defined(DOXYGEN) 
   33#ifndef CONN_CAN_ISOTP_MBOX_SIZE 
   37#define CONN_CAN_ISOTP_MBOX_SIZE (16) 
  103#ifndef CONN_CAN_ISOTP_MBOX_SIZE 
  107#define CONN_CAN_ISOTP_MBOX_SIZE (16) 
  113typedef struct conn_can_isotp {
 
  183#if defined(MODULE_CONN_CAN_ISOTP_MULTI) || defined(DOXYGEN) 
int conn_can_isotp_recv(conn_can_isotp_t *conn, void *buf, size_t size, uint32_t timeout)
Receive isotp data.
 
int conn_can_isotp_close(conn_can_isotp_t *conn)
Close can isotp connection socket.
 
int conn_can_isotp_create(conn_can_isotp_t *conn, struct isotp_options *options, int ifnum)
Create can isotp connection socket.
 
#define CONN_CAN_ISOTP_MBOX_SIZE
Mailbox size of a conn_can_isotp_t.
 
struct conn_can_isotp_master conn_can_isotp_t
ISO-TP connection.
 
int conn_can_isotp_bind(conn_can_isotp_t *conn, struct isotp_fc_options *fc_options)
Bind a can isotp connection.
 
static void conn_can_isotp_init_slave(conn_can_isotp_t *master, conn_can_isotp_slave_t *slave)
Initialize a slave connection.
 
struct conn_can_isotp_slave conn_can_isotp_slave_t
ISO-TP salve connection.
 
int conn_can_isotp_send(conn_can_isotp_t *conn, const void *buf, size_t size, int flags)
Generic can send.
 
int conn_can_isotp_select(conn_can_isotp_slave_t **conn, conn_can_isotp_t *master, uint32_t timeout)
Wait for reception from multiple connections.
 
struct can_rx_data can_rx_data_t
Received data structure.
 
ISO TP high level interface.
 
Mutex for thread synchronization.
 
ISO-TP master connection.
 
int bound
1 if connection is bound
 
msg_t mbox_queue[CONN_CAN_ISOTP_MBOX_SIZE]
Connection list message queue.
 
mbox_t mbox
mailbox for the connection list
 
struct isotp isotp
ISO-TP parameters and status.
 
struct conn_can_isotp_slave * next
First slave in the list.
 
struct conn_can_isotp_master * master
Master connection.
 
int ifnum
interface number
 
can_rx_data_t * rx
Buffered rx data.
 
int ifnum
interface number
 
struct conn_can_isotp_slave * next
Next slave in the list.
 
int bound
1 if connection is bound
 
can_rx_data_t * rx
Buffered rx data.
 
struct conn_can_isotp_master * master
Master connection holding the mailbox.
 
struct isotp isotp
ISO-TP parameters and status.
 
The isotp_fc_options struct.
 
The isotp_options struct.
 
Mailbox struct definition.
 
Describes a message object which can be sent between threads.
 
Definitions high-level CAN interface.