Skip to content

Commit

Permalink
feat: Update wifi signal event capability
Browse files Browse the repository at this point in the history
  • Loading branch information
alkalinecoffee committed Nov 25, 2024
1 parent 7736abe commit d5ad8a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements/specifications/networking/networking.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ This method **MUST** return the following properties:
| `currentValue` | `integer` | Current signal strength / RSSI value (in dBm) |
| `previousValue` | `integer` | Previous signal strength / RSSI value (in dBm) |

Access to this method **MUST** require the `use` role of the `xrn:firebolt:capability:network:onwifisignalstrengthchange` capability.
Access to this method **MUST** require the `use` role of the `xrn:firebolt:capability:network:wifistatus` capability.

```javascript
Network.onWifiSignalStrengthChange(10000)
Expand Down
2 changes: 1 addition & 1 deletion src/openrpc/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
{
"name": "capabilities",
"x-uses": [
"xrn:firebolt:capability:network:onwifisignalstrengthchange"
"xrn:firebolt:capability:network:wifistatus"
]
}
],
Expand Down
1 change: 0 additions & 1 deletion src/sdks/core/sdk.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@
"use": [
"xrn:firebolt:capability:network:interfaces",
"xrn:firebolt:capability:network:ipproperties",
"xrn:firebolt:capability:network:onwifisignalstrengthchange",
"xrn:firebolt:capability:network:status",
"xrn:firebolt:capability:network:wifistatus"
]
Expand Down

0 comments on commit d5ad8a8

Please sign in to comment.