![]() |
Thingstream Client Library
BLD4131-v2.13
|
ThingstreamTransport implementation that adds ring buffering on callbacks e.g. between a serial connection and a modem driver. More...
#include <transport_api.h>
Functions | |
ThingstreamTransport * | Thingstream_createRingBufferTransport (ThingstreamTransport *inner, uint8_t *data, uint16_t size) |
ThingstreamTransport * | Thingstream_createRingBufferTransport_2 (ThingstreamTransport *inner, uint8_t *data, uint16_t size) |
ThingstreamTransport * | Thingstream_createRingBufferTransport_3 (ThingstreamTransport *inner, uint8_t *data, uint16_t size) |
ThingstreamTransport implementation that adds ring buffering on callbacks e.g. between a serial connection and a modem driver.
ThingstreamTransport* Thingstream_createRingBufferTransport | ( | ThingstreamTransport * | inner, |
uint8_t * | data, | ||
uint16_t | size | ||
) |
Create a transport instance that ring-buffers a sequence of bytes for callbacks.
inner | the inner ThingstreamTransport instance to use |
data | an area of data to use for the buffer |
size | the size of the data area |
ThingstreamTransport* Thingstream_createRingBufferTransport_2 | ( | ThingstreamTransport * | inner, |
uint8_t * | data, | ||
uint16_t | size | ||
) |
Create a second transport instance that ring-buffers a sequence of bytes for callbacks.
inner | the inner ThingstreamTransport instance to use |
data | an area of data to use for the buffer |
size | the size of the data area |
ThingstreamTransport* Thingstream_createRingBufferTransport_3 | ( | ThingstreamTransport * | inner, |
uint8_t * | data, | ||
uint16_t | size | ||
) |
Create a third transport instance that ring-buffers a sequence of bytes for callbacks.
inner | the inner ThingstreamTransport instance to use |
data | an area of data to use for the buffer |
size | the size of the data area |