#include <platform/time.h>
#include "kaa_context.h"
#include <platform/kaa_client_properties.h>
Go to the source code of this file.
typedef void(* external_process_fn)(void *context) |
Creates and initializes kaa_client.
Create Kaa client, initialize Kaa framework.
- Parameters
-
[in,out] | kaa_client | Pointer to return the address of initialized Kaa client. |
[in] | props | Kaa client properties |
- Returns
- Error code.
De-initializes and destroys Kaa client.
After a successful call kaa_client
pointer becomes invalid.
- Parameters
-
[in] | kaa_client | Pointer to an Kaa client. |
- Returns
- Error code.
Return pointer to Kaa context.
- Parameters
-
[in] | kaa_client | Pointer to an Kaa client. |
- Returns
- pointer to Kaa context.
Start Kaa client.
Start Kaa client IO loop.
- Parameters
-
[in] | kaa_client | Pointer to an Kaa client. |
[in] | external_process | Callback function to process something outside a main loop |
[in] | external_process_context | Callback function context |
[in] | max_delay | Callback delay |
- Returns
- Error code.
Stop Kaa client.
Stop Kaa client IO loop.
- Parameters
-
[in] | kaa_client | Pointer to an Kaa client. |
- Returns
- Error code.