add mesh example
This commit is contained in:
parent
62cab61fbb
commit
331825732e
5 changed files with 315 additions and 0 deletions
16
waterishos-gen2-mesh/data/credentials.h.example
Normal file
16
waterishos-gen2-mesh/data/credentials.h.example
Normal file
|
@ -0,0 +1,16 @@
|
|||
#define NETWORK_PASSWORD "network password"
|
||||
#define NETWORK_LIST { \
|
||||
WIFI_CONN("ssid 1", NETWORK_PASSWORD, NULL, 0), \
|
||||
WIFI_CONN("ssid 2", NETWORK_PASSWORD, NULL, 0), \
|
||||
NULL, \
|
||||
}
|
||||
#define MESH_PASSWORD "esp8266_sensor_mesh"
|
||||
#define MQTT_SERVER "MQTT Server IP Address"
|
||||
#define MQTT_PORT 1883
|
||||
|
||||
/* Only used if SSL is enabled */
|
||||
#define MESH_SECURE true
|
||||
#define MQTT_SECURE false
|
||||
#define MQTT_FINGERPRINT NULL
|
||||
//const uint8_t MQTT_FINGERPRINT[] = {0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xaa,0xbb,0xcc,0xdd,0xee,0xff,0x00,0x11,0x22,0x33};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue