* [PATCH] phonesim: Add +CUAD command and EFdir EF.
@ 2011-01-12 8:00 Andrzej Zaborowski
2011-01-12 8:00 ` [PATCH] phonesim: Fix access bits for EFiccid, EFpl Andrzej Zaborowski
2011-01-12 23:16 ` [PATCH] phonesim: Add +CUAD command and EFdir EF Denis Kenzior
0 siblings, 2 replies; 4+ messages in thread
From: Andrzej Zaborowski @ 2011-01-12 8:00 UTC (permalink / raw)
To: ofono
[-- 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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] phonesim: Fix access bits for EFiccid, EFpl.
2011-01-12 8:00 [PATCH] phonesim: Add +CUAD command and EFdir EF Andrzej Zaborowski
@ 2011-01-12 8:00 ` Andrzej Zaborowski
2011-01-12 23:16 ` Denis Kenzior
2011-01-12 23:16 ` [PATCH] phonesim: Add +CUAD command and EFdir EF Denis Kenzior
1 sibling, 1 reply; 4+ messages in thread
From: Andrzej Zaborowski @ 2011-01-12 8:00 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]
---
src/simfilesystem.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/simfilesystem.cpp b/src/simfilesystem.cpp
index 46f3b1f..2264c44 100644
--- a/src/simfilesystem.cpp
+++ b/src/simfilesystem.cpp
@@ -106,8 +106,8 @@ static SimFileInfo const knownFiles[] =
{"6FDE", "7F20", "EFspni", 0x04ff44, FILE_TYPE_TRANSPARENT},
{"6FDF", "7F20", "EFpnni", 0x04ff44, FILE_TYPE_LINEAR_FIXED},
- {"2FE2", "3F00", "EFiccid", 0x04ff44, FILE_TYPE_TRANSPARENT},
- {"2F05", "3F00", "EFpl", 0x11ff44, FILE_TYPE_TRANSPARENT},
+ {"2FE2", "3F00", "EFiccid", 0x0fff44, FILE_TYPE_TRANSPARENT},
+ {"2F05", "3F00", "EFpl", 0x01ff44, FILE_TYPE_TRANSPARENT},
{"5F50", "7F10", "DFgraphics", 0, FILE_TYPE_TRANSPARENT},
{"4F20", "5F50", "EFimg", 0x14ff44, FILE_TYPE_LINEAR_FIXED},
--
1.7.1.86.g0e460.dirty
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] phonesim: Add +CUAD command and EFdir EF.
2011-01-12 8:00 [PATCH] phonesim: Add +CUAD command and EFdir EF Andrzej Zaborowski
2011-01-12 8:00 ` [PATCH] phonesim: Fix access bits for EFiccid, EFpl Andrzej Zaborowski
@ 2011-01-12 23:16 ` Denis Kenzior
1 sibling, 0 replies; 4+ messages in thread
From: Denis Kenzior @ 2011-01-12 23:16 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 315 bytes --]
Hi Andrew,
On 01/12/2011 02:00 AM, Andrzej Zaborowski wrote:
> Add +PTTY in +CLAC output too.
> ---
> src/default.xml | 23 +++++++++++++++++++++++
> src/simfilesystem.cpp | 5 +++++
> 2 files changed, 28 insertions(+), 0 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] phonesim: Fix access bits for EFiccid, EFpl.
2011-01-12 8:00 ` [PATCH] phonesim: Fix access bits for EFiccid, EFpl Andrzej Zaborowski
@ 2011-01-12 23:16 ` Denis Kenzior
0 siblings, 0 replies; 4+ messages in thread
From: Denis Kenzior @ 2011-01-12 23:16 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 235 bytes --]
Hi Andrew,
On 01/12/2011 02:00 AM, Andrzej Zaborowski wrote:
> ---
> src/simfilesystem.cpp | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Good catch. Patch has been applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-12 23:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12 8:00 [PATCH] phonesim: Add +CUAD command and EFdir EF Andrzej Zaborowski
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox