From c6c4485065fc91caf6ed8c1fd3a23e049e97fffa Mon Sep 17 00:00:00 2001 From: gururaajar <83449026+gururaajar@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:12:05 -0500 Subject: [PATCH] Updated the json and documentation for signal strength as string instead of integer (#43) Co-authored-by: Karunakaran A <48997923+karuna2git@users.noreply.github.com> --- NetworkManager.json | 4 ++-- docs/NetworkManagerPlugin.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NetworkManager.json b/NetworkManager.json index dec2b65e..d0cbde9e 100644 --- a/NetworkManager.json +++ b/NetworkManager.json @@ -1257,8 +1257,8 @@ }, "quality":{ "summary": "Signal strength Quality", - "type": "integer", - "example": 123 + "type": "string", + "example": "Excellent" }, "success":{ "$ref": "#/definitions/success" diff --git a/docs/NetworkManagerPlugin.md b/docs/NetworkManagerPlugin.md index 9713c84d..44c375b0 100644 --- a/docs/NetworkManagerPlugin.md +++ b/docs/NetworkManagerPlugin.md @@ -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 @@ -1674,7 +1674,7 @@ This method takes no parameters. "result": { "ssid": "123412341234", "strength": "-27.000000", - "quality": 123, + "quality": "Excellent", "success": true } }