MQTT Communication
Smart Factory
CommunicationConfiguration.h File Reference

file that contains the default communication configuration More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEFAULT_WIFI_SSID   "DigitalLab"
 SSID to connect to. More...
 
#define DEFAULT_WIFI_PASSWORD   "digital42HSR"
 Password to corresponding SSID. More...
 
#define DEFAULT_WIFI_CS   8
 Chipselct pin. More...
 
#define DEFAULT_WIFI_IRQ   7
 Interrupt pin. More...
 
#define DEFAULT_WIFI_RST   4
 Reset pin. More...
 
#define DEFAULT_WIFI_EN   2
 Enable pin. More...
 
#define DEFAULT_MQTT_BROKER_IP1   192
 broker IP distributed in 4 values More...
 
#define DEFAULT_MQTT_BROKER_IP2   168
 broker IP distributed in 4 values More...
 
#define DEFAULT_MQTT_BROKER_IP3   1
 broker IP distributed in 4 values More...
 
#define DEFAULT_MQTT_BROKER_IP4   22
 broker IP distributed in 4 values More...
 
#define DEFAULT_MQTT_PORT   1883
 MQTT connection port. More...
 
#define MAX_JSON_PARSE_SIZE   300
 max buffer size to parse JSON objects, size of the pool in bytes, can be calculated in https://arduinojson.org/v5/assistant/ More...
 
#define MAX_JSON_MESSAGES_SAVED   20
 max num of saved JSON items, must be smaller than num of vehicles! More...
 

Detailed Description

file that contains the default communication configuration

Author
Luca Mazzoleni (luca..nosp@m.mazz.nosp@m.oleni.nosp@m.@hsr.nosp@m..ch)
Version
1.0 - BA FS19 - Luca Mazzoleni (luca..nosp@m.mazz.nosp@m.oleni.nosp@m.@hsr.nosp@m..ch) - 03.06.2019
Date
2019-03-07
Todo:
Switch Password to .ini file
https://community.platformio.org/t/how-to-specify-ota-upload-password-outside-platformio-ini/3588
http://docs.platformio.org/en/latest/envvars.html#building

Definition in file CommunicationConfiguration.h.

Macro Definition Documentation

◆ DEFAULT_MQTT_BROKER_IP1

#define DEFAULT_MQTT_BROKER_IP1   192

broker IP distributed in 4 values

Definition at line 34 of file CommunicationConfiguration.h.

◆ DEFAULT_MQTT_BROKER_IP2

#define DEFAULT_MQTT_BROKER_IP2   168

broker IP distributed in 4 values

Definition at line 35 of file CommunicationConfiguration.h.

◆ DEFAULT_MQTT_BROKER_IP3

#define DEFAULT_MQTT_BROKER_IP3   1

broker IP distributed in 4 values

Definition at line 36 of file CommunicationConfiguration.h.

◆ DEFAULT_MQTT_BROKER_IP4

#define DEFAULT_MQTT_BROKER_IP4   22

broker IP distributed in 4 values

Definition at line 37 of file CommunicationConfiguration.h.

◆ DEFAULT_MQTT_PORT

#define DEFAULT_MQTT_PORT   1883

MQTT connection port.

Definition at line 38 of file CommunicationConfiguration.h.

◆ DEFAULT_WIFI_CS

#define DEFAULT_WIFI_CS   8

Chipselct pin.

Definition at line 27 of file CommunicationConfiguration.h.

◆ DEFAULT_WIFI_EN

#define DEFAULT_WIFI_EN   2

Enable pin.

Definition at line 30 of file CommunicationConfiguration.h.

◆ DEFAULT_WIFI_IRQ

#define DEFAULT_WIFI_IRQ   7

Interrupt pin.

Definition at line 28 of file CommunicationConfiguration.h.

◆ DEFAULT_WIFI_PASSWORD

#define DEFAULT_WIFI_PASSWORD   "digital42HSR"

Password to corresponding SSID.

Definition at line 24 of file CommunicationConfiguration.h.

◆ DEFAULT_WIFI_RST

#define DEFAULT_WIFI_RST   4

Reset pin.

Definition at line 29 of file CommunicationConfiguration.h.

◆ DEFAULT_WIFI_SSID

#define DEFAULT_WIFI_SSID   "DigitalLab"

SSID to connect to.

Definition at line 23 of file CommunicationConfiguration.h.

◆ MAX_JSON_MESSAGES_SAVED

#define MAX_JSON_MESSAGES_SAVED   20

max num of saved JSON items, must be smaller than num of vehicles!

Definition at line 42 of file CommunicationConfiguration.h.

◆ MAX_JSON_PARSE_SIZE

#define MAX_JSON_PARSE_SIZE   300

max buffer size to parse JSON objects, size of the pool in bytes, can be calculated in https://arduinojson.org/v5/assistant/

Definition at line 41 of file CommunicationConfiguration.h.