client-c
0.6.3
|
Kaa profile reporting API. More...
Go to the source code of this file.
Macros | |
#define | KAA_PROFILE_MANAGER_T |
Typedefs | |
typedef kaa_profile_basic_endpoint_profile_test_t | kaa_profile_t |
typedef struct kaa_profile_manager_t | kaa_profile_manager_t |
Functions | |
kaa_error_t | kaa_profile_manager_update_profile (kaa_profile_manager_t *self, kaa_profile_t *profile) |
Updates user profile. More... | |
kaa_error_t | kaa_profile_manager_set_endpoint_access_token (kaa_profile_manager_t *self, const char *token) |
Updates user's access token. More... | |
Kaa profile reporting API.
Supplies API to report endpoint profile to Operations server.
Definition in file kaa_profile.h.
#define KAA_PROFILE_MANAGER_T |
Private profile manager data structure
Definition at line 48 of file kaa_profile.h.
typedef struct kaa_profile_manager_t kaa_profile_manager_t |
Definition at line 49 of file kaa_profile.h.
typedef kaa_profile_basic_endpoint_profile_test_t kaa_profile_t |
User defined endpoint profile structure
Definition at line 40 of file kaa_profile.h.
kaa_error_t kaa_profile_manager_set_endpoint_access_token | ( | kaa_profile_manager_t * | self, |
const char * | token | ||
) |
Updates user's access token.
[in] | self | Profile manager instance. |
[in] | token | New user access token. |
kaa_error_t kaa_profile_manager_update_profile | ( | kaa_profile_manager_t * | self, |
kaa_profile_t * | profile | ||
) |
Updates user profile.
After a new profile is set a sync request to Operations server will be sent. The profile must be set prior to the endpoint registration.
[in] | self | Profile manager instance. |
[in] | profile | Filled in user-defined profile data structure. |