7 #ifndef GOLIOTH_INCLUDE_NET_GOLIOTH_SETTINGS_H_
8 #define GOLIOTH_INCLUDE_NET_GOLIOTH_SETTINGS_H_
11 #include <zephyr/net/coap.h>
111 #if defined(CONFIG_GOLIOTH_SETTINGS)
int golioth_settings_observe(struct golioth_client *client)
Observe for Settings.
int golioth_settings_register_callback(struct golioth_client *client, golioth_settings_cb callback)
Register callback for handling settings.
enum golioth_settings_status(* golioth_settings_cb)(const char *key, const struct golioth_settings_value *value)
Callback for an individual setting.
golioth_settings_status
Enumeration of Settings status codes.
golioth_settings_value_type
Different types of setting values.
@ GOLIOTH_SETTINGS_GENERAL_ERROR
@ GOLIOTH_SETTINGS_VALUE_OUTSIDE_RANGE
@ GOLIOTH_SETTINGS_VALUE_STRING_TOO_LONG
@ GOLIOTH_SETTINGS_KEY_NOT_VALID
@ GOLIOTH_SETTINGS_KEY_NOT_RECOGNIZED
@ GOLIOTH_SETTINGS_SUCCESS
@ GOLIOTH_SETTINGS_VALUE_FORMAT_NOT_VALID
@ GOLIOTH_SETTINGS_VALUE_TYPE_STRING
@ GOLIOTH_SETTINGS_VALUE_TYPE_UNKNOWN
@ GOLIOTH_SETTINGS_VALUE_TYPE_INT64
@ GOLIOTH_SETTINGS_VALUE_TYPE_BOOL
@ GOLIOTH_SETTINGS_VALUE_TYPE_FLOAT
Represents a Golioth client instance.
struct golioth_settings_value::@0::@2 string
enum golioth_settings_value_type type
Settings state data, placed in struct golioth_client.