All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add responses for TTY commands
@ 2010-11-18  2:00 Lucas De Marchi
  2010-11-22 14:23 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas De Marchi @ 2010-11-18  2:00 UTC (permalink / raw)
  To: ofono

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

---
 src/default.xml |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/default.xml b/src/default.xml
index e16e18d..216b2b8 100644
--- a/src/default.xml
+++ b/src/default.xml
@@ -301,6 +301,9 @@
     <!-- CGSMS Bearer control -->
     <set name="CGSMS" value="3"/>
 
+    <!-- TTY (hearing impared) state -->
+    <set name="PTTY" value="1" />
+
 <!-- Time -->
 <!-- Enable for testing
 <unsolicited delay="3000" once="true">*TTZ: 2, "11/25/2007, 12:12:12+40", 0</unsolicited>
@@ -3207,6 +3210,19 @@ Z
 OK</response>
 </chat>
 
+<chat>
+    <!-- Set TTY (hearing impaired) set -->
+    <command>AT+PTTY=*</command>
+    <response>OK</response>
+    <set name="PTTY" value="*"/>
+</chat>
+
+<chat>
+    <!-- Query TTY (hearing impaired) state -->
+    <command>AT+PTTY?</command>
+    <response>+PTTY: ${PTTY}\n\nOK</response>
+</chat>
+
 <!-- SIM filesystem definition, based on standard test strings
      presented in GSM 11.10-4.  This is primarily intended for
      testing icon definitions within SIM toolkit applications -->
-- 
1.7.3.2


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

end of thread, other threads:[~2010-11-22 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-18  2:00 [PATCH] Add responses for TTY commands Lucas De Marchi
2010-11-22 14:23 ` 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.