Macros | Functions | Variables
AppController.c File Reference
#include "XdkAppInfo.h"
#include "AppController.h"
#include <stdio.h>
#include "XDK_WLAN.h"
#include "XDK_ServalPAL.h"
#include "XDK_HTTPRestClient.h"
#include "XDK_SNTP.h"
#include "BCDS_BSP_Board.h"
#include "BCDS_WlanNetworkConfig.h"
#include "BCDS_WlanNetworkConnect.h"
#include "BCDS_CmdProcessor.h"
#include "BCDS_Assert.h"
#include "XDK_Utils.h"
#include "FreeRTOS.h"
#include "task.h"
+ Include dependency graph for AppController.c:

Macros

#define APP_RESPONSE_FROM_HTTP_SERVER_GET_TIMEOUT   UINT32_C(25000)
 
#define APP_RESPONSE_FROM_HTTP_SERVER_POST_TIMEOUT   UINT32_C(25000)
 
#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER
 

Functions

void AppController_Init (void *cmdProcessorHandle, uint32_t param2)
 Gives control to the Application controller. More...
 
static void AppControllerEnable (void *param1, uint32_t param2)
 To enable the necessary modules for the application. More...
 
static void AppControllerFire (void *pvParameters)
 Responsible for controlling the HTTP Example application control flow. More...
 
static void AppControllerSetup (void *param1, uint32_t param2)
 To setup the necessary modules for the application. More...
 
static Retcode_T AppControllerValidateWLANConnectivity (void)
 This will validate the WLAN network connectivity. More...
 
static void HTTPRestClientGetCB (const char *responseContent, uint32_t responseContentLen, bool isLastMessage)
 The HTTP GET request response callback. More...
 

Variables

static CmdProcessor_TAppCmdProcessor
 
static xTaskHandle AppControllerHandle = NULL
 
static HTTPRestClient_Config_T HTTPRestClientConfigInfo
 
static HTTPRestClient_Get_T HTTPRestClientGetInfo
 
static HTTPRestClient_Post_T HTTPRestClientPostInfo
 
static HTTPRestClient_Setup_T HTTPRestClientSetupInfo
 
static WLAN_Setup_T WLANSetupInfo
 

This documentation file has been automatically generated on Wed May 6 2020 20:45:05 by doxygen 1.8.8