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

Data Structures

struct  WlanNetworkConnect_ScanInfo_S
 
struct  WlanNetworkConnect_ScanList_S
 

Macros

#define WLANNWCT_DUMMY_SSID   "XDK110"
 
#define WLANNWCT_ENROLLEE_PIN   "35072317"
 
#define WLANNWCT_INITIALZED   UINT8_C(1)
 
#define WLANNWCT_MAX_MAC_ADDR_LEN   UINT8_C(6)
 
#define WLANNWCT_MAX_SCAN_INFO_BUF   UINT8_C(20)
 
#define WLANNWCT_MAX_SSID_LENGTH   UINT8_C(32)
 
#define WLANNWCT_NOT_INITIALZED   UINT8_C(0)
 
#define WLANNWCT_TIMEOUT_SEC   UINT32_C(180)
 

Typedefs

typedef unsigned long (WlanNetworkConnect_ScanInterval_T)
 
typedef void(* WlanNetworkConnect_Callback_T )(WlanNetworkConnect_Status_T connectStatus)
 
typedef enum
WlanNetworkConnect_IpStatus_E 
WlanNetworkConnect_IpStatus_T
 
typedef signed char * WlanNetworkConnect_PassPhrase_T
 
typedef enum
WlanNetworkConnect_PwrCtrl_E 
WlanNetworkConnect_PwrCtrl_T
 
typedef enum
WlanNetworkConnect_Retcode_E 
WlanNetworkConnect_Retcode_T
 
typedef struct
WlanNetworkConnect_ScanInfo_S 
WlanNetworkConnect_ScanInfo_T
 
typedef struct
WlanNetworkConnect_ScanList_S 
WlanNetworkConnect_ScanList_T
 
typedef signed char * WlanNetworkConnect_SSID_T
 
typedef enum
WlanNetworkConnect_Status_E 
WlanNetworkConnect_Status_T
 
typedef signed char * WlanNetworkConnect_Username_T
 

Enumerations

enum  WlanNetworkConnect_IpStatus_E
 
enum  WlanNetworkConnect_PwrCtrl_E
 Enumeration to represent the different power modes. More...
 
enum  WlanNetworkConnect_Retcode_E
 Enumeration to represent the return codes of WLAN module. More...
 
enum  WlanNetworkConnect_Status_E
 

Functions

Retcode_T WlanNetworkConnect_DeInit (void)
 WLAN driver de-initialization function.
Performs memory deallocation, closes WLAN driver context and shuts down the hardware interfaces. More...
 
Retcode_T WlanNetworkConnect_DeleteAllProfiles (void)
 WLAN Delete All Profiles interface.
This function erases from memory all the stored profiles from WIFI Protected Setup functions. More...
 
Retcode_T WlanNetworkConnect_Disconnect (void)
 WLAN disconnect interface.
This function disconnects from the WLAN network.
Function is configurable in two ways: callback parameter is set to the address of the user function. More...
 
Retcode_T WlanNetworkConnect_EnterpriseWPA (WlanNetworkConnect_SSID_T connectSSID, WlanNetworkConnect_Username_T connectUsername, WlanNetworkConnect_PassPhrase_T connectPassPhrase)
 WLAN Connect to Enterprise WPA Network interface.
This function connects to an WPA2-PSK or WPA-PSK network.
Function is configurable in two ways: More...
 
uint8_t WlanNetworkConnect_GetInitStatus (void)
 Function to get the connection status.
This function return the connection status. More...
 
WlanNetworkConnect_IpStatus_T WlanNetworkConnect_GetIpStatus (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...
 
WlanNetworkConnect_Status_T WlanNetworkConnect_GetStatus (void)
 Function to get the connection status.
This function return the connection status. More...
 
Retcode_T WlanNetworkConnect_Init (WlanNetworkConnect_Callback_T callBack)
 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...
 
Retcode_T WlanNetworkConnect_Open (WlanNetworkConnect_SSID_T connectSSID)
 WLAN Connect to Open Network interface.
This function connects to an open network.
Function is configurable in two ways: More...
 
Retcode_T WlanNetworkConnect_PersonalWPA (WlanNetworkConnect_SSID_T connectSSID, WlanNetworkConnect_PassPhrase_T connectPass)
 WLAN Connect to Personal WPA Network interface.
This function connects to an WPA2-PSK or WPA-PSK network.
Function is configurable in two ways: More...
 
Retcode_T WlanNetworkConnect_PowerControl (WlanNetworkConnect_PwrCtrl_T mode, void *data)
 Wlan power control function. More...
 
Retcode_T WlanNetworkConnect_ScanNetworks (WlanNetworkConnect_ScanInterval_T scanInterval, WlanNetworkConnect_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...
 
Retcode_T WlanNetworkConnect_WEP_Open (WlanNetworkConnect_SSID_T connectSSID, WlanNetworkConnect_PassPhrase_T connectPass, uint8_t passPhraseLength)
 WLAN Connect to WEP Open Network interface.
This function connects to an WEP Open network.
Function is configurable in two ways: More...
 
Retcode_T WlanNetworkConnect_WPS_PBC (void)
 WLAN 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...
 
Retcode_T WlanNetworkConnect_WPS_PIN (void)
 WLAN Connect using WPS PIN interface.
This function connects to a network by using the Wi-Fi Protected Setup. The function is configured with the following enrollee PIN code: 35072317. This PIN must be entered in the router interface after calling the function.
Function is configurable in two ways: More...
 

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