AllWize Library
Macros | Variables
configuration.sample.h File Reference

Go to the source code of this file.

Macros

#define DEBUG_SERIAL   Serial
 
#define WIFI_SSID   "..."
 
#define WIFI_PASSWORD   "..."
 
#define RESET_PIN   14
 
#define RX_PIN   5
 
#define TX_PIN   4
 
#define WIZE_CHANNEL   CHANNEL_04
 
#define WIZE_POWER   POWER_20dBm
 
#define WIZE_DATARATE   DATARATE_2400bps
 
#define MQTT_HOST   "mqtt.thethings.io"
 
#define MQTT_PORT   1883
 
#define MQTT_QOS   2
 
#define MQTT_RETAIN   0
 
#define MQTT_TOPIC   "v2/things/%s"
 

Variables

const char THETHINGSIO_CONFIG []
 

Macro Definition Documentation

◆ DEBUG_SERIAL

#define DEBUG_SERIAL   Serial

Definition at line 13 of file configuration.sample.h.

◆ MQTT_HOST

#define MQTT_HOST   "mqtt.thethings.io"

Definition at line 42 of file configuration.sample.h.

◆ MQTT_PORT

#define MQTT_PORT   1883

Definition at line 43 of file configuration.sample.h.

◆ MQTT_QOS

#define MQTT_QOS   2

Definition at line 44 of file configuration.sample.h.

◆ MQTT_RETAIN

#define MQTT_RETAIN   0

Definition at line 45 of file configuration.sample.h.

◆ MQTT_TOPIC

#define MQTT_TOPIC   "v2/things/%s"

Definition at line 46 of file configuration.sample.h.

◆ RESET_PIN

#define RESET_PIN   14

Definition at line 26 of file configuration.sample.h.

◆ RX_PIN

#define RX_PIN   5

Definition at line 27 of file configuration.sample.h.

◆ TX_PIN

#define TX_PIN   4

Definition at line 28 of file configuration.sample.h.

◆ WIFI_PASSWORD

#define WIFI_PASSWORD   "..."

Definition at line 20 of file configuration.sample.h.

◆ WIFI_SSID

#define WIFI_SSID   "..."

Definition at line 19 of file configuration.sample.h.

◆ WIZE_CHANNEL

#define WIZE_CHANNEL   CHANNEL_04

Definition at line 34 of file configuration.sample.h.

◆ WIZE_DATARATE

#define WIZE_DATARATE   DATARATE_2400bps

Definition at line 36 of file configuration.sample.h.

◆ WIZE_POWER

#define WIZE_POWER   POWER_20dBm

Definition at line 35 of file configuration.sample.h.

Variable Documentation

◆ THETHINGSIO_CONFIG

const char THETHINGSIO_CONFIG[]
Initial value:
= R"raw([
{"id": "1", "token": "...", "keys": ["co", "no2"] },
{"id": "8", "token": "...", "keys": ["temperature", "humidity"] }
])raw"

Definition at line 48 of file configuration.sample.h.