Microchip® Advanced Software Framework

main.h File Reference

MAIN configuration.

Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define MAIN_CHAT_BUFFER_SIZE   64
 
#define MAIN_CHAT_TOPIC   "/atmel/sample/chat_demo/"
 
#define MAIN_CHAT_USER_NAME_SIZE   64
 
#define MAIN_MQTT_BUFFER_SIZE   512
 
#define MAIN_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /* < Security manner */
 
#define MAIN_WLAN_PSK   "password" /* < Password for Destination SSID */
 
#define MAIN_WLAN_SSID   "Niranjan's iPhone" /* < Destination SSID */
 Wi-Fi Settings. More...
 

Variables

static const char main_mqtt_broker [] = "m2m.eclipse.org"
 

#define MAIN_CHAT_BUFFER_SIZE   64
#define MAIN_CHAT_TOPIC   "/atmel/sample/chat_demo/"

Referenced by main(), and mqtt_callback().

#define MAIN_CHAT_USER_NAME_SIZE   64

Referenced by main().

#define MAIN_MQTT_BUFFER_SIZE   512

Referenced by configure_mqtt().

#define MAIN_WLAN_AUTH   M2M_WIFI_SEC_WPA_PSK /* < Security manner */

Referenced by main(), and wifi_callback().

#define MAIN_WLAN_PSK   "password" /* < Password for Destination SSID */

Referenced by main(), and wifi_callback().

#define MAIN_WLAN_SSID   "Niranjan's iPhone" /* < Destination SSID */

Wi-Fi Settings.

Referenced by main(), and wifi_callback().

const char main_mqtt_broker[] = "m2m.eclipse.org"
static

Referenced by mqtt_callback(), and wifi_callback().