#include "NebulaError.h"
#include "TUTKJsonAPIs.h"
#include "NebulaJsonAPIs.h"
#include "TUTKGlobalAPIs.h"
Macros | |
#define | NEBULA_API __declspec(dllimport) |
#define | NEBULA_API_DEPRECATED |
#define | MAX_PUBLIC_UDID_LENGTH 40 |
#define | MAX_PIN_CODE_LENGTH 9 |
#define | MAX_UDID_LENGTH 106 |
#define | MAX_NEBULA_PSK_LENGTH 1024 |
#define | MAX_NEBULA_IDENTITY_LENGTH 119 |
#define | MAX_NEBULA_SECRETID_LENGTH 128 |
Functions | |
NEBULA_API const char * | Nebula_Get_Version_String (void) |
Get the version of Nebula module. | |
NEBULA_API int | Nebula_Initialize () |
Initialize Nebula module. | |
NEBULA_API int | Nebula_DeInitialize () |
Deinitialize Nebula module. | |
NEBULA_API int | Nebula_Set_Log_Attr (LogAttr logAttr) |
Set Attribute of log file. | |
This file describes common APIs of the Nebula module in IOTC platform.
#define MAX_NEBULA_IDENTITY_LENGTH 119 |
#define MAX_NEBULA_PSK_LENGTH 1024 |
#define MAX_NEBULA_SECRETID_LENGTH 128 |
#define MAX_PIN_CODE_LENGTH 9 |
#define MAX_PUBLIC_UDID_LENGTH 40 |
#define MAX_UDID_LENGTH 106 |
#define NEBULA_API __declspec(dllimport) |
#define NEBULA_API_DEPRECATED |
NEBULA_API int Nebula_DeInitialize | ( | ) |
Deinitialize Nebula module.
This function will deinitialize Nebula module and must be the last function to call for Nebula module This would release all the resource allocated in this module.
NEBULA_API const char* Nebula_Get_Version_String | ( | void | ) |
Get the version of Nebula module.
This function returns the version of Nebula module.
NEBULA_API int Nebula_Initialize | ( | ) |
Initialize Nebula module.
This function is used by devices to initialize Nebula module and shall be called before any Nebula module related function is invoked.
NEBULA_API int Nebula_Set_Log_Attr | ( | LogAttr | logAttr | ) |
Set Attribute of log file.
logAttr | [in] See LogAttr |