Golioth Firmware SDK
Loading...
Searching...
No Matches
lightdb_state.h File Reference

Go to the source code of this file.

Functions

enum golioth_status golioth_lightdb_set_int (struct golioth_client *client, const char *path, int32_t value, golioth_set_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_lightdb_set_bool (struct golioth_client *client, const char *path, bool value, golioth_set_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_lightdb_set_float (struct golioth_client *client, const char *path, float value, golioth_set_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_lightdb_set_string (struct golioth_client *client, const char *path, const char *str, size_t str_len, golioth_set_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_lightdb_set (struct golioth_client *client, const char *path, enum golioth_content_type content_type, const uint8_t *buf, size_t buf_len, golioth_set_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_lightdb_get (struct golioth_client *client, const char *path, enum golioth_content_type content_type, golioth_get_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_lightdb_delete (struct golioth_client *client, const char *path, golioth_set_cb_fn callback, void *callback_arg)
 
enum golioth_status golioth_lightdb_observe (struct golioth_client *client, const char *path, enum golioth_content_type content_type, golioth_get_cb_fn callback, void *callback_arg)