-
Notifications
You must be signed in to change notification settings - Fork 402
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
wash: Adding a descriptive array of the enabled WPS configuration methods to json output #243
Comments
i've stated on several occasions that the existing json output will not be modified (apart from eventually adding new field), so users of it have the guarantee that their scripts (consuming the json) will keep working. it's trivial to add code in your script that parses the raw config methods. we could provide a tiny filter tool (in tools/) which takes the default wash output and modifies into the form suggested by you: |
what is suggested here is adding a new field "wps_config_methods_str", I am well aware that there should not be any modification to existing fields |
PR welcome |
This already exists in wash 1.6.5-git-1-g140507a |
yes "wps_config_methods" is there, but that is not what this is about, it is about adding another field "wps_config_methods_str" that shows the enabled wps config method names instead of just the hex value to make things easier to understand |
What are your thoughts about adding an easier method to output the WPS configuration methods in json,
for example
"wps_config_methods": "2084", "wps_config_methods_str": ["Label", "Push Button", "Virtual Display"],
according to Wireshark the bit values for the WPS configuration methods are
The text was updated successfully, but these errors were encountered: