Macros | Functions
AppController.h File Reference
#include "XDK_Utils.h"
+ Include dependency graph for AppController.h:
+ This graph shows which files directly or indirectly include this file:

Macros

#define NCI_DHCP_MODE   (0)
 
#define SCAN_INTERVAL   (5)
 
#define WLAN_DNS_ADDR   XDK_NETWORK_IPV4(0, 0, 0, 0)
 
#define WLAN_GW_ADDR   XDK_NETWORK_IPV4(0, 0, 0, 0)
 
#define WLAN_IP_ADDR   XDK_NETWORK_IPV4(0, 0, 0, 0)
 
#define WLAN_MASK   XDK_NETWORK_IPV4(0, 0, 0, 0)
 
#define WLAN_PSK   "YourWifiPassword"
 
#define WLAN_SSID   "YourWifiNetwork"
 
#define WLAN_STATIC_IP   true
 

Functions

void AppController_Init (void *cmdProcessorHandle, uint32_t param2)
 Gives control to the Application controller. More...
 

Detailed Description

Configuration header for the WlanNetworkManagement module.

Macro Definition Documentation

#define NCI_DHCP_MODE   (0)

Depending on the configured mode, set :

  • 0 for static IP application applicable only when WLAN_STATIC_IP is set true
  • 1 for DHCP IP application with callback,
  • 2 for DHCP IP application without callback,
  • 3 for deactivate
#define SCAN_INTERVAL   (5)

SCAN_INTERVAL is the time interval between network scan.Time interval between network scan

#define WLAN_DNS_ADDR   XDK_NETWORK_IPV4(0, 0, 0, 0)

WLAN_DNS_ADDR is the WIFI router WPA/WPA2 static IPv4 DNS address (unused if WLAN_STATIC_IP is false) Make sure to update the WLAN_DNS_ADDR constant according to your required WIFI network, if WLAN_STATIC_IP is "true".

#define WLAN_GW_ADDR   XDK_NETWORK_IPV4(0, 0, 0, 0)

WLAN_GW_ADDR is the WIFI router WPA/WPA2 static IPv4 gateway address (unused if WLAN_STATIC_IP is false) Make sure to update the WLAN_GW_ADDR constant according to your required WIFI network, if WLAN_STATIC_IP is "true".

#define WLAN_IP_ADDR   XDK_NETWORK_IPV4(0, 0, 0, 0)

WLAN_IP_ADDR is the WIFI router WPA/WPA2 static IPv4 IP address (unused if WLAN_STATIC_IP is false) Make sure to update the WLAN_IP_ADDR constant according to your required WIFI network, if WLAN_STATIC_IP is "true".

#define WLAN_MASK   XDK_NETWORK_IPV4(0, 0, 0, 0)

WLAN_MASK is the WIFI router WPA/WPA2 static IPv4 mask address (unused if WLAN_STATIC_IP is false) Make sure to update the WLAN_MASK constant according to your required WIFI network, if WLAN_STATIC_IP is "true".

#define WLAN_PSK   "YourWifiPassword"

WLAN_PSK is the WIFI router WPA/WPA2 password used at the Wifi network connection. Make sure to update the WLAN_PSK constant according to your router password.

#define WLAN_SSID   "YourWifiNetwork"

WLAN_SSID is the WIFI network name where user wants connect the XDK device. Make sure to update the WLAN_PSK constant according to your required WIFI network.

#define WLAN_STATIC_IP   true

WLAN_STATIC_IP is a boolean. If "true" then static IP will be assigned and if "false" then DHCP is used.


This documentation file has been automatically generated on Wed May 6 2020 20:45:05 by doxygen 1.8.8