XDK API  3.6.0
Documentation
Macros | Functions | Variables
AppController.c File Reference
#include "XdkAppInfo.h"
#include "AppController.h"
#include <stdio.h>
#include "BCDS_WlanNetworkConnect.h"
#include "BCDS_WlanNetworkConfig.h"
#include "BCDS_CmdProcessor.h"
#include "BCDS_Assert.h"
#include "BCDS_BSP_LED.h"
#include "BSP_BoardType.h"
#include "XDK_WLAN.h"
#include "XDK_LED.h"
#include "XDK_Utils.h"
#include "simplelink.h"
#include "FreeRTOS.h"
#include "semphr.h"
#include "timers.h"
#include "Protected/WLAN.h"
+ Include dependency graph for AppController.c:

Macros

#define BCDS_MODULE_ID   XDK_APP_MODULE_ID_APP_CONTROLLER
 
#define DELAY_15_SEC   UINT16_C(15000)
 
#define DELAY_500_MSEC   UINT16_C(500)
 
#define MINUS_ONE   UINT8_C(-1)
 
#define ONE   UINT8_C(1)
 
#define THREE   UINT8_C(3)
 
#define TWO   UINT8_C(2)
 
#define WLANNETWORK_EVENT_TIMEOUT   UINT32_C(200000)
 
#define ZERO   UINT8_C(0)
 

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 Wlan network management control flow. More...
 
static void AppControllerSetup (void *param1, uint32_t param2)
 To setup the necessary modules for the application. More...
 
void myDhcpIpCallbackFunc (WlanNetworkConfig_IpStatus_T returnStatus)
 NCI DHCP Callback function. This function is called by the device when an IP was acquired using DHCP. More...
 
static void ScanNetwork (void)
 Local function for scanning networks. This function also calls the SetAndGetIp function in order to set/get IP settings and connect/disconnect from a network. More...
 
static void SetAndGetIp (void)
 This function does the following : More...
 
static void WlanConnectStatusCallback (WlanNetworkConnect_Status_T status)
 

Variables

static CmdProcessor_TAppCmdProcessor
 
static xTaskHandle AppControllerHandle = NULL
 
static uint8_t dhcpFlag_mdu8
 
static SemaphoreHandle_t NetworkConfigSemaphore = NULL
 
static SemaphoreHandle_t WlanEventSemaphore = NULL
 
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