MQTT Communication
Smart Factory
myJSONStr Struct Reference

myJSON Struct defines the format of the messages More...

#include <myJSONStr.h>

Public Attributes

String id = "-1"
 Hostname. More...
 
String topic = "-1"
 MQTT topic. More...
 
String status = "-1"
 Status. More...
 
String sector = "-1"
 Sector. More...
 
int line = -1
 Line. More...
 
String ack = "-1"
 Acknoledgement. More...
 
String req = "-1"
 Request. More...
 
String cargo = "-1"
 Cargo. More...
 
bool token = false
 Gateway and Reset-token. More...
 
bool error = false
 Error-token. More...
 

Detailed Description

myJSON Struct defines the format of the messages

Definition at line 33 of file myJSONStr.h.

Member Data Documentation

◆ ack

String myJSONStr::ack = "-1"

Acknoledgement.

Definition at line 39 of file myJSONStr.h.

◆ cargo

String myJSONStr::cargo = "-1"

Cargo.

Definition at line 41 of file myJSONStr.h.

◆ error

bool myJSONStr::error = false

Error-token.

Definition at line 43 of file myJSONStr.h.

◆ id

String myJSONStr::id = "-1"

Hostname.

Definition at line 34 of file myJSONStr.h.

◆ line

int myJSONStr::line = -1

Line.

Definition at line 38 of file myJSONStr.h.

◆ req

String myJSONStr::req = "-1"

Request.

Definition at line 40 of file myJSONStr.h.

◆ sector

String myJSONStr::sector = "-1"

Sector.

Definition at line 37 of file myJSONStr.h.

◆ status

String myJSONStr::status = "-1"

Status.

Definition at line 36 of file myJSONStr.h.

◆ token

bool myJSONStr::token = false

Gateway and Reset-token.

Definition at line 42 of file myJSONStr.h.

◆ topic

String myJSONStr::topic = "-1"

MQTT topic.

Definition at line 35 of file myJSONStr.h.


The documentation for this struct was generated from the following file: