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

Updated the json and documentation for signal strength as string instead of integer #43

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions NetworkManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -1257,8 +1257,8 @@
},
"quality":{
"summary": "Signal strength Quality",
"type": "integer",
"example": 123
"type": "string",
"example": "Excellent"
},
"success":{
"$ref": "#/definitions/success"
Expand Down
4 changes: 2 additions & 2 deletions docs/NetworkManagerPlugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ This method takes no parameters.
| result | object | |
| result.ssid | string | The paired SSID |
| result.strength | string | The RSSI value in dBm |
| result.quality | integer | Signal strength Quality |
| result.quality | string | Signal strength Quality |
| result.success | boolean | Whether the request succeeded |

### Example
Expand All @@ -1674,7 +1674,7 @@ This method takes no parameters.
"result": {
"ssid": "123412341234",
"strength": "-27.000000",
"quality": 123,
"quality": "Excellent",
"success": true
}
}
Expand Down