tinyproto
Public Attributes | List of all members
tiny_fd_data_t Struct Reference
Collaboration diagram for tiny_fd_data_t:
Collaboration graph
[legend]

Public Attributes

on_frame_read_cb_t on_read_cb
 Callback to process received frames.
 
on_frame_send_cb_t on_send_cb
 Callback to process received frames.
 
on_connect_event_cb_t on_connect_event_cb
 Callback to get connect/disconnect notification.
 
tiny_fd_log_frame_cb_t log_frame_cb
 Callback to log frames.
 
hdlc_ll_handle_t _hdlc
 hdlc information
 
uint16_t send_timeout
 Timeout for operations with acknowledge.
 
uint16_t retry_timeout
 Timeout before retrying resend I-frames.
 
uint16_t ka_timeout
 Timeout before sending keep alive HDLC frame (RR)
 
uint8_t retries
 Number of retries to perform before timeout takes place.
 
tiny_frames_queue_t frames
 Information for frames being processed.
 
uint8_t peers_count
 Peers count supported by the primary device.
 
tiny_fd_peer_info_tpeers
 Information on all peers stations.
 
uint8_t addr
 Local address: 0x00 or for primary devices.
 
uint8_t next_peer
 Next peer to process.
 
uint32_t last_marker_ts
 Last marker timestamp.
 
uint8_t mode
 HDLC mode;.
 
tiny_events_t events
 Global events for HDLC protocol.
 
void * user_data
 user specific data
 

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