<commit_before>#pragma once

#include <ESP8266WiFi.h>

namespace HomieInternals {
  const char HOMIE_VERSION[] = "2.0.0";
  const char HOMIE_ESP8266_VERSION[] = "2.0.0";

  const IPAddress ACCESS_POINT_IP(192, 168, 1, 1);

  const uint16_t DEFAULT_MQTT_PORT = 1883;
  const char DEFAULT_MQTT_BASE_TOPIC[] = "devices/";

  const uint8_t DEFAULT_RESET_PIN = 0;  // == D3 on nodeMCU
  const uint8_t DEFAULT_RESET_STATE = LOW;
  const uint16_t DEFAULT_RESET_TIME = 5 * 1000;

  const char DEFAULT_BRAND[] = "Homie";
  const char DEFAULT_FW_NAME[] = "undefined";
  const char DEFAULT_FW_VERSION[] = "undefined";

  const uint16_t CONFIG_SCAN_INTERVAL = 20 * 1000;
  const uint32_t SIGNAL_QUALITY_SEND_INTERVAL = 5 * 60 * 1000;
  const uint32_t UPTIME_SEND_INTERVAL = 2 * 60 * 1000;

  const float LED_WIFI_DELAY = 1;
  const float LED_MQTT_DELAY = 0.2;

  const char CONFIG_UI_BUNDLE_PATH[] = "/homie/ui_bundle.gz";
  const char CONFIG_BYPASS_STANDALONE_FILE_PATH[] = "/homie/BYPASS_STANDALONE";
  const char CONFIG_FILE_PATH[] = "/homie/config.json";

  enum BootMode : uint8_t {
    BOOT_STANDALONE = 1,
    BOOT_NORMAL,
    BOOT_CONFIG
  };
}  // namespace HomieInternals
<commit_msg>Change default base topic to homie/<commit_after>#pragma once

#include <ESP8266WiFi.h>

namespace HomieInternals {
  const char HOMIE_VERSION[] = "2.0.0";
  const char HOMIE_ESP8266_VERSION[] = "2.0.0";

  const IPAddress ACCESS_POINT_IP(192, 168, 1, 1);

  const uint16_t DEFAULT_MQTT_PORT = 1883;
  const char DEFAULT_MQTT_BASE_TOPIC[] = "homie/";

  const uint8_t DEFAULT_RESET_PIN = 0;  // == D3 on nodeMCU
  const uint8_t DEFAULT_RESET_STATE = LOW;
  const uint16_t DEFAULT_RESET_TIME = 5 * 1000;

  const char DEFAULT_BRAND[] = "Homie";
  const char DEFAULT_FW_NAME[] = "undefined";
  const char DEFAULT_FW_VERSION[] = "undefined";

  const uint16_t CONFIG_SCAN_INTERVAL = 20 * 1000;
  const uint32_t SIGNAL_QUALITY_SEND_INTERVAL = 5 * 60 * 1000;
  const uint32_t UPTIME_SEND_INTERVAL = 2 * 60 * 1000;

  const float LED_WIFI_DELAY = 1;
  const float LED_MQTT_DELAY = 0.2;

  const char CONFIG_UI_BUNDLE_PATH[] = "/homie/ui_bundle.gz";
  const char CONFIG_BYPASS_STANDALONE_FILE_PATH[] = "/homie/BYPASS_STANDALONE";
  const char CONFIG_FILE_PATH[] = "/homie/config.json";

  enum BootMode : uint8_t {
    BOOT_STANDALONE = 1,
    BOOT_NORMAL,
    BOOT_CONFIG
  };
}  // namespace HomieInternals

{'fraction_non_alphanumeric': 0.10192953020134228, 'fraction_numerical': 0.0587248322147651, 'mean_word_length': 4.3355704697986575, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4857512', 'n_tokens_mistral': 1031, 'n_tokens_neox': 906, 'n_words': 209}