XDK API  3.6.0
Macros | Functions | Variables
AppController.c File Reference
#include "XdkAppInfo.h"
#include "AppController.h"
#include <stdio.h>
#include <math.h>
#include "XdkVersion.h"
#include "XDK_Button.h"
#include "XDK_BLE.h"
#include "XDK_ExternalSensor.h"
#include "XDK_LED.h"
#include "XDK_Sensor.h"
#include "XDK_VirtualSensor.h"
#include "XDK_Storage.h"
#include "XDK_Utils.h"
#include "BCDS_BSP_Board.h"
#include "BCDS_CmdProcessor.h"
#include "BCDS_SDCard_Driver.h"
#include "XDK_NoiseSensor.h"
#include "BCDS_BSP_Max31865.h"
#include "BCDS_Max31865.h"
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "AdcCentralConfig.h"
#include "XDK_Lem.h"
+ Include dependency graph for AppController.c:


#define BLE_SEND_TIMEOUT_IN_MS   UINT32_C(1000)
#define NOISE_RMS_AVG_RANGE_IN_MV   0.005f


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)
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 Virtual XDK demo application control flow. More...
static void AppControllerSetup (void *param1, uint32_t param2)
 To setup the necessary modules for the application. More...
static void AppSpecificLedIndication (bool bleConnectionStatus)
 This function is to control the Application specific LED indication for BLE connection status. More...
static void Button1EventCallback (ButtonEvent_T buttonEvent)
static void Button2EventCallback (ButtonEvent_T buttonEvent)
static uint8_t * ConvertDecimalToSTring (uint8_t data, uint8_t *str)
 Convert Decimal/Hex value to String Format to display Version Information. More...
static void ConvertInteger32ToVersionString (uint32_t xdkVersion, uint8_t *str)
 This function is to convert the integer data into a string data. More...
static Retcode_T CurrentExternalHWConnected (ExternalSensor_Target_T *currentHw)
static void GetFwVersionInfo (void)
 This function to Get the Firmware Version by combining the XDK SW Release (i.e., Workbench Release) version (i.e., 3.2.0) More...
static void HandleExternalHwHotPlug (ExternalSensor_Target_T *connectedHw)
static void NoiseSensorTask (void *pvParameters)
 Responsible for reading the RMS voltage of noise sensor. More...
static Retcode_T SampleAndNotifyHighPriorityData (void)


static CmdProcessor_TAppCmdProcessor
static xTaskHandle AppControllerHandle = NULL
static BLE_Setup_T BLESetupInfo
static uint8_t Button1Status = 0
static uint8_t Button2Status = 0
static Button_Setup_T ButtonSetup
static uint32_t DataSampleRateInMs = 200
static ExternalSensor_Setup_T ExternalSensorSetup
ExternalSensor_Target_T ExtHwConnected = XDK_EXTERNAL_INVALID
static bool extTempHwConnectStatus = false
static uint8_t IsUseBuiltInSensorFusion = 1
static bool lemHwConnectStatus = false
static uint8_t ManufacturerCharacteristicValue [] = "Robert Bosch GmbH"
static uint8_t ModelNumberCharacteristicValue [] = "XDK110"
static volatile float NoiseRmsVoltage = 0.0f
static xTaskHandle NoiseSensorHandle = NULL
static uint16_t SampleCounter = 0
static bool SensorDataStartSampling = false
static Sensor_Setup_T SensorSetup
static uint8_t SoftwareRevisionCharacteristicValue [10U] = { 0 }
static Storage_Setup_T StorageSetup
const VirtualSensor_Enable_T VirtualSensors

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