Microchip® Advanced Software Framework

common/components/wifi/winc1500/mqtt_chat_example/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 */
#define MAIN_WLAN_PSK   "password" /* < Password for Destination SSID */
#define MAIN_WLAN_SSID   "Niranjan's iPhone" /* < Destination SSID */

Wi-Fi Settings.

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

Referenced by mqtt_callback(), and wifi_callback().