mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-10 01:39:54 +03:00
fix typo
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
SIGN_IN_ENDPOINT /*
|
/*
|
||||||
* EMS-ESP - https://github.com/emsesp/EMS-ESP
|
* EMS-ESP - https://github.com/emsesp/EMS-ESP
|
||||||
* Copyright 2020-2023 Paul Derbyshire
|
* Copyright 2020-2023 Paul Derbyshire
|
||||||
*
|
*
|
||||||
@@ -20,28 +20,28 @@ SIGN_IN_ENDPOINT /*
|
|||||||
|
|
||||||
#include "emsesp.h"
|
#include "emsesp.h"
|
||||||
|
|
||||||
namespace emsesp {
|
namespace emsesp {
|
||||||
|
|
||||||
class Roomctrl {
|
class Roomctrl {
|
||||||
public:
|
public:
|
||||||
static void send(const uint8_t addr);
|
static void send(const uint8_t addr);
|
||||||
static void check(const uint8_t addr, const uint8_t * data);
|
static void check(const uint8_t addr, const uint8_t * data);
|
||||||
static void set_remotetemp(const uint8_t hc, const int16_t temp);
|
static void set_remotetemp(const uint8_t hc, const int16_t temp);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static constexpr uint8_t ADDR = 0x18;
|
static constexpr uint8_t ADDR = 0x18;
|
||||||
static constexpr uint32_t SEND_INTERVAL = 60000; // 1 minute
|
static constexpr uint32_t SEND_INTERVAL = 60000; // 1 minute
|
||||||
static constexpr uint8_t HCS = 4; // max 4 heating circuits
|
static constexpr uint8_t HCS = 4; // max 4 heating circuits
|
||||||
|
|
||||||
static void version(uint8_t addr, uint8_t dst);
|
static void version(uint8_t addr, uint8_t dst);
|
||||||
static void unknown(uint8_t addr, uint8_t dst, uint8_t type, uint8_t offset);
|
static void unknown(uint8_t addr, uint8_t dst, uint8_t type, uint8_t offset);
|
||||||
static void temperature(uint8_t addr, uint8_t dst);
|
static void temperature(uint8_t addr, uint8_t dst);
|
||||||
static void nack_write();
|
static void nack_write();
|
||||||
|
|
||||||
static bool switch_off_[HCS];
|
static bool switch_off_[HCS];
|
||||||
static uint32_t rc_time_[HCS];
|
static uint32_t rc_time_[HCS];
|
||||||
static int16_t remotetemp_[HCS];
|
static int16_t remotetemp_[HCS];
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace emsesp
|
} // namespace emsesp
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user