Added all known solar config items and implemented 0xF9 telegram correctly

This commit is contained in:
hpanther
2020-11-14 22:50:32 +01:00
parent b8267d6782
commit d5fcc25f94
3 changed files with 116 additions and 38 deletions

View File

@@ -241,7 +241,7 @@ class EMSdevice {
// type IDs
static constexpr uint16_t EMS_TYPE_VERSION = 0x02; // type ID for Version information. Generic across all EMS devices.
static constexpr uint16_t EMS_TYPE_UBADevices = 0x07; // EMS connected devices
static constexpr uint16_t EMS_TYPE_RegRead = 0xF9; // EMS register read
static constexpr uint16_t EMS_TYPE_ParamCfg = 0xF9; // EMS parameter min/default/max/current
// device flags: The lower 4 bits hold the unique identifier, the upper 4 bits are used for specific flags
static constexpr uint8_t EMS_DEVICE_FLAG_NONE = 0;