[PATCH] - Added SetProperty method and Powered property to modem-api doc.
Marko Saukko
marko.saukko at gmail.com
Mon Oct 19 23:25:38 PDT 2009
---
doc/modem-api.txt | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/doc/modem-api.txt b/doc/modem-api.txt
index 3058880..06a4ada 100644
--- a/doc/modem-api.txt
+++ b/doc/modem-api.txt
@@ -12,12 +12,27 @@ Methods dict GetProperties()
Possible Errors: [service].Error.InvalidArguments
+ void SetProperty(string property, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as read-write are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
property.
-Properties string Manufacturer [readonly, optional]
+Properties boolean Powered [readwrite]
+
+ Boolean representing the power state of the modem
+ device.
+
+ string Manufacturer [readonly, optional]
String representing the manufacturer of the modem
device.
--
1.6.0.4
--------------040703010209060506050002--
More information about the ofono
mailing list