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 LWM2M_BINDING_DEFAULT   "U"
 
#define LWM2M_CON_NOTIFIES_DEFAULT   false
 
#define LWM2M_DEF_SERVER_DEFAULT   "coap://leshan.eclipse.org:5683"
 
#define LWM2M_DTLS_PSK_IDENTITY_DEFAULT   ""
 
#define LWM2M_DTLS_PSK_SECRET_KEY_DEFAULT   ""
 
#define LWM2M_DTLS_PSK_SECRET_KEY_HEX_DEFAULT   ""
 
#define LWM2M_ENDPOINT_NAME_DEFAULT   "lwm2m.xdk:#---MAC----#"
 
#define LWM2M_LIFETIME_DEFAULT   "240"
 
#define LWM2M_TEST_MODE_DEFAULT   "MIX"
 
#define SNTP_SERVER_PORT   UINT16_C(123)
 
#define SNTP_SERVER_URL   "0.de.pool.ntp.org"
 
#define WLAN_DNS_ADDR_DEFAULT   ""
 
#define WLAN_GW_ADDR_DEFAULT   ""
 
#define WLAN_IP_ADDR_DEFAULT   ""
 
#define WLAN_MASK_DEFAULT   ""
 
#define WLAN_PASSWORD_DEFAULT   "YourWifiPassword"
 
#define WLAN_SSID_DEFAULT   "YourWifiNetwork"
 
#define WLAN_STATIC_IP_DEFAULT   false
 

Functions

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

Macro Definition Documentation

#define LWM2M_BINDING_DEFAULT   "U"
#define LWM2M_CON_NOTIFIES_DEFAULT   false
#define LWM2M_DEF_SERVER_DEFAULT   "coap://leshan.eclipse.org:5683"

using standard CoAP ports unsecure 5683 secure 5684, giving an appending port will override

#define LWM2M_DTLS_PSK_IDENTITY_DEFAULT   ""

DTLS/PSK default identity

#define LWM2M_DTLS_PSK_SECRET_KEY_DEFAULT   ""
#define LWM2M_DTLS_PSK_SECRET_KEY_HEX_DEFAULT   ""

DTLS/PSK default secret key hexadecimal

#define LWM2M_ENDPOINT_NAME_DEFAULT   "lwm2m.xdk:#---MAC----#"

Macro to represent the lwm2m endpoint name. Magic #*# is replaced by MAC

#define LWM2M_LIFETIME_DEFAULT   "240"

Macro to represent the default lifetime in s.

#define LWM2M_TEST_MODE_DEFAULT   "MIX"
#define SNTP_SERVER_PORT   UINT16_C(123)

SNTP_SERVER_PORT is the SNTP server port number.

#define SNTP_SERVER_URL   "0.de.pool.ntp.org"

SNTP_SERVER_URL is the SNTP server URL.

#define WLAN_DNS_ADDR_DEFAULT   ""

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

#define WLAN_GW_ADDR_DEFAULT   ""

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

#define WLAN_IP_ADDR_DEFAULT   ""

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

#define WLAN_MASK_DEFAULT   ""

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

#define WLAN_PASSWORD_DEFAULT   "YourWifiPassword"

WLAN_PASSWORD_DEFAULT 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_DEFAULT   "YourWifiNetwork"

WLAN_SSID_DEFAULT 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_DEFAULT   false

WLAN_STATIC_IP_DEFAULT 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