Macros | Functions
AppController.h File Reference

Configuration header for the AppController.c file. More...

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

Macros

#define APP_MQTT_BROKER_HOST_PORT   UINT16_C(0)
 
#define APP_MQTT_BROKER_HOST_URL   "YourBrokerHostIP"
 
#define APP_MQTT_CLIENT_ID   "XDK_MQTT_EXAMPLE"
 
#define APP_MQTT_DATA_PUBLISH_PERIODICITY   UINT32_C(1000)
 
#define APP_MQTT_SECURE_ENABLE   0
 
#define APP_MQTT_TOPIC   "BCDS/XDK110/example/out"
 
#define SNTP_SERVER_PORT   UINT16_C(123)
 
#define SNTP_SERVER_URL   "YourSNTPServerURL"
 
#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   false
 

Functions

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

Macro Definition Documentation

#define APP_MQTT_BROKER_HOST_PORT   UINT16_C(0)

APP_MQTT_BROKER_HOST_PORT is the MQTT broker host port.

#define APP_MQTT_BROKER_HOST_URL   "YourBrokerHostIP"

APP_MQTT_BROKER_HOST_URL is the MQTT broker host address URL.

#define APP_MQTT_CLIENT_ID   "XDK_MQTT_EXAMPLE"

APP_MQTT_CLIENT_ID is the device name

#define APP_MQTT_DATA_PUBLISH_PERIODICITY   UINT32_C(1000)

APP_MQTT_DATA_PUBLISH_PERIODICITY is time for MQTT to publish the sensor data

#define APP_MQTT_SECURE_ENABLE   0

APP_MQTT_SECURE_ENABLE is a macro to enable MQTT with security

#define APP_MQTT_TOPIC   "BCDS/XDK110/example/out"

APP_MQTT_TOPIC is the topic to subscribe and publish

#define SNTP_SERVER_PORT   UINT16_C(123)

SNTP_SERVER_PORT is the SNTP server port number.

#define SNTP_SERVER_URL   "YourSNTPServerURL"

SNTP_SERVER_URL is the SNTP server URL.

#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   false

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 Fri Oct 4 2019 03:46:54 by doxygen 1.8.8