Tiny protocol
0.9.3
Tiny communication protocol for microcontrollers
|
Tiny Protocol Full Duplex API. More...
Go to the source code of this file.
Classes | |
struct | tiny_fd_init_t_ |
Typedefs | |
typedef struct tiny_fd_data_t * | tiny_fd_handle_t |
typedef struct tiny_fd_init_t_ | tiny_fd_init_t |
Functions | |
int | tiny_fd_init (tiny_fd_handle_t *handle, tiny_fd_init_t *init) |
Initialized communication for Tiny Full Duplex protocol. More... | |
void | tiny_fd_close (tiny_fd_handle_t handle) |
stops Tiny Full Duplex state machine More... | |
int | tiny_fd_run_tx (tiny_fd_handle_t handle, uint16_t timeout) |
runs tx processing for specified period of time. More... | |
int | tiny_fd_run_rx (tiny_fd_handle_t handle, uint16_t timeout) |
runs rx processing for specified period of time. More... | |
int | tiny_fd_send (tiny_fd_handle_t handle, const void *buf, int len) |
Sends userdata over full-duplex protocol. More... | |
int | tiny_fd_buffer_size_by_mtu (int mtu, int max_tx_frames) |
void | tiny_fd_set_ka_timeout (tiny_fd_handle_t handle, uint32_t keep_alive) |
Tiny Protocol Full Duplex API.
This is Tiny Full-Duplex protocol implementation for microcontrollers. It is built on top of Tiny Protocol (tiny_hdlc.c)
Implements full duplex asynchronous ballanced mode (ABM)