XDK API  3.6.0
Documentation
Data Structures | Macros | Typedefs | Enumerations | Functions
BCDS_WlanConnect.h File Reference
#include "BCDS_Basics.h"
#include "BCDS_Retcode.h"
#include "BCDS_NetworkConfig.h"
#include "BCDS_WlanNetworkConnect.h"
+ Include dependency graph for BCDS_WlanConnect.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  WlanConnect_ScanInfo_S
 
struct  WlanConnect_ScanList_S
 

Macros

#define WLANCONNECT_DUMMY_SSID   "XDK110"
 
#define WLANCONNECT_ENROLLEE_PIN   "35072317"
 
#define WLANCONNECT_INITIALZED   UINT8_C(1)
 
#define WLANCONNECT_MAX_MAC_ADDR_LEN   UINT8_C(6)
 
#define WLANCONNECT_MAX_SCAN_INFO_BUF   UINT8_C(20)
 
#define WLANCONNECT_MAX_SSID_LENGTH   UINT8_C(32)
 
#define WLANCONNECT_NOT_INITIALZED   UINT8_C(0)
 

Typedefs

typedef unsigned long (WlanConnect_ScanInterval_T)
 
typedef void(* WlanConnect_Callback_T )(WlanConnect_Status_T connectStatus)
 
typedef enum
WlanConnect_CurrentStatus_E 
WlanConnect_CurrentNwStatus_T
 
typedef void(* WlanConnect_DisconnectCallback_T )(WlanConnect_Status_T discconnectStatus)
 
typedef signed char * WlanConnect_PassPhrase_T
 
typedef struct
WlanConnect_ScanInfo_S 
WlanConnect_ScanInfo_T
 
typedef struct
WlanConnect_ScanList_S 
WlanConnect_ScanList_T
 
typedef signed char * WlanConnect_SSID_T
 
typedef enum WlanConnect_Status_E WlanConnect_Status_T
 
typedef signed char * WlanConnect_Username_T
 

Enumerations

enum  WlanConnect_CurrentStatus_E
 
enum  WlanConnect_Retcode_E
 
enum  WlanConnect_Status_E
 

Functions

 BCDS_DEPRECATED (Retcode_T WlanConnect_Init(void))
 WLAN driver initialization function.
This function initializes WLAN driver context and Hardware interfaces; Also initializes the WLAN Stack. This API should be called first before calling any other API. More...
 
 BCDS_DEPRECATED (Retcode_T WlanConnect_Open(WlanConnect_SSID_T connectSSID, WlanConnect_Callback_T connectCallback))
 WLI Connect to Open Network interface.
This function connects to an open network.
Function is configurable in two ways: More...
 
 BCDS_DEPRECATED (Retcode_T WlanConnect_WEP_Open(WlanConnect_SSID_T connectSSID, WlanConnect_PassPhrase_T connectPass, uint8_t passPhraseLength, WlanConnect_Callback_T connectCallback))
 WLI Connect to WEP Open Network interface.
This function connects to an WEP Open network.
Function is configurable in two ways: More...
 
 BCDS_DEPRECATED (Retcode_T WlanConnect_WPA(WlanConnect_SSID_T connectSSID, WlanConnect_PassPhrase_T connectPass, WlanConnect_Callback_T connectCallback))
 WLI Connect to WPA Network interface.
This function connects to an WPA2-PSK or WPA-PSK network.
Function is configurable in two ways: More...
 
 BCDS_DEPRECATED (Retcode_T WlanConnect_WPS_PBC(WlanConnect_Callback_T connectCallback))
 WLI Connect using WPS PBC interface.
This function connects to a network by using the Wi-Fi Protected Setup. After calling the function the user must push the connect button of the Router for around 5 seconds.
Function is configurable in two ways: More...
 
 BCDS_DEPRECATED (Retcode_T WlanConnect_EnterpriseWPA(WlanConnect_SSID_T connectSSID, WlanConnect_Username_T connectUsername, WlanConnect_PassPhrase_T connectPassPhrase, WlanConnect_Callback_T connectCallback))
 WLI Connect to Enterprise WPA Network interface.
This function connects to an WPA2-PSK or WPA-PSK network.
Function is configurable in two ways: More...
 
 BCDS_DEPRECATED (Retcode_T WlanConnect_Disconnect(WlanConnect_DisconnectCallback_T disconnectCallback))
 WLI disconnect interface.
This function disconnects from the WLAN network.
Function is configurable in two ways: More...
 
 BCDS_DEPRECATED (Retcode_T WlanConnect_ScanNetworks(WlanConnect_ScanInterval_T scanInterval, WlanConnect_ScanList_T *scanList))
 Function used to scan the available networks.
Get the available scan information.
List of scan results will be available via the call back function. More...
 
 BCDS_DEPRECATED (WlanConnect_CurrentNwStatus_T WlanConnect_GetCurrentNwStatus(void))
 Function to get the current network status This function sets a disconnect callback which is used to notify the user that there has been a disconnection that was not triggered by the user.ed on connection status. More...
 
 BCDS_DEPRECATED (WlanConnect_Status_T WlanConnect_GetStatus(void))
 Function to get the connection status.
This function return the connection status. More...
 
 BCDS_DEPRECATED (uint8_t WlanConnect_GetInitStatus(void))
 Function to get the connection status.
This function return the connection status. More...
 

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:40 by doxygen 1.8.8