XDK API  3.6.0
Documentation
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_TOPIC   "BCDS/XDK110/example/out"
 
#define APP_USE_CONFIG_FILE   true
 
#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_TOPIC   "BCDS/XDK110/example/out"

APP_MQTT_TOPIC is the topic to subscribe and publish

#define APP_USE_CONFIG_FILE   true

APP_USE_CONFIG_FILE is a boolean to control the application if it is to use config file from Memory or not. If disabled (set as "false"), then the configuration in this file is used. If enabled (set as "true") then the memory is looked for config file.

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


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