read command checks device id - #184

This commit is contained in:
proddy
2021-11-07 13:50:39 +01:00
parent d20741c0f0
commit ea550b1656
3 changed files with 22 additions and 3 deletions

View File

@@ -212,6 +212,7 @@ class EMSESP {
static void fetch_device_values(const uint8_t device_id = 0);
static void fetch_device_values_type(const uint8_t device_type);
static bool valid_device(const uint8_t device_id);
static bool add_device(const uint8_t device_id, const uint8_t product_id, std::string & version, const uint8_t brand);
static void scan_devices();