#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include "cJSON.h"
#include "ecdh.h"
#include "btrMgr_Types.h"
#include "btrMgr_logger.h"
#include "btrMgr_LEOnboarding.h"
Go to the source code of this file.
|
#define | get_value_string(obj, str) strcpy(str, obj->valuestring); |
|
#define | get_value_number(obj, num) num = obj->valueint; |
|
#define | kPrivateKeyPath "/tmp/bootstrap_private.pem" |
|
#define | kPublicKeyPath "/tmp/bootstrap_public.pem" |
|
|
eBTRMgrRet | BTRMGR_LeWifi_CheckWifiConnSuccess (char *aSSID) |
|
static void | BTRMGR_LeLoadDatatoBuffer (char *aData) |
|
static int | get_wifi_creds (cJSON *wifi_settings, wifi_creds_t *creds, int index, int *ptotalEntries) |
|
void | BTRMGR_LeDecodeRxdWifiPayload (char *agWifiPayload) |
|
eBTRMgrRet | BTRMGR_LeWifi_ConnectToWifi (char *aSSID, char *aPassword, int aSecurityMode) |
|
static void | get_publicKey (char *key) |
|
eBTRMgrRet | BTRMGR_LeOnboarding_GetData (BTRMGR_LeOnboardingChar_t aenLeOnboardingChar, char *aData) |
|
eBTRMgrRet | BTRMGR_LeOnboarding_SetData (BTRMGR_LeOnboardingChar_t aenLeOnboardingChar, char *payload) |
|
|
int | gLeOnboardingState = BTRMGR_LE_ONBRDG_UNDEFINED |
|
short int | gUuidProvisionStatus = 0 |
|
char | gWifiPayload [MAX_PAYLOAD_LEN] |
|
int | gWifiPayloadLen = 0 |
|
int | gDataLenRxd = 0 |
|
bool | gWifiPayloadDecodeSuccess = false |
|
bool | gWifiConnectSuccess = false |
|
bool | gWifiPayloadRxd = false |
|
wifi_creds_t | WifiCreds |
|
@description This file implements bluetooth manager's
Definition in file btrMgr_LEOnboarding.c.