OkoLib
library for accessing Okolab devices
|
Functions | |
oko_res_type | oko_PropertyWriteString (uint32_t deviceh, const char *name, const char *val, bool async) |
Change the current value of the specified string property. More... | |
oko_res_type | oko_PropertyWriteInt (uint32_t deviceh, const char *name, int32_t val, char async) |
Change the current value of the specified integer property. More... | |
oko_res_type | oko_PropertyWriteDouble (uint32_t deviceh, const char *name, double val, char async) |
Change the current value of the specified double property. More... | |
oko_res_type | oko_PropertyWriteVolatileString (uint32_t deviceh, const char *name, const char *val, bool async) |
Change the current value of the specified string property in the volatile memory. More... | |
oko_res_type | oko_PropertyWriteVolatileInt (uint32_t deviceh, const char *name, int32_t val, char async) |
Change the current value of the specified integer property in the volatile memory. More... | |
oko_res_type | oko_PropertyWriteVolatileDouble (uint32_t deviceh, const char *name, double val, char async) |
Change the current value of the specified double property in the volatile memory. More... | |
oko_res_type oko_PropertyWriteDouble | ( | uint32_t | deviceh, |
const char * | name, | ||
double | val, | ||
char | async | ||
) |
Change the current value of the specified double property.
[in] | deviceh | A valid device handle. |
[in] | name | The property name. |
[in] | val | Value to set. |
[in] | async | (1/0) set asynchronous mode on/off (If 1 then the value will be wrote as soon as possible but not now) |
oko_res_type oko_PropertyWriteInt | ( | uint32_t | deviceh, |
const char * | name, | ||
int32_t | val, | ||
char | async | ||
) |
Change the current value of the specified integer property.
[in] | deviceh | A valid device handle. |
[in] | name | The property name. |
[in] | val | Value to set. |
[in] | async | (1/0) set asynchronous mode on/off (If 1 then the value will be wrote as soon as possible but not now) |
oko_res_type oko_PropertyWriteString | ( | uint32_t | deviceh, |
const char * | name, | ||
const char * | val, | ||
bool | async | ||
) |
Change the current value of the specified string property.
[in] | deviceh | A valid device handle. |
[in] | name | The property name. |
[in] | val | Value to set. |
[in] | async | set asynchronous mode on/off (If true, then the value will be wrote as soon as possible but not now) |
oko_res_type oko_PropertyWriteVolatileDouble | ( | uint32_t | deviceh, |
const char * | name, | ||
double | val, | ||
char | async | ||
) |
Change the current value of the specified double property in the volatile memory.
[in] | deviceh | A valid device handle. |
[in] | name | The property name. |
[in] | val | Value to set. |
[in] | async | (1/0) set asynchronous mode on/off (If 1 then the value will be wrote as soon as possible but not now) |
oko_res_type oko_PropertyWriteVolatileInt | ( | uint32_t | deviceh, |
const char * | name, | ||
int32_t | val, | ||
char | async | ||
) |
Change the current value of the specified integer property in the volatile memory.
[in] | deviceh | A valid device handle. |
[in] | name | The property name. |
[in] | val | Value to set. |
[in] | async | (1/0) set asynchronous mode on/off (If 1 then the value will be wrote as soon as possible but not now) |
oko_res_type oko_PropertyWriteVolatileString | ( | uint32_t | deviceh, |
const char * | name, | ||
const char * | val, | ||
bool | async | ||
) |
Change the current value of the specified string property in the volatile memory.
[in] | deviceh | A valid device handle. |
[in] | name | The property name. |
[in] | val | Value to set. |
[in] | async | set asynchronous mode on/off (If true, then the value will be wrote as soon as possible but not now) |