Lely core libraries  2.2.5
__co_wtm Struct Reference

A CANopen Wireless Transmission Media (WTM) interface. More...

Collaboration diagram for __co_wtm:

Data Fields

uint_least8_t nif
 The WTM interface indicator.
 
uint_least8_t quality
 The link quality percentage (in the range [0..100], or 0xff if the information is not available).
 
struct co_wtm_can can [CO_WTM_MAX_NIF]
 The CAN interfaces.
 
co_wtm_diag_can_con_tdiag_can_con
 A pointer to the confirmation function invoked when a CAN communication quality response is received.
 
void * diag_can_con_data
 A pointer to the user-specified data for diag_can_con.
 
co_wtm_diag_wtm_con_tdiag_wtm_con
 A pointer to the confirmation function invoked when a WTM communication quality response is received.
 
void * diag_wtm_con_data
 A pointer to the user-specified data for diag_wtm_con.
 
co_wtm_diag_can_ind_tdiag_can_ind
 A pointer to the indication function invoked when a CAN communication quality reset message is received.
 
void * diag_can_ind_data
 A pointer to the user-specified data for diag_can_ind.
 
co_wtm_diag_wtm_ind_tdiag_wtm_ind
 A pointer to the indication function invoked when a WTM communication quality reset message is received.
 
void * diag_wtm_ind_data
 A pointer to the user-specified data for diag_wtm_ind.
 
co_wtm_diag_ac_ind_tdiag_ac_ind
 A pointer to the callback function invoked when an abort code is generated or received.
 
void * diag_ac_data
 A pointer to the user-specified data for diag_ac_ind.
 
co_wtm_recv_func_trecv_func
 A pointer to the callback function invoked by co_wtm_recv().
 
void * recv_data
 A pointer to the user-specified data for recv_func.
 
co_wtm_send_func_tsend_func
 A pointer to the callback function invoked by co_wtm_send().
 
void * send_data
 A pointer to the user-specified data for send_func.
 
uint_least8_t recv_buf [CO_WTM_MAX_LEN]
 The buffer used to receive byte streams.
 
size_t recv_nbytes
 The number of bytes in recv_buf.
 
uint_least8_t recv_nseq
 The sequence number for received generic frames.
 
uint_least8_t send_buf [CO_WTM_MAX_LEN]
 The buffer used to send byte streams.
 
size_t send_nbytes
 The number of bytes in send_buf.
 
uint_least8_t send_nseq
 The sequence number for sent generic frames.
 

Detailed Description

A CANopen Wireless Transmission Media (WTM) interface.

Definition at line 88 of file wtm.c.


The documentation for this struct was generated from the following file: