mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
ESP32 Rx fixes - (v2) ESP8266 & ESP32 UART optimizations #398
This commit is contained in:
@@ -52,8 +52,6 @@ static constexpr uint8_t EMS_MAX_TELEGRAM_MESSAGE_LENGTH = 27; // max length of
|
||||
|
||||
namespace emsesp {
|
||||
|
||||
// creates a telegram
|
||||
// from Rx (receiving one) or Tx for preparing one for sending
|
||||
class Telegram {
|
||||
public:
|
||||
Telegram(const uint8_t operation,
|
||||
@@ -198,6 +196,8 @@ class RxService : public EMSbus {
|
||||
RxService() = default;
|
||||
~RxService() = default;
|
||||
|
||||
void loop();
|
||||
|
||||
void add(uint8_t * data, uint8_t length);
|
||||
|
||||
uint16_t telegram_count() const {
|
||||
|
||||
Reference in New Issue
Block a user