From 9f8834fc4f732acde2468a75ad2baba4e2e5e9bc Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 1 Jul 2020 19:59:20 +1200 Subject: [PATCH] dbus-send examples --- README_DBUS.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README_DBUS.md b/README_DBUS.md index 7bce7973..1a0da9ba 100644 --- a/README_DBUS.md +++ b/README_DBUS.md @@ -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. \ No newline at end of file +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}' +``` \ No newline at end of file