mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 13:24:56 +02:00
Added response for Tuya RSSI command (#4549)
* Added wifi rssi util Added tuya mcu response to wifi rssi command * Cleanup * PR Comments * PR Comments
This commit is contained in:
committed by
GitHub
parent
a44e38300b
commit
ee7102fcd1
@@ -55,6 +55,7 @@ enum class TuyaCommandType : uint8_t {
|
||||
DATAPOINT_QUERY = 0x08,
|
||||
WIFI_TEST = 0x0E,
|
||||
LOCAL_TIME_QUERY = 0x1C,
|
||||
WIFI_RSSI = 0x24,
|
||||
VACUUM_MAP_UPLOAD = 0x28,
|
||||
GET_NETWORK_STATUS = 0x2B,
|
||||
};
|
||||
@@ -123,6 +124,7 @@ class Tuya : public Component, public uart::UARTDevice {
|
||||
void set_status_pin_();
|
||||
void send_wifi_status_();
|
||||
uint8_t get_wifi_status_code_();
|
||||
uint8_t get_wifi_rssi_();
|
||||
|
||||
#ifdef USE_TIME
|
||||
void send_local_time_();
|
||||
|
||||
Reference in New Issue
Block a user