mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 05:13:31 +02:00
Fix rf_bridge send and receive (#1180)
* Fix rf_bridge send and receive * rf_bridge clang-format changes * rf_bridge pased data bug fix * rf_bridge logvv included for parsed data
This commit is contained in:
committed by
GitHub
parent
10e411f8c1
commit
f29622abe1
@@ -45,10 +45,10 @@ class RFBridgeComponent : public uart::UARTDevice, public Component {
|
||||
protected:
|
||||
void ack_();
|
||||
void decode_();
|
||||
bool parse_bridge_byte_(uint8_t byte);
|
||||
|
||||
unsigned long last_ = 0;
|
||||
unsigned char uartbuf_[RF_MESSAGE_SIZE + 3] = {0};
|
||||
unsigned char uartpos_ = 0;
|
||||
std::vector<uint8_t> rx_buffer_;
|
||||
uint32_t last_bridge_byte_{0};
|
||||
|
||||
CallbackManager<void(RFBridgeData)> callback_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user