Files
Bachelorarbeit-Rover/include/networkConfig.h
T
kleiax 73fde34e48 - fix ntripClient
- fix gyroscope
- fix init screen
2024-07-19 12:15:44 +02:00

90 lines
2.1 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[] = "Nubsi";
const char password[] = "12345677";
const char ip[] = "192.168.72.7";
const char subnet[] = "255.255.255.0";
const char gateway[] = "192.168.72.228";
const char dns[] = "8.8.8.8";
const bool mqtt = false;
}
#endif // HOTSPOT
#ifdef HW1
namespace NetworkConfig
{
const char ssid[] = "hw1_gast";
const char password[] = "KeineAhnung";
const char ip[] = "192.168.0.4";
const char subnet[] = "255.255.255.0";
const char gateway[] = "192.168.0.1";
const char dns[] = "8.8.8.8";
const bool mqtt = false;
}
#endif // HW1
// 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
#ifdef ZUHAUSE
namespace NetworkConfig
{
const char ssid[] = "Tuedelkram";
const char password[] = "3!Kaesehoch";
const char ip[] = "192.168.178.11";
const char subnet[] = "255.255.255.0";
const char gateway[] = "192.168.178.1";
const char dns[] = "8.8.8.8";
const bool mqtt = false;
}
#endif // ZUHAUSE
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";
}