MQTT Communication
Smart Factory
CommunicationConfiguration.h
Go to the documentation of this file.
1
19
#ifndef COMMUNICATIONCONFIGURATION_H
20
#define COMMUNICATIONCONFIGURATION_H
21
22
//=============WLAN CONNECTION==================================
23
#define DEFAULT_WIFI_SSID "DigitalLab"
24
#define DEFAULT_WIFI_PASSWORD "digital42HSR"
25
26
// Pins for Adafruit ATWINC1500 Feather https://learn.adafruit.com/adafruit-feather-m0-wifi-atwinc1500/using-the-wifi-module
27
#define DEFAULT_WIFI_CS 8
28
#define DEFAULT_WIFI_IRQ 7
29
#define DEFAULT_WIFI_RST 4
30
#define DEFAULT_WIFI_EN 2
31
32
//=============MQTT==================================
33
// * DEFAULT_MQTT_* are MQTT defaults
34
#define DEFAULT_MQTT_BROKER_IP1 192
35
#define DEFAULT_MQTT_BROKER_IP2 168
36
#define DEFAULT_MQTT_BROKER_IP3 1
37
#define DEFAULT_MQTT_BROKER_IP4 22
38
#define DEFAULT_MQTT_PORT 1883
39
40
//=============JSON==================================
41
#define MAX_JSON_PARSE_SIZE 300
42
#define MAX_JSON_MESSAGES_SAVED 20
43
44
#endif
src
CommunicationConfiguration.h
Generated by
1.8.15