OkoLib
library for accessing Okolab devices
Auto-updating properties

Functions

oko_res_type oko_PropertyAutoUpdate (uint32_t deviceh, const char *name, uint32_t freq_ms)
 Set the update frequency to read the specified property value from the current device. More...
 

Detailed Description

Function Documentation

oko_res_type oko_PropertyAutoUpdate ( uint32_t  deviceh,
const char *  name,
uint32_t  freq_ms 
)

Set the update frequency to read the specified property value from the current device.

Parameters
[in]devicehA valid device handle.
[in]nameThe property name.
[in]freq_msThe milliseconds between each property update.
Returns
OKO_OK upon success, an error code otherwise.