aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2010-11-18 00:00:53 -0200
committerDenis Kenzior <denkenz@gmail.com>2010-11-22 08:22:43 -0600
commita3d9bd9d648315013ef591b669e2f4541f28d84e (patch)
treedde5718cc06cd9625be1add8955fa0c11edab9dc
parent8b2bd0a2067489c77942e5c4bd17f956dd3d62ca (diff)
downloadphonesim-a3d9bd9d648315013ef591b669e2f4541f28d84e.tar.gz
Add responses for TTY commands
-rw-r--r--src/default.xml16
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 -->