add sendTo method, cleanup

This commit is contained in:
2018-06-12 23:23:27 +02:00
parent 03bb24d6c7
commit 306b0b59d8
6 changed files with 76 additions and 59 deletions

View File

@@ -10,14 +10,14 @@
#define STARTUP_DELAY 3000
// Mesh config
#define STATION_MODE 1
#define STATION_MODE 0
#define WIFI_CHANNEL 11
#define MESH_PORT 5555
#define MESH_PREFIX "whateverYouLike"
#define MESH_PASSWORD "somethingSneaky"
#define STATION_SSID "Th1ngs4P"
#define STATION_PASSWORD "th3r31sn0sp00n"
#define HOSTNAME "mqtt-mesh-bridge"
#define HOSTNAME "mesh-node"
#define MESH_DEBUG_TYPES ERROR | STARTUP | CONNECTION
#endif