Files
Bachelorarbeit-Rover/include/networkConfig.h
T
kleiax 38e7db7dee - added batteryCalibration
- start with default Menus for DriveModes
2023-09-27 11:11:39 +02:00

60 lines
1.5 KiB
C++

/**
* @file networkConfig.h
* @author Alexander Klein (alex@kleiax.de)
* @brief Contains the settings for the Network class
*
* With different defines the location can be choosen.
*
* @version 0.1
* @date 2022-02-15
*
* @copyright Copyright (c) 2022
*
*/
#include <stdint.h>
#define HOTSPOT
#ifdef HOTSPOT
namespace NetworkConfig {
const char ssid[] = "Kleiax Handy";
const char password[] = "12345677";
const char ip[] = "192.168.43.4";
const char subnet[] = "255.255.255.0";
const char gateway[] = "192.168.43.1";
const char dns[] = "8.8.8.8";
const bool mqtt = false;
}
#endif //HOTSPOT
//Network config Rhede
#ifdef RHEDE
namespace NetworkConfig {
const char ssid[] = "LebennigHuus";
const char password[] = "Punica-699";
const char ip[] = "192.168.11.4";
const char subnet[] = "255.255.128.0";
const char gateway[] = "192.168.0.1";
const char dns[] = "8.8.8.8";
const bool mqtt = true;
}
#endif //RHEDE
namespace MqttConfig {
const char server[] = "192.168.1.7";
const uint16_t port = 1883;
const char user[] = "kleiax";
const char password[] = "p?{$_~5%hBM7wrcFkr55KWr#";
}
namespace NtripConfig {
const char host[] = "rtk2go.com";
const uint16_t port = 2101;
// const char mountPoint[] = "GER-Dortmund";
// const char mountPoint[] = "GER-Papenburg";
const char mountPoint[] = "Rtkramerntrip";
const char user[] = "alklein1@gmx.de";
const char password[] = "none";
}