Skip to content

Commit

Permalink
Updated the json and documentation for signal strength as string inst…
Browse files Browse the repository at this point in the history
…ead of integer (#43)

Co-authored-by: Karunakaran A <[email protected]>
  • Loading branch information
gururaajar and karuna2git authored Nov 26, 2024
1 parent d8aec54 commit c6c4485
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit c6c4485

Please sign in to comment.