IoTivity-Lite
|
#include <stddef.h>
Functions | |
long | oc_get_block_size (void) |
retrieve the block size More... | |
long | oc_get_max_app_data_size (void) |
retrieve the max application data size More... | |
long | oc_get_min_app_data_size (void) |
retrieve the min application data size More... | |
long | oc_get_mtu_size (void) |
retrieve the currently used MTU size More... | |
void | oc_set_max_app_data_size (size_t size) |
set max application data size (e.g. More... | |
void | oc_set_min_app_data_size (size_t size) |
set min application data size (e.g. More... | |
int | oc_set_mtu_size (size_t mtu_size) |
sets the size of the MTU to be used More... | |
long oc_get_block_size | ( | void | ) |
retrieve the block size
long oc_get_max_app_data_size | ( | void | ) |
retrieve the max application data size
long oc_get_min_app_data_size | ( | void | ) |
retrieve the min application data size
long oc_get_mtu_size | ( | void | ) |
retrieve the currently used MTU size
void oc_set_max_app_data_size | ( | size_t | size | ) |
set max application data size (e.g.
buffer size of the messages)
size | size in bytes |
void oc_set_min_app_data_size | ( | size_t | size | ) |
set min application data size (e.g.
initialization buffer size of the messages)
size | size in bytes |
int oc_set_mtu_size | ( | size_t | mtu_size | ) |
sets the size of the MTU to be used
mtu_size | size in bytes |