mirror of
https://github.com/H3ALY/Wireless-PC-Switch.git
synced 2025-12-19 18:28:22 +00:00
Create config.h
This commit is contained in:
committed by
GitHub
parent
81b60ce0cb
commit
f70e643b2e
19
config.h
Normal file
19
config.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#ifndef CONFIG_H
|
||||||
|
#define CONFIG_H
|
||||||
|
|
||||||
|
// Wi-Fi Settings
|
||||||
|
const char* ssid = "YOUR_WIRELESS_SSID";
|
||||||
|
const char* password = "YOUR_WIRELESS_PASSWORD";
|
||||||
|
|
||||||
|
// MQTT Settings
|
||||||
|
const char* mqtt_server = "YOUR_MQTT_SERVER_ADDRESS";
|
||||||
|
const int mqtt_port = 1883;
|
||||||
|
const char *mqtt_user = "YOUR_MQTT_USERNAME";
|
||||||
|
const char *mqtt_pass = "YOUR_MQTT_PASSWORD";
|
||||||
|
const char *mqtt_client_name = "YOUR_MQTT_CLIENT_NAME";
|
||||||
|
|
||||||
|
// OTA Settings
|
||||||
|
const char *ota_hostname = "YOUR_OTA_HOSTNAME";
|
||||||
|
const bool enable_ota = true;
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user