mirror of
https://gitlab.com/wirelos/sprocket-lib.git
synced 2025-12-15 21:18:21 +01:00
28 lines
740 B
C
28 lines
740 B
C
#ifndef __MESH_CONFIG__
|
|
#define __MESH_CONFIG__
|
|
|
|
// Scheduler config
|
|
#define _TASK_SLEEP_ON_IDLE_RUN
|
|
#define _TASK_STD_FUNCTION
|
|
|
|
// Chip config
|
|
#define SERIAL_BAUD_RATE 115200
|
|
#define STARTUP_DELAY 3000
|
|
|
|
// Mesh config
|
|
#define STATION_MODE 1
|
|
#define WIFI_CHANNEL 11
|
|
#define MESH_PORT 5555
|
|
#define MESH_PREFIX "whateverYouLike"
|
|
#define MESH_PASSWORD "somethingSneaky"
|
|
#define STATION_SSID "tErAx1d"
|
|
#define STATION_PASSWORD "ramalamadingdong"
|
|
#define HOSTNAME "mesh-node"
|
|
#define MESH_DEBUG_TYPES ERROR | STARTUP
|
|
//ERROR | MESH_STATUS | CONNECTION | SYNC | COMMUNICATION | GENERAL | MSG_TYPES | REMOTE
|
|
|
|
// OTA config
|
|
#define OTA_PORT 8266
|
|
#define OTA_PASSWORD ""
|
|
|
|
#endif |