Skip to content

Commit

Permalink
add tag EMS_MANUAL_CHARGE_ENERGY
Browse files Browse the repository at this point in the history
  • Loading branch information
spali committed Apr 25, 2024
1 parent e00fe0e commit 9ee4bc6
Show file tree
Hide file tree
Showing 3 changed files with 6,989 additions and 6,985 deletions.
1 change: 1 addition & 0 deletions rscp/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ const (
EMS_SETTINGS_CHANGE_MARKER Tag = 0x0180008D
EMS_REQ_GET_MANUAL_CHARGE Tag = 0x0100008E
EMS_GET_MANUAL_CHARGE Tag = 0x0180008E
EMS_MANUAL_CHARGE_ENERGY Tag = 0x0100003E // Tag does not exist in any known source, name is a guess (@docolli)
EMS_MANUAL_CHARGE_START_COUNTER Tag = 0x01000150
EMS_MANUAL_CHARGE_ACTIVE Tag = 0x01000151
EMS_MANUAL_CHARGE_ENERGY_COUNTER Tag = 0x01000152
Expand Down
7 changes: 4 additions & 3 deletions rscp/tag_datatype.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@ var dataTypeMap = map[Tag]DataType{
EMS_DISCHARGE_START_POWER: Uint32,
EMS_POWERSAVE_ENABLED: Bool,
EMS_WEATHER_REGULATED_CHARGE_ENABLED: Bool,
EMS_WEATHER_FORECAST_MODE: Int32, // undocumented
EMS_RES_WEATHER_FORECAST_MODE: Int32, // undocumented
EMS_MANUAL_CHARGE_START_COUNTER: Int64, // documented as Uint32, but got Int64
EMS_WEATHER_FORECAST_MODE: Int32, // undocumented
EMS_RES_WEATHER_FORECAST_MODE: Int32, // undocumented
EMS_MANUAL_CHARGE_ENERGY: Uint32, // undocumented
EMS_MANUAL_CHARGE_START_COUNTER: Int64, // documented as Uint32, but got Int64
EMS_MANUAL_CHARGE_ACTIVE: Bool,
EMS_MANUAL_CHARGE_ENERGY_COUNTER: Double64, // documented as Uint32, but got Int64
EMS_MANUAL_CHARGE_LASTSTART: Timestamp,
Expand Down
13,966 changes: 6,984 additions & 6,982 deletions rscp/tag_enumer.go

Large diffs are not rendered by default.

0 comments on commit 9ee4bc6

Please sign in to comment.