All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] doc: Add SmsManager API documentation.
@ 2010-03-15 20:17 =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita
  2010-03-16  2:21 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita @ 2010-03-15 20:17 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1672 bytes --]

---
 doc/sms-api.txt |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)
 create mode 100644 doc/sms-api.txt

diff --git a/doc/sms-api.txt b/doc/sms-api.txt
new file mode 100644
index 0000000..80de1db
--- /dev/null
+++ b/doc/sms-api.txt
@@ -0,0 +1,47 @@
+SmsManager hierarchy
+===============
+
+Service		org.ofono
+Interface	org.ofono.SmsManager
+Object path	[variable prefix]/{modem0,modem1,...}
+
+Methods		dict GetProperties()
+
+			Returns properties for the modem object. See
+			the properties section for available properties.
+
+			Possible Errors: [service].Error.InvalidArguments
+
+		void SetProperty(string name, 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
+
+		void SendMessage(string to, string text)
+
+			Send the message in text to the number in to.
+
+Signals		PropertyChanged(string name, variant value)
+
+			This signal indicates a changed value of the given
+			property.
+
+		ImmediateMessage(string message, dict info)
+
+			New immediate (class 0) SMS received. Info has Sender,
+			LocalSentTime, and SentTime information.
+
+		IncomingMessage(string message, dict info)
+
+
+			New incoming (class >= 1) SMS received. Info has Sender,
+			LocalSentTime, and SentTime information.
+
+Properties	string ServiceCenterAddress
+
+			Contains the number of the SMS service center.
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-16  2:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 20:17 [PATCH] doc: Add SmsManager API documentation =?unknown-8bit?q?Jo=C3=A3o?= Paulo Rechi Vita
2010-03-16  2:21 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.