Macros | Functions | Variables
AppController.c File Reference
#include "XdkAppInfo.h"
#include "AppController.h"
#include <stdio.h>
#include "XDK_BLE.h"
#include "XDK_Sensor.h"
#include "BCDS_BSP_Board.h"
#include "BCDS_WlanNetworkConfig.h"
#include "BCDS_CmdProcessor.h"
#include "XDK_Utils.h"
#include "FreeRTOS.h"
#include "task.h"
+ Include dependency graph for AppController.c:

Macros

#define APP_CONTROLLER_BLE_END_TRIGGER   UINT32_C(0)
 
#define APP_CONTROLLER_BLE_RX_BUFFER_SIZE   UINT8_C(20)
 
#define APP_CONTROLLER_BLE_SEND_TIMEOUT_IN_MS   UINT32_C(1000)
 
#define APP_CONTROLLER_BLE_START_TRIGGER   UINT32_C(1)
 
#define APP_CONTROLLER_BLE_TX_LEN   UINT8_C(16)
 
#define APP_TEMPERATURE_OFFSET_CORRECTION   (-3459)
 
#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 AppControllerBleDataRxCB (uint8_t *rxBuffer, uint8_t rxDataLength, void *param)
 This is the BLE data receive callback function. More...
 
static void AppControllerBleStartOrEndMsgSend (void *param1, uint32_t param2)
 This will send start or stop message based on input parameter. 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 BLE Example application control flow. More...
 
static void AppControllerSetup (void *param1, uint32_t param2)
 To setup the necessary modules for the application. More...
 

Variables

static CmdProcessor_TAppCmdProcessor
 
static bool AppControllerBleTransmitPayload = false
 
static xTaskHandle AppControllerHandle = NULL
 
static BLE_Setup_T BLESetupInfo
 
static Sensor_Setup_T SensorSetup
 

This documentation file has been automatically generated on Fri Oct 4 2019 03:46:53 by doxygen 1.8.8