Skip to content

ZAP can't generate correct default values for string type attributes with a numeric value assigned #1504

Open
@fessehaeve

Description

ZAP can't generate correct default values for string type attributes with a numeric value assigned

Example

ZAP content:

          {
            "name": "UserActiveModeTriggerInstruction",
            "code": 7,
            "mfgCode": null,
            "side": "server",
            "type": "char_string",
            "included": 1,
            "storageOption": "RAM",
            "singleton": 0,
            "bounded": 0,
            "defaultValue": "7",
            "reportable": 1,
            "minInterval": 1,
            "maxInterval": 65534,
            "reportableChange": 0
          },

Generated output:

\
  /* 16 - UserActiveModeTriggerInstruction, */\
  0x00,  0x7,\
\

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions