aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej Zaborowski <andrew.zaborowski@intel.com>2011-01-12 09:00:07 +0100
committerDenis Kenzior <denkenz@gmail.com>2011-01-12 17:08:41 -0600
commite5e310850e3e439e6712c152dfd08ec713dba7fc (patch)
tree38666afee263716d235d37515be0d2fee06b3fbe
parentd5f981834aa656121a6d0635ffef10130ec47930 (diff)
downloadphonesim-e5e310850e3e439e6712c152dfd08ec713dba7fc.tar.gz
phonesim: Add +CUAD command and EFdir EF.
Add +PTTY in +CLAC output too.
-rw-r--r--src/default.xml23
-rw-r--r--src/simfilesystem.cpp5
2 files changed, 28 insertions, 0 deletions
diff --git a/src/default.xml b/src/default.xml
index 4491705..393d950 100644
--- a/src/default.xml
+++ b/src/default.xml
@@ -3184,6 +3184,7 @@
+CMEE
+CMGF
+CMGS
++CUAD
+DR
+DS
+GCAP
@@ -3198,6 +3199,7 @@
+ILRR
+IPR
+FCLASS
++PTTY
+VBT
+VCID
+VGR
@@ -3259,6 +3261,20 @@ OK</response>
<response>+PTTY: ${PTTY}\n\nOK</response>
</chat>
+<chat>
+ <!-- Discover UICC applications -->
+ <!-- the response is in sync with the EFdir contents in the filesystem
+ definition below -->
+ <command>AT+CUAD</command>
+ <response>+CUAD: "611B4F10A0000000871002FFFFFFFF8905080000FFFFFFFFFFFFFFFFFFFFFFFFFF611F4F0CA000000063504B43532D313550094D49445066696C657351043F007F80"\n\nOK</response>
+</chat>
+
+<chat>
+ <!-- Query "Discover UICC applications" support -->
+ <command>AT+CUAD=?</command>
+ <response>OK</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 -->
@@ -3509,6 +3525,13 @@ OK</response>
5A 55
</file>
+<file name="EFdir" recordsize="33">
+ 61 1B 4F 10 A0 00 00 00 87 10 02 FF FF FF FF 89 05 08 00 00 FF FF
+ FF FF FF FF FF FF FF FF FF FF FF
+ 61 1F 4F 0C A0 00 00 00 63 50 4B 43 53 2D 31 35 50 09 4D 49 44 50
+ 66 69 6C 65 73 51 04 3F 00 7F 80"
+</file>
+
</filesystem>
</simulator>
diff --git a/src/simfilesystem.cpp b/src/simfilesystem.cpp
index 5312a82..a8b1e5b 100644
--- a/src/simfilesystem.cpp
+++ b/src/simfilesystem.cpp
@@ -122,6 +122,11 @@ static SimFileInfo const knownFiles[] =
{"6F16", "7F20", "EFcphs_info", 0x14ff44, FILE_TYPE_TRANSPARENT},
{"6F17", "7F20", "EFcphs_mbdn", 0x11ff44, FILE_TYPE_LINEAR_FIXED},
{"6F11", "7F20", "EFcphs_mwis", 0x11ff44, FILE_TYPE_TRANSPARENT},
+
+ // TS 102.221
+ {"2F00", "3F00", "EFdir", 0x04ff44, FILE_TYPE_LINEAR_FIXED},
+ {"2F06", "3F00", "EFarr", 0x04ff44, FILE_TYPE_LINEAR_FIXED},
+
{0, 0, 0, 0, FILE_TYPE_TRANSPARENT}
};