Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fessehaeve opened this issue Jan 13, 2025 · 1 comment
Milestone

Comments

@fessehaeve
Copy link

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,\
\
@brdandu
Copy link
Collaborator

brdandu commented Jan 13, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants