From: Marko Saukko <marko.saukko@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH] SetProperty method and Powered property missing from modem-api doc.
Date: Tue, 20 Oct 2009 09:32:14 +0300 [thread overview]
Message-ID: <4ADD596E.2000909@gmail.com> (raw)
In-Reply-To: <200910191254.26955.denkenz@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 107 bytes --]
Hi,
Not sure what went wrong with the previous one. Here is a new patch (attached).
Regards,
Marko
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001--Added-SetProperty-method-and-Powered-property-to-m.patch --]
[-- Type: text/x-patch, Size: 1314 bytes --]
>From 9d2cee93324bd762e60211aa525653c47cc984a4 Mon Sep 17 00:00:00 2001
From: Marko Saukko <marko.saukko@gmail.com>
Date: Tue, 20 Oct 2009 09:25:38 +0300
Subject: [PATCH] - Added SetProperty method and Powered property to modem-api doc.
---
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
next prev parent reply other threads:[~2009-10-20 6:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 13:06 [PATCH] SetProperty method and Powered property missing from modem-api doc Marko Saukko
2009-10-19 17:54 ` Denis Kenzior
2009-10-20 6:32 ` Marko Saukko [this message]
2009-10-22 0:08 ` Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ADD596E.2000909@gmail.com \
--to=marko.saukko@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox