dbus-send examples

This commit is contained in:
Luke
2020-07-01 19:59:20 +12:00
parent efe88aa675
commit 9f8834fc4f

View File

@@ -123,4 +123,14 @@ When emitted, it will include the integer the fan mode was changed to.
### ChargeLimitChanged
When emitted, it will include the integer the charging limit was changed to.
When emitted, it will include the integer the charging limit was changed to.
## dbus-send examples
```
dbus-send --system --type=method_call --dest=org.rogcore.Daemon /org/rogcore/Daemon org.rogcore.Daemon.SetKeyBacklight string:'{"Stable": {"colour": [ 80, 0, 40]}}'
```
```
dbus-send --system --type=method_call --dest=org.rogcore.Daemon /org/rogcore/Daemon org.rogcore.Daemon.SetKeyBacklight string:'{"LedBrightness":3}'
```