Tiny protocol  0.9.0
Tiny communication protocol for microcontrollers
Classes | Functions
tiny_light.h File Reference

Tiny Light protocol API. More...

#include "proto/hdlc/tiny_hdlc.h"
#include "proto/hal/tiny_types.h"
Include dependency graph for tiny_light.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  STinyLightData
 

Functions

int tiny_light_init (void *handle, write_block_cb_t write_func, read_block_cb_t read_func, void *pdata)
 
int tiny_light_close (void *handle)
 
int tiny_light_send (void *handle, const uint8_t *pbuf, int len)
 sends frame with user payload to communication channel in blocking mode More...
 
int tiny_light_read (void *handle, uint8_t *pbuf, int len)
 reads frame from the channel in blocking mode. More...
 
hdlc_handle_t tiny_light_get_hdlc (void *handle)
 returns lower level hdlc handle. More...
 

Detailed Description

Tiny Light protocol API.

This is Tiny Light protocol implementation for microcontrollers