XDK API  3.6.0
Documentation
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 "XDK_PPMPSerializer.h"
#include "XDK_TimeStamp.h"
#include "XDK_Sensor.h"
#include "BCDS_BSP_Board.h"
#include "BCDS_WlanNetworkConfig.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_HTTP_COMM_ISSUE_COUNT_FOR_RESET   10U
 
#define APP_POST_REQUEST_CUSTOM_HEADER_0   "X-AuthToken: InsertCrypticAuthenticationToken\r\n"
 
#define APP_POST_REQUEST_CUSTOM_HEADER_1   "X-Foobar: AnotherCustomHeader\r\n"
 
#define APP_REQUEST_MAX_DOWNLOAD_SIZE   UINT32_C(512)
 
#define APP_RESPONSE_FROM_HTTP_SERVER_POST_TIMEOUT   UINT32_C(10000)
 
#define APP_RESPONSE_FROM_SNTP_SERVER_TIMEOUT   UINT32_C(10000)
 
#define APP_SENSORS_PAYLOAD_TO_BE_SERIALIZED   3U
 
#define APP_SENSORS_TO_BE_SERIALIZED_PER_PAYLOAD   7U
 
#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 PPMP Example application control flow. More...
 
static void AppControllerSetup (void *param1, uint32_t param2)
 To setup the necessary modules for the application. More...
 
static void AppControllerValidateWLANConnectivity (void)
 This will validate the WLAN network connectivity. More...
 

Variables

static CmdProcessor_TAppCmdProcessor
 
static xTaskHandle AppControllerHandle = NULL
 
static HTTPRestClient_Config_T HTTPRestClientConfigInfo
 
static HTTPRestClient_Post_T HTTPRestClientPostMeasurementInfo
 
static HTTPRestClient_Setup_T HTTPRestClientSetupInfo
 
static PPMPSerializer_Setup_T PPMPSerializerSetup
 
static Sensor_Setup_T SensorSetup
 
static SNTP_Setup_T SNTPSetupInfo
 
static WLAN_Setup_T WLANSetupInfo
 

All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:39 by doxygen 1.8.8