summaryrefslogtreecommitdiffstats
path: root/doc/text-telephony-api.txt
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2010-11-25 15:41:58 -0200
committerDenis Kenzior <denkenz@gmail.com>2010-11-26 13:08:48 -0600
commitf41d00f332aa5858ccc9b9190a37551c55fc1cd3 (patch)
tree874fd59f357622da5ee28fac7c045c3f87068484 /doc/text-telephony-api.txt
parentdf2984a72416c8f32d327afbe7c2c4047a64dc9d (diff)
downloadofono-f41d00f332aa5858ccc9b9190a37551c55fc1cd3.tar.bz2
ctm: add documentation for TextTelephony interface
Diffstat (limited to 'doc/text-telephony-api.txt')
-rw-r--r--doc/text-telephony-api.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/text-telephony-api.txt b/doc/text-telephony-api.txt
new file mode 100644
index 00000000..3fa7942b
--- /dev/null
+++ b/doc/text-telephony-api.txt
@@ -0,0 +1,39 @@
+Text Telephony hierarchy
+========================
+
+Service org.ofono
+Interface org.ofono.TextTelephony
+Object path [variable prefix]/{modem0,modem1,...}
+
+Methods dict GetProperties()
+
+ Returns all Text Telephony properties. See the
+ properties section for available properties.
+
+ Possible Errors: [service].Error.InProgress
+ [service].Error.Failed
+
+ 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.InProgress
+ [service].Error.Failed
+
+Signals PropertyChanged(string property, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties boolean Powered [readwrite]
+
+ This property will enable or disable the text
+ telephony feature in the modem.
+
+ Text telephony (TTY), also known as Cellular Text Modem
+ (CTM), is a feature present in some modems that allow
+ them to be used by hearing impaired people.