All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrzej Zaborowski <andrew.zaborowski@intel.com>
To: ofono@ofono.org
Subject: [PATCH] phonesim: Add +CUAD command and EFdir EF.
Date: Wed, 12 Jan 2011 09:00:07 +0100	[thread overview]
Message-ID: <1294819208-9287-1-git-send-email-andrew.zaborowski@intel.com> (raw)

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

Add +PTTY in +CLAC output too.
---
 src/default.xml       |   23 +++++++++++++++++++++++
 src/simfilesystem.cpp |    5 +++++
 2 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/src/default.xml b/src/default.xml
index ab1ed06..803c539 100644
--- a/src/default.xml
+++ b/src/default.xml
@@ -3165,6 +3165,7 @@
 +CMEE
 +CMGF
 +CMGS
++CUAD
 +DR
 +DS
 +GCAP
@@ -3179,6 +3180,7 @@
 +ILRR
 +IPR
 +FCLASS
++PTTY
 +VBT
 +VCID
 +VGR
@@ -3234,6 +3236,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 -->
@@ -3476,6 +3492,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 6e05039..46f3b1f 100644
--- a/src/simfilesystem.cpp
+++ b/src/simfilesystem.cpp
@@ -121,6 +121,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}
 };
 
-- 
1.7.1.86.g0e460.dirty


             reply	other threads:[~2011-01-12  8:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12  8:00 Andrzej Zaborowski [this message]
2011-01-12  8:00 ` [PATCH] phonesim: Fix access bits for EFiccid, EFpl Andrzej Zaborowski
2011-01-12 23:16   ` Denis Kenzior
2011-01-12 23:16 ` [PATCH] phonesim: Add +CUAD command and EFdir EF Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294819208-9287-1-git-send-email-andrew.zaborowski@intel.com \
    --to=andrew.zaborowski@intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.