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

[ChipTool] Get chip-tool to support number passed as 0x #10184

Conversation

vivien-apple
Copy link
Contributor

Problem

When passing a numeric argument to chip-tool it is sometimes convenient to pass the hex version instead of the decimal one; notably for node ids.

Change overview

  • Add support for 0x notation for numeric argument

Testing

Manually tested by passing some node id such as 12344321 and 0x12344321 with some extra logging to observe the change.

@tcarmelveilleux tcarmelveilleux merged commit e791c49 into project-chip:master Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants