re-merge bug 1398 (missing wapstack) RCL_3 PDK_3.0.4
authorandy simpson <andrews@symbian.org>
Fri, 22 Oct 2010 16:04:25 +0100
branchRCL_3
changeset 83 ea777f234bd4
parent 71 b10722dbe19e (current diff)
parent 82 042fd2753b8f (diff)
re-merge bug 1398 (missing wapstack)
smsprotocols/smsstack/smsprot/Test/TE_Smsprt/te_smsprt_gsmu.script
smsprotocols/smsstack/smsprot/Test/TE_Smsprt/te_smsprt_prot.script
smsprotocols/smsstack/smsprot/Test/TE_Smsprt/te_smsprt_smsstack.script
telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize.cfg
telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize.ini
telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize_config.txt
telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize_pdpcpr.cfg
telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_RawIpSize.script
--- a/basebandabstraction/basebandchanneladaptor/group/bld.inf	Fri Sep 17 17:35:51 2010 +0100
+++ b/basebandabstraction/basebandchanneladaptor/group/bld.inf	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -33,6 +33,3 @@
 ../Inc/bca2.h					SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(networking/bca2.h)
 ../Inc/Bca2Factory.h              SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(networking/bca2factory.h)
 #endif
-
-PRJ_TESTMMPFILES
-#include "../Test/TE_BCA/group/bld.inf"
--- a/smsprotocols/smsstack/smsprot/Group/bld.inf	Fri Sep 17 17:35:51 2010 +0100
+++ b/smsprotocols/smsstack/smsprot/Group/bld.inf	Fri Oct 22 16:04:25 2010 +0100
@@ -102,6 +102,7 @@
 //
 // TE_SMSPRT test files...
 //
+../Test/TE_Smsprt/TE_smsprt.script                            z:/testdata/scripts/te_smsprt.script
 ../Test/TE_Smsprt/TE_smsprt_setup.script                      z:/testdata/scripts/te_smsprt_setup.script
 ../Test/TE_Smsprt/tsmsprt_config.txt                          z:/sms/tsmsprt_config.txt
 ../Test/TE_Smsprt/tsmsprt_config_extra.txt                    z:/sms/tsmsprt_config_extra.txt
@@ -115,9 +116,6 @@
 ../Test/TE_Smsprt/smswap.sms-AutomaticDeletionOfType0.esk     z:/sms/smswap.sms-automaticdeletionoftype0.esk
 ../Test/TE_Smsprt/smswap.sms-AutoDeletionClass2.esk           z:/sms/smswap.sms-autodeletionclass2.esk
 ../Test/TE_Smsprt/testsmswap.Sms.esk                          z:/sms/testsmswap.sms.esk
-../Test/TE_Smsprt/TE_smsprt_gsmu.script                       z:/testdata/scripts/te_smsprt_gsmu.script
-../Test/TE_Smsprt/TE_smsprt_prot.script                       z:/testdata/scripts/te_smsprt_prot.script
-../Test/TE_Smsprt/TE_smsprt_smsstack.script                   z:/testdata/scripts/te_smsprt_smsstack.script
 
 //SMSOutOfDiskSpace
 ../Test/TE_Smsprt/Te_SMSStackOutOfDiskSpace.script            z:/testdata/scripts/te_smsstackoutofdiskspace.script
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/smsprotocols/smsstack/smsprot/Test/TE_Smsprt/TE_smsprt.script	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,2265 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+RUN_SCRIPT z:\TestData\Scripts\TE_smsprt_setup.script
+
+LOAD_SUITE TE_smsprt -SharedData
+
+//!@file
+
+START_TESTCASE SMS-SMSStack-NA-3001
+//!@SYMTestCaseID SMS-SMSStack-NA-3001
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Simple Tx And Rx
+//!@SYMTestPriority critical
+//!@SYMTestActions Test simple transmit and receive
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSimpleTxAndRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber0
+END_TESTCASE SMS-SMSStack-NA-3001
+
+START_TESTCASE SMS-SMSS-SMSPROT-0158
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0158
+//!@SYMDEF INC138096
+//!@SYMTestCaseDesc Tests that a SMS can be received when the "LogDuration" is set to "No Log"
+//!@SYMTestPriority Critical
+//!@SYMTestActions Sets the Log Server to "No Log", then sends and receives a SMS, both operations should be completed successfully.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 600 TE_smsprt TestSimpleTxAndRxWithLoggingDisabled z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber158
+END_TESTCASE SMS-SMSS-SMSPROT-0158
+
+START_TESTCASE SMS-SMSStack-NA-3002
+//!@SYMTestCaseID SMS-SMSStack-NA-3002
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Status Report
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test status report
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestStatusReport z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber1
+END_TESTCASE SMS-SMSStack-NA-3002
+
+
+START_TESTCASE SMS-SMSStack-NA-3003
+//!@SYMTestCaseID SMS-SMSStack-NA-3003
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Tx With Error
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Transmit with Error
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestTxWithError z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber2
+END_TESTCASE SMS-SMSStack-NA-3003
+
+
+START_TESTCASE SMS-SMSStack-NA-3004
+//!@SYMTestCaseID SMS-SMSStack-NA-3004
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Tx Failed
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Transmit with failure
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestTxFailed z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber3
+END_TESTCASE SMS-SMSStack-NA-3004
+
+
+START_TESTCASE SMS-SMSStack-NA-3005
+//!@SYMTestCaseID SMS-SMSStack-NA-3005
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Matching To Observer
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Matching To Observer
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestMatchingToObserver z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber4
+END_TESTCASE SMS-SMSStack-NA-3005
+
+
+START_TESTCASE SMS-SMSStack-NA-3006
+//!@SYMTestCaseID SMS-SMSStack-NA-3006
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Command Messages
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Command Messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCommandMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber5
+END_TESTCASE SMS-SMSStack-NA-3006
+
+
+START_TESTCASE SMS-SMSStack-NA-3007
+//!@SYMTestCaseID SMS-SMSStack-NA-3007
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Simple Rx
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Simple Receive
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSimpleRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber6
+END_TESTCASE SMS-SMSStack-NA-3007
+
+
+START_TESTCASE SMS-SMSStack-NA-3008
+//!@SYMTestCaseID SMS-SMSStack-NA-3008
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test 7bit Mess Test
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test 7bit Mess Test
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt Test7bitMessTest z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber7
+END_TESTCASE SMS-SMSStack-NA-3008
+
+
+START_TESTCASE SMS-SMSStack-NA-3009
+//!@SYMTestCaseID SMS-SMSStack-NA-3009
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Class Messages
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Class Messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestClassMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber8
+END_TESTCASE SMS-SMSStack-NA-3009
+
+
+START_TESTCASE SMS-SMSStack-NA-3010
+//!@SYMTestCaseID SMS-SMSStack-NA-3010
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Rx Concatenated
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test receive concatenated
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestRxConcatenated z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber9
+END_TESTCASE SMS-SMSStack-NA-3010
+
+
+START_TESTCASE SMS-SMSStack-NA-3011
+//!@SYMTestCaseID SMS-SMSStack-NA-3011
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Rx Duplicate
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test receive duplicate
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestRxDuplicate z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber10
+END_TESTCASE SMS-SMSStack-NA-3011
+
+
+START_TESTCASE SMS-SMSStack-NA-3012
+//!@SYMTestCaseID SMS-SMSStack-NA-3012
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Rx Ring Tone A
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test receive ring tone A
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestRxRingToneA z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber11
+END_TESTCASE SMS-SMSStack-NA-3012
+
+
+START_TESTCASE SMS-SMSStack-NA-3013
+//!@SYMTestCaseID SMS-SMSStack-NA-3013
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Tx Rx Concatenated
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Transmit/receive concatenated messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestTxRxConcatenated z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber12
+END_TESTCASE SMS-SMSStack-NA-3013
+
+
+START_TESTCASE SMS-SMSStack-NA-3014
+//!@SYMTestCaseID SMS-SMSStack-NA-3014
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Param Storage
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test storage of parameters
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestParamStorage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber13
+END_TESTCASE SMS-SMSStack-NA-3014
+
+
+START_TESTCASE SMS-SMSStack-NA-3015
+//!@SYMTestCaseID SMS-SMSStack-NA-3015
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Sms Store
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Sms Store
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSmsStore z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber14
+END_TESTCASE SMS-SMSStack-NA-3015
+
+
+START_TESTCASE SMS-SMSStack-NA-3016
+//!@SYMTestCaseID SMS-SMSStack-NA-3016
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Sms Store List
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Sms Store List
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSmsStoreList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber15
+END_TESTCASE SMS-SMSStack-NA-3016
+
+
+START_TESTCASE SMS-SMSStack-NA-3017
+//!@SYMTestCaseID SMS-SMSStack-NA-3017
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Delete Sms
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Delete Sms
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestDeleteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber15
+END_TESTCASE SMS-SMSStack-NA-3017
+
+
+START_TESTCASE SMS-SMSStack-NA-3018
+//!@SYMTestCaseID SMS-SMSStack-NA-3018
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Socket Binding
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Socket Binding
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSocketBinding z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber16
+END_TESTCASE SMS-SMSStack-NA-3018
+
+START_TESTCASE SMS-SMSStack-NA-3098
+//!@SYMTestCaseID SMS-SMSStack-NA-3098
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test SMS address class
+//!@SYMTestPriority High
+//!@SYMTestActions  Test SMS address class
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSmsAddr
+END_TESTCASE SMS-SMSStack-NA-3098
+
+START_TESTCASE SMS-SMSStack-NA-3019
+//!@SYMTestCaseID SMS-SMSStack-NA-3019
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Sms Event Logger
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Sms Event Logger
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSmsEventLogger z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber17
+END_TESTCASE SMS-SMSStack-NA-3019
+
+
+START_TESTCASE SMS-SMSStack-NA-3020
+//!@SYMTestCaseID SMS-SMSStack-NA-3020
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Bearer Change
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Bearer Change
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestBearerChange z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber18
+END_TESTCASE SMS-SMSStack-NA-3020
+
+
+START_TESTCASE SMS-SMSStack-NA-3094
+//!@SYMTestCaseID SMS-SMSStack-NA-3094
+//!@SYMREQ DEF080837
+//!@SYMTestCaseDesc Test Restore Bearer
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Restore Bearer
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestRestoreBearer 
+END_TESTCASE SMS-SMSStack-NA-3094
+
+
+START_TESTCASE SMS-SMSStack-NA-3021
+//!@SYMTestCaseID SMS-SMSStack-NA-3021
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Recv Mode Change
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Recieve Mode Change
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestRecvModeChange z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber19
+END_TESTCASE SMS-SMSStack-NA-3021
+
+
+START_TESTCASE SMS-SMSStack-NA-3022
+//!@SYMTestCaseID SMS-SMSStack-NA-3022
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Tsy Caps
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Tsy Capabilities
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestTsyCaps z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber20
+END_TESTCASE SMS-SMSStack-NA-3022
+
+
+START_TESTCASE SMS-SMSStack-NA-3023
+//!@SYMTestCaseID SMS-SMSStack-NA-3023
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test OOM Send Sms
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test send sms with out of memory conditions
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestOOMSendSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber21
+END_TESTCASE SMS-SMSStack-NA-3023
+
+
+START_TESTCASE SMS-SMSStack-NA-3024
+//!@SYMTestCaseID SMS-SMSStack-NA-3024
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test OOM Write Sms
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test write sms with out of memory conditions
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestOOMWriteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber22
+END_TESTCASE SMS-SMSStack-NA-3024
+
+
+START_TESTCASE SMS-SMSStack-NA-3025
+//!@SYMTestCaseID SMS-SMSStack-NA-3025
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test OOM Read Sms
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Read Sms with out of memory conditions
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestOOMReadSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber23
+END_TESTCASE SMS-SMSStack-NA-3025
+
+
+START_TESTCASE SMS-SMSStack-NA-3026
+//!@SYMTestCaseID SMS-SMSStack-NA-3026
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test OOM Read Sms List
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test read sms list with out of memory conditions
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 1000 TE_smsprt TestOOMReadSmsList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber24
+END_TESTCASE SMS-SMSStack-NA-3026
+
+
+START_TESTCASE SMS-SMSStack-NA-3027
+//!@SYMTestCaseID SMS-SMSStack-NA-3027
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test OOM Delete Sms
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test delete sms with out of memory conditions
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestOOMDeleteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber25
+END_TESTCASE SMS-SMSStack-NA-3027
+
+
+START_TESTCASE SMS-SMSStack-NA-3028
+//!@SYMTestCaseID SMS-SMSStack-NA-3028
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc TestOOMSmsParams
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test sms params with out of memory conditions
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestOOMSmsParams z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber26
+END_TESTCASE SMS-SMSStack-NA-3028
+
+
+START_TESTCASE SMS-SMSStack-NA-3029
+//!@SYMTestCaseID SMS-SMSStack-NA-3029
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc TestMeStoreDupAndMiss
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Me store with duplicate and missing pdus'
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestMeStoreDupAndMiss z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber27
+END_TESTCASE SMS-SMSStack-NA-3029
+
+
+START_TESTCASE SMS-SMSStack-NA-3030
+//!@SYMTestCaseID SMS-SMSStack-NA-3030
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Sim Store Dup And Miss
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Sim Store with duplicate and Missing pdus'
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSimStoreDupAndMiss z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber28
+END_TESTCASE SMS-SMSStack-NA-3030
+
+
+START_TESTCASE SMS-SMSStack-NA-3031
+//!@SYMTestCaseID SMS-SMSStack-NA-3031
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc TestRxCphs
+//!@SYMTestPriority critical
+//!@SYMTestActions   Test the reception of a CPHS Message Waiting Indication
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestRxCphs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber30
+END_TESTCASE SMS-SMSStack-NA-3031
+
+
+START_TESTCASE SMS-SMSStack-NA-3032
+//!@SYMTestCaseID SMS-SMSStack-NA-3032
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Invalid PDUs
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test receiving invalid pdus
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestInvalidPDUs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber31
+END_TESTCASE SMS-SMSStack-NA-3032
+
+
+START_TESTCASE SMS-SMSStack-NA-3033
+//!@SYMTestCaseID SMS-SMSStack-NA-3033
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Stress
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Transmit and Receive large number of different messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 700 TE_smsprt TestStress z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber32
+
+END_TESTCASE SMS-SMSStack-NA-3033
+
+START_TESTCASE SMS-SMSStack-NA-3034
+//!@SYMTestCaseID SMS-SMSStack-NA-3034
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Combined Store
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Combined Store
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCombinedStore z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber33
+END_TESTCASE SMS-SMSStack-NA-3034
+
+
+START_TESTCASE SMS-SMSStack-NA-3035
+//!@SYMTestCaseID SMS-SMSStack-NA-3035
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Params Inter
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test retrieving and storing the sms parameters
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestParamsInter z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber34
+END_TESTCASE SMS-SMSStack-NA-3035
+
+
+START_TESTCASE SMS-SMSStack-NA-3036
+//!@SYMTestCaseID SMS-SMSStack-NA-3036
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc TestTxRxAlphanumeric
+//!@SYMTestPriority critical
+//!@SYMTestActions  est a Transmit And receive of messages with alphanumeric dest/orig addresses
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestTxRxAlphanumeric z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber35
+END_TESTCASE SMS-SMSStack-NA-3036
+
+
+START_TESTCASE SMS-SMSStack-NA-3037
+//!@SYMTestCaseID SMS-SMSStack-NA-3037
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Rx Suspend
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Receive Suspension
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestRxSuspend 
+END_TESTCASE SMS-SMSStack-NA-3037
+
+
+START_TESTCASE SMS-SMSStack-NA-3038
+//!@SYMTestCaseID SMS-SMSStack-NA-3038
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Enumerate Corrupted
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Enumeration of Corrupted messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestEnumerateCorrupted z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber37
+END_TESTCASE SMS-SMSStack-NA-3038
+
+
+START_TESTCASE SMS-SMSStack-NA-3039
+//!@SYMTestCaseID SMS-SMSStack-NA-3039
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc TestCancelling
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Cancellacion of an sms operation
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCancelling z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber38
+END_TESTCASE SMS-SMSStack-NA-3039
+
+
+START_TESTCASE SMS-SMSStack-NA-3040
+//!@SYMTestCaseID SMS-SMSStack-NA-3040
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Send And Recv Msgs With Different TON
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test send And recieve messages with different TON
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSendAndRecvMsgsWithDifferentTON 
+END_TESTCASE SMS-SMSStack-NA-3040
+
+
+START_TESTCASE SMS-SMSStack-NA-3041
+//!@SYMTestCaseID SMS-SMSStack-NA-3041
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Send And Receive Indicator Msgs
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test send and receive indicator messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSendAndReceiveIndicatorMsgs
+END_TESTCASE SMS-SMSStack-NA-3041
+
+
+START_TESTCASE SMS-SMSStack-NA-3042
+//!@SYMTestCaseID SMS-SMSStack-NA-3042
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Send and Receive Max Length Msg
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Send Recv Maximum Length Message (255 Pdus)
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 5000 TE_smsprt TestSendRecvMaxLengthMsg
+END_TESTCASE SMS-SMSStack-NA-3042
+
+
+START_TESTCASE SMS-SMSStack-NA-3043
+//!@SYMTestCaseID SMS-SMSStack-NA-3043
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Send And Recv Msgs With Different PID
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Send And Receive Msgs With Different PID
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSendAndRecvMsgsWithDifferentPID
+END_TESTCASE SMS-SMSStack-NA-3043
+
+
+START_TESTCASE SMS-SMSStack-NA-3044
+//!@SYMTestCaseID SMS-SMSStack-NA-3044
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc  Sms Params Error Cases
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Sms Parameters Error Cases
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt SmsParamsErrorCases
+END_TESTCASE SMS-SMSStack-NA-3044
+
+
+START_TESTCASE SMS-SMSStack-NA-3097
+//!@SYMTestCaseID SMS-SMSStack-NA-3097
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Resend Failed Concatinated Message
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Resend Failed Concatinated Message
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestResendFailedConcatinatedMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber44
+END_TESTCASE SMS-SMSStack-NA-3097
+
+
+START_TESTCASE SMS-SMSStack-NA-3045
+//!@SYMTestCaseID SMS-SMSStack-NA-3045
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Multipart Wap Message
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Multipart Wap Message
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestMultipartWapMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber45
+END_TESTCASE SMS-SMSStack-NA-3045
+
+
+START_TESTCASE SMS-SMSStack-NA-3046
+//!@SYMTestCaseID SMS-SMSStack-NA-3046
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test MOSES Message
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test MOSES Message
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestMOSESMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber46
+END_TESTCASE SMS-SMSStack-NA-3046
+
+
+START_TESTCASE SMS-SMSStack-NA-3047
+//!@SYMTestCaseID SMS-SMSStack-NA-3047
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Clock Back
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Clock Back
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestClockBack z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber47
+END_TESTCASE SMS-SMSStack-NA-3047
+
+
+START_TESTCASE SMS-SMSStack-NA-3048
+//!@SYMTestCaseID SMS-SMSStack-NA-3048
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Enumerate NoMessages
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test enumeration of no messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestEnumerateNoMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber48
+END_TESTCASE SMS-SMSStack-NA-3048
+
+
+START_TESTCASE SMS-SMSStack-NA-3049
+//!@SYMTestCaseID SMS-SMSStack-NA-3049
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Concatenated Message Logging
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Concatenated Message Logging
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestConcatenatedMessageLogging z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber50
+END_TESTCASE SMS-SMSStack-NA-3049
+
+
+START_TESTCASE SMS-SMSStack-NA-3050
+//!@SYMTestCaseID SMS-SMSStack-NA-3050
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Enumeration Of Status Report
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Enumeration Of Status Report
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestEnumerationOfStatusReport z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber51
+END_TESTCASE SMS-SMSStack-NA-3050
+
+
+START_TESTCASE SMS-SMSStack-NA-3051
+//!@SYMTestCaseID SMS-SMSStack-NA-3051
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test IE
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test IE
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber52
+END_TESTCASE SMS-SMSStack-NA-3051
+
+
+START_TESTCASE SMS-SMSStack-NA-3052
+//!@SYMTestCaseID SMS-SMSStack-NA-3052
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Email IE
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Email IE
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestEmailIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber53
+END_TESTCASE SMS-SMSStack-NA-3052
+
+
+START_TESTCASE SMS-SMSStack-NA-3053
+//!@SYMTestCaseID SMS-SMSStack-NA-3053
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Max Read Time For Sms Store List
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Maximim Read Time For Sms Store List
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestMaxReadTimeForSmsStoreList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber54
+END_TESTCASE SMS-SMSStack-NA-3053
+
+
+START_TESTCASE SMS-SMSStack-NA-3054
+//!@SYMTestCaseID SMS-SMSStack-NA-3054
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc  Test Same Log Id Multiple PDU
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test same log id multiple pdu
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSameLogIdMultiplePDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber57
+END_TESTCASE SMS-SMSStack-NA-3054
+
+
+START_TESTCASE SMS-SMSStack-NA-3055
+//!@SYMTestCaseID SMS-SMSStack-NA-3055
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Same Log Id Single PDU
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Same Log Id Single PDU
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSameLogIdSinglePDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber58
+END_TESTCASE SMS-SMSStack-NA-3055
+
+
+START_TESTCASE SMS-SMSStack-NA-3056
+//!@SYMTestCaseID SMS-SMSStack-NA-3056
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Write Status Report To SIM
+//!@SYMTestPriority critical
+//!@SYMTestActions Test Writing of a status report to the sim
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestWriteStatusReportToSIM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber49
+END_TESTCASE SMS-SMSStack-NA-3056
+
+
+START_TESTCASE SMS-SMSStack-NA-3057
+//!@SYMTestCaseID SMS-SMSStack-NA-3057
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc  Test Tx Sms With Delayed Completion
+//!@SYMTestPriority critical
+//!@SYMTestActions   Test transmit of a sms with delayed completion
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile z:\sms\smswap.sms-sendTryTimeout.esk c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+
+RUN_TEST_STEP 500 TE_smsprt TestTxSmsWithDelayedCompletion z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber60
+
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
+END_TESTCASE SMS-SMSStack-NA-3057
+
+
+START_TESTCASE SMS-SMSStack-NA-3058
+//!@SYMTestCaseID SMS-SMSStack-NA-3058
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Sms Store Read Cancel
+//!@SYMTestPriority critical
+//!@SYMTestActions Test sms store read with cancel
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSmsStoreReadCancel
+END_TESTCASE SMS-SMSStack-NA-3058
+
+
+START_TESTCASE SMS-SMSStack-NA-3059
+//!@SYMTestCaseID SMS-SMSStack-NA-3059
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Bind When Powered Down With Publish Subscribe
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test bind when powered down with publish and subscribe
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestBindWhenPoweredDownWithPublishSubscribe
+END_TESTCASE SMS-SMSStack-NA-3059
+
+
+START_TESTCASE SMS-SMSStack-NA-3060
+//!@SYMTestCaseID SMS-SMSStack-NA-3060
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc TestObserverNotifiedWhenPoweredDownWithPublishSubscribe
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test observer notified when powered down with publish and subscribe
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestObserverNotifiedWhenPoweredDownWithPublishSubscribe z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber59
+
+END_TESTCASE SMS-SMSStack-NA-3060
+
+START_TESTCASE SMS-SMSStack-NA-3061
+//!@SYMTestCaseID SMS-SMSStack-NA-3061
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Sms CNumber Change WithPublish Subscribe
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test sms CNumber change with publish and subscribe
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSmsCNumberChangeWithPublishSubscribe z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber55
+END_TESTCASE SMS-SMSStack-NA-3061
+
+
+START_TESTCASE SMS-SMSStack-NA-3062
+//!@SYMTestCaseID SMS-SMSStack-NA-3062
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Status Report Time
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Status Report Time
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestStatusReportTime z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber62
+END_TESTCASE SMS-SMSStack-NA-3062
+
+
+START_TESTCASE SMS-SMSStack-NA-3063
+//!@SYMTestCaseID SMS-SMSStack-NA-3063
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Tx 8Bit Wap With Status
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test Transmit 8Bit wap message with status
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestTx8BitWapWithStatus z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber63
+END_TESTCASE SMS-SMSStack-NA-3063
+
+
+START_TESTCASE SMS-SMSStack-NA-3064
+//!@SYMTestCaseID SMS-SMSStack-NA-3064
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Sim Store Corrupt Message
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test sim store with corrupt message
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestSimStoreCorruptMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber64
+END_TESTCASE SMS-SMSStack-NA-3064
+
+
+
+START_TESTCASE SMS-SMSStack-NA-3065
+//!@SYMTestCaseID SMS-SMSStack-NA-3065
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Corrupt Pdu With Negative Response
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test a corrupt pdu with anegative response
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile z:\sms\testsmswap.sms.esk c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_TEST_STEP 500 TE_smsprt TestCorruptPduWithNegativeResponse z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber65
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
+END_TESTCASE SMS-SMSStack-NA-3065
+
+
+START_TESTCASE SMS-SMSStack-NA-3066
+//!@SYMTestCaseID SMS-SMSStack-NA-3066
+//!@SYMREQ REQ0000
+//!@SYMTestCaseDesc Test Boot Timer can be configured to a non default value
+//!@SYMTestPriority critical
+//!@SYMTestActions  Check that boot timer can be configured from smswap.sms.esk file.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile z:\sms\smswap.sms-bootTimerTimeout.esk c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_TEST_STEP 500 TE_smsprt TestBootTimer z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber45
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
+END_TESTCASE SMS-SMSStack-NA-3066
+
+
+START_TESTCASE SMS-SMSStack-NA-3067
+//!@SYMTestCaseID SMS-SMSStack-NA-3067
+//!@SYMREQ REQ4612
+//!@SYMTestCaseDesc Test CSmsMessageTimeStamp
+//!@SYMTestPriority critical
+//!@SYMTestActions Create message with know system utc time.  Set and get also checked
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageTimeStamp
+END_TESTCASE SMS-SMSStack-NA-3067
+
+START_TESTCASE SMS-SMSStack-NA-3068
+//!@SYMTestCaseID SMS-SMSStack-NA-3068
+//!@SYMREQ REQ4612
+//!@SYMTestCaseDesc Test service center time stamp in PDU with CSmsMessage interface.
+//!@SYMTestPriority critical
+//!@SYMTestActions Simulate receiving deliver PDU's.  Create message and interogate PDU and check time stamp and validity period.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithDeliverPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber66
+END_TESTCASE SMS-SMSStack-NA-3068
+
+START_TESTCASE SMS-SMSStack-NA-3069
+//!@SYMTestCaseID SMS-SMSStack-NA-3069
+//!@SYMREQ REQ4612
+//!@SYMTestCaseDesc Test Status Report
+//!@SYMTestPriority critical
+//!@SYMTestActions  Test status report
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithStatusReportPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber67
+END_TESTCASE SMS-SMSStack-NA-3069
+
+START_TESTCASE SMS-SMSStack-NA-3070
+//!@SYMTestCaseID SMS-SMSStack-NA-3070
+//!@SYMREQ REQ4612
+//!@SYMTestCaseDesc Test Submit PDU
+//!@SYMTestPriority critical
+//!@SYMTestActions  Create a submit message.  Send it using SimTSY.  SimTSY will validate the PDU to what is expected.  Status=0
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithSubmitPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber68
+END_TESTCASE SMS-SMSStack-NA-3070
+
+START_TESTCASE SMS-SMSStack-NA-3071
+//!@SYMTestCaseID SMS-SMSStack-NA-3071
+//!@SYMREQ DEF055800
+//!@SYMTestCaseDesc Test Handling of PDUs with PID 0x40
+//!@SYMTestPriority critical
+//!@SYMTestActions  Check that PDUs with PID 0x40 are acknowledged but not forwarded to the client
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestHandlePID40h z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber69
+END_TESTCASE SMS-SMSStack-NA-3071
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3072
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3072
+//!@SYMREQ REQ4917.1
+//!@SYMTestCaseDesc Test hyperlink operations interface, and SMS stack ability to handle single PDU messages with hyperlinks
+//!@SYMTestPriority high
+//!@SYMTestActions Test hyperlink API's.  Transmit and receive of single PDU message with and without hyperlinks
+//!@SYMTestExpectedResults
+//!@SYMTestCaseDependencies Sim.tsy, smsstacktestutilities.dll
+//!@SYMTestType IT
+RUN_TEST_STEP 180 TE_smsprt TestSinglePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber70
+END_TESTCASE SMS-SMSS-SMSPROT-I-3072
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3073
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3073
+//!@SYMREQ REQ4917.2
+//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without hyperlinks
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive of multiple PDU message with and without hyperlinks
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 60 TE_smsprt TestMultiplePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber71
+END_TESTCASE SMS-SMSS-SMSPROT-I-3073
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3074
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3074
+//!@SYMREQ REQ4919.1
+//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without reply address
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive of single PDU message with and without reply address
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 180 TE_smsprt TestSinglePDUReplyAddress z:\testdata\configs\te_smsprt_data.ini ReplyAddress
+END_TESTCASE SMS-SMSS-SMSPROT-I-3074
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3075
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3075
+//!@SYMREQ REQ4919.2
+//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without reply address
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive of single PDU message with and without reply address
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUReplyAddress
+END_TESTCASE SMS-SMSS-SMSPROT-I-3075
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3076
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3076
+//!@SYMREQ REQ4922.1
+//!@SYMTestCaseDesc Test operations on SMS message for special messages
+//!@SYMTestPriority high
+//!@SYMTestActions Call API's for adding, removing, counting, and copying special messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 30 TE_smsprt TestSpecialMessageWaitingOperations
+END_TESTCASE SMS-SMSS-SMSPROT-I-3076
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3077
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3077
+//!@SYMREQ REQ4922.2
+//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without special messages
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive single PDU message with and without special messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 120 TE_smsprt TestSinglePDUSpecialMessageWaiting z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber73
+END_TESTCASE SMS-SMSS-SMSPROT-I-3077
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3078
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3078
+//!@SYMREQ REQ4922.3
+//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without special messages
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive multiple PDU message with and without special messages
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUSpecialMessageWaiting
+END_TESTCASE SMS-SMSS-SMSPROT-I-3078
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3079
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3079
+//!@SYMREQ REQ4923.1
+//!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail information
+//!@SYMTestPriority high
+//!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail information
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailOperations z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail
+END_TESTCASE SMS-SMSS-SMSPROT-I-3079
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3080
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3080
+//!@SYMREQ REQ4923.2
+//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail information
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail information
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 180 TE_smsprt TestSinglePDUEnhancedVoiceMailInformation z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail
+END_TESTCASE SMS-SMSS-SMSPROT-I-3080
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3081
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3081
+//!@SYMREQ REQ4923.3
+//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail information
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail information
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUEnhancedVoiceMailInformation
+END_TESTCASE SMS-SMSS-SMSPROT-I-3081
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3082
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3082
+//!@SYMREQ REQ4923.4
+//!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail delete confirmations
+//!@SYMTestPriority high
+//!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail delete confirmations
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailDeleteOperations
+END_TESTCASE SMS-SMSS-SMSPROT-I-3082
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3083
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3083
+//!@SYMREQ REQ4923.5
+//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail delete confirmations
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail delete confirmations
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 120 TE_smsprt TestSinglePDUEnhancedVoiceMailDeleteConfirmation z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber75
+END_TESTCASE SMS-SMSS-SMSPROT-I-3083
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3084
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3084
+//!@SYMREQ REQ4923.6
+//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail delete confirmations
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType IT
+RUN_TEST_STEP 180 TE_smsprt TestMultiplePDUEnhancedVoiceMailDeleteConfirmation
+END_TESTCASE SMS-SMSS-SMSPROT-I-3084
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3085
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3085
+//!@SYMREQ REQ4920.1
+//!@SYMTestCaseDesc SMS stack will handle a SMS as 7 bit if no coding scheme has been specified.
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations
+//!@SYMTestExpectedResults SMS stack will handle received SMS as a 7 Bit coded message, KErrNone
+//!@SYMTestType IT
+RUN_TEST_STEP 180 TE_smsprt Test7BitDefaultAlphabet z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber76
+END_TESTCASE SMS-SMSS-SMSPROT-I-3085
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3086
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3086
+//!@SYMREQ REQ4918
+//!@SYMTestCaseDesc SMS stack will allow zero length information elements.
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive single and multiple PDU message with and zero length IE.  IE is USIM toolkit IE.
+//!@SYMTestExpectedResults Stack will accept zero length IE, add it to the list.  KErrNone
+//!@SYMTestType IT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 180 TE_smsprt TestZeroLengthIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber77
+END_TESTCASE SMS-SMSS-SMSPROT-I-3086
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3087
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3087
+//!@SYMREQ REQ4924
+//!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive single PDU message with automatic deletion. Stack allow sending these messages.  Messages received are automatically deleted, and given to the client. Class 2 messages are not deleted from the SIM - default behaviour in ESK file.
+//!@SYMTestExpectedResults Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionInDCS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber78
+END_TESTCASE SMS-SMSS-SMSPROT-I-3087
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3088
+// -----------------------------------------------------------------------------------------------------------
+//Test the configurability for automatic deletion with use of esk file
+//Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion
+// -----------------------------------------------------------------------------------------------------------
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3088
+//!@SYMREQ REQ4924
+//!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion, and set for deletion in ESK file
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive message with automatic deletion and set as so in the ESK file.
+//!@SYMTestExpectedResults Stack will delete all messages, including Class 2 messages.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+//Make a backup, copy over test ESK
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile z:\sms\smswap.sms-AutoDeletionClass2.esk c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_TEST_STEP 500 TE_smsprt TestAutomaticDeletionInDCSAndInEsk z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber79
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
+END_TESTCASE SMS-SMSS-SMSPROT-I-3088
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3089
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3089
+//!@SYMREQ REQ4921
+//!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages.
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file.
+//!@SYMTestExpectedResults Stack will send messages marked as type 0.  Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 300 TE_smsprt TestAutomaticDeletionTypeZeroSMS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber80
+
+END_TESTCASE SMS-SMSS-SMSPROT-I-3089
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3090
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3090
+//!@SYMREQ REQ4921
+//!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages.
+//!@SYMTestPriority high
+//!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file.
+//!@SYMTestExpectedResults Stack will send messages marked as type 0.  Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+//Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion
+//Make a backup, copy over test ESK
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile z:\sms\smswap.sms-AutomaticDeletionOfType0.esk c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
+//Run the test step
+RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionTypeZeroAndSetInESK z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber81
+//restore orig esk file
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
+RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
+END_TESTCASE SMS-SMSS-SMSPROT-I-3090
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3091
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3091
+//!@SYMREQ REQ4923.7
+//!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a PDU (139 bytes).
+//!@SYMTestPriority high
+//!@SYMTestActions Create a 139 byte enhanced voice mail message, add it to an empty SMS message and send it.
+//!@SYMTestExpectedResults The message is sent successfully.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber83
+END_TESTCASE SMS-SMSS-SMSPROT-I-3091
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3092
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3092
+//!@SYMREQ REQ4923.8
+//!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes).
+//!@SYMTestPriority high
+//!@SYMTestActions Send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes).
+//!@SYMTestExpectedResults The message is sent successfully.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest1 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber84
+END_TESTCASE SMS-SMSS-SMSPROT-I-3092
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3093
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3093
+//!@SYMREQ REQ4924.9
+//!@SYMTestCaseDesc The SMS stack can recover from heap exhaustion when sending a SMS Messages containing R6 Information Elements.
+//!@SYMTestPriority high
+//!@SYMTestActions A message containing R6 SMS IEs is sent repeatedly. The ESOCK server is configured to fail the n th request for heap memory, (n incrementing each time the message is sent). The test therefore checks that the stack can recover gracefully from heap exhaustion at every location that memory can be allocated.
+//!@SYMTestExpectedResults Assume that sending a R6 SMS requires 'M' heap allocations. The stack should return an Out of Memory error when heap allocation request fails because 'n' has a value in the range 1..m. When 'n' has value m+1, the message should be sent successfully and the test should exit.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 120 TE_smsprt TestOOMSendR6Sms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber82
+END_TESTCASE SMS-SMSS-SMSPROT-I-3093
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3094
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3094
+//!@SYMREQ REQ4920.1
+//!@SYMTestCaseDesc Submit reports default to 7 bit decoding if no DCS value is specified.
+//!@SYMTestPriority high
+//!@SYMTestActions Decode a submit report that contains text, but whose DCS byte is unspecified.
+//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 120 TE_smsprt CSubmitReportDefaultsTo7BitDecoding
+END_TESTCASE SMS-SMSS-SMSPROT-I-3094
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3095
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3095
+//!@SYMREQ REQ4920.2
+//!@SYMTestCaseDesc Deliver reports default to 7 bit decoding if no DCS value is specified.
+//!@SYMTestPriority high
+//!@SYMTestActions Decode a deliver report that contains text, but whose DCS byte is unspecified.
+//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 120 TE_smsprt CDeliverReportDefaultsTo7BitDecoding
+END_TESTCASE SMS-SMSS-SMSPROT-I-3095
+
+START_TESTCASE SMS-SMSS-SMSPROT-I-3096
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3096
+//!@SYMREQ REQ4920.3
+//!@SYMTestCaseDesc Status reports default to 7 bit decoding if no DCS value is specified.
+//!@SYMTestPriority high
+//!@SYMTestActions Decode a Status report that contains text, but whose DCS byte is unspecified.
+//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
+//!@SYMTestType CIT
+//!@SYMTestCaseDependencies SIM.TSY
+RUN_TEST_STEP 120 TE_smsprt CStatusReportDefaultsTo7BitDecoding
+END_TESTCASE SMS-SMSS-SMSPROT-I-3096
+
+START_TESTCASE SMS-GSMU-0046
+//!@SYMTestCaseID SMS-GSMU-0046	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Send single 7 bit PDU with TP-SRR status report scheme.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (2)
+//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
+//4. Set Default to zero and set the last segment
+//5. Send the message
+//6. Check request completes with KErrNone 
+//7. Delete the message.
+//8. Unmark the heap
+//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (3).
+RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeSinglePDU
+
+END_TESTCASE SMS-GSMU-0046
+
+START_TESTCASE SMS-GSMU-0047
+//!@SYMTestCaseID SMS-GSMU-0047	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Send single 8 bit PDU with TP-SRR status report scheme.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (3)
+//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
+//4. Set Default to zero and set the last segment
+//5. Send the message
+//6. Check request completes with KErrNone 
+//7. Delete the message.
+//8. Unmark the heap
+//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (803).
+RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeSinglePDU
+
+END_TESTCASE SMS-GSMU-0047
+
+START_TESTCASE SMS-GSMU-0059
+//!@SYMTestCaseID SMS-GSMU-0059	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (4)
+//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
+//4. Send the message
+//5. Check request completes KErrNone 
+//6. Delete the message
+//7. Unmark the heap
+//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (29-31).
+RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeMultiplePDU
+
+END_TESTCASE SMS-GSMU-0059
+
+START_TESTCASE SMS-GSMU-0060
+//!@SYMTestCaseID SMS-GSMU-0060	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR status report scheme set in all segments.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (4)
+//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
+//4. Send the message
+//5. Check request completes KErrNone 
+//6. Delete the message
+//7. Unmark the heap
+//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (829-831).
+RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeMultiplePDU
+
+END_TESTCASE SMS-GSMU-0060
+
+START_TESTCASE SMS-GSMU-0067
+//!@SYMTestCaseID SMS-GSMU-0067
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (4)
+//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero.
+//4. Set TP-SRR for last segment only.
+//5. Send the message and check request completes KErrNone 
+//6. Delete the message
+//7. Unmark the heap
+//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(41-43) that it contains TP-SRR scheme set only in last segment.
+RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeLastPDU
+END_TESTCASE SMS-GSMU-0067
+
+
+START_TESTCASE SMS-GSMU-0068
+//!@SYMTestCaseID SMS-GSMU-0068	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (4)
+//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero. 
+//4. Use function which sets the last segment.
+//5. Set TP-SRR for last segment only.
+//6. Send the message and check request completes KErrNone 
+//7. Delete the message
+//8. Unmark the heap
+//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(841-843) that it contains TP-SRR scheme set only in last segment.
+RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeLastPDU
+
+// -------------------------------------------------------------------------------------------------------
+END_TESTCASE SMS-GSMU-0068
+
+
+START_TESTCASE SMS-GSMU-0092
+//!@SYMTestCaseID SMS-GSMU-0092	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive a “completed” status report for a TP-SRR scheme in a single 8bit PDU message.    
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report - PDU(103)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportCompletedSinglePDU
+END_TESTCASE SMS-GSMU-0092
+
+
+START_TESTCASE SMS-GSMU-0093
+//!@SYMTestCaseID SMS-GSMU-0093	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “permanent failure” status report for a TP-SRR scheme in a single 8 bit PDU message.  
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive permanent failure status report - PDU(104)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportPermanentFailureSinglePDU
+END_TESTCASE SMS-GSMU-0093
+
+
+START_TESTCASE SMS-GSMU-0094
+//!@SYMTestCaseID SMS-GSMU-0094	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “completed” for a TP-SRR scheme in a single 8 bit PDU message.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive temporary failure status report - PDU(105)
+//6. Receive completed status report - PDU(106)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure.  However, a notification is generated after receiving the completed status report.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailureCompletedSinglePDU
+END_TESTCASE SMS-GSMU-0094
+
+
+START_TESTCASE SMS-GSMU-0095
+//!@SYMTestCaseID SMS-GSMU-0095	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “permanent failure” for a TP-SRR scheme in a single 8 bit PDU message.  
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive temporary failure status report - PDU(107)
+//6. Receive completed status report - PDU(108)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure.  However, a notification is generated after receiving the permanent failure status report.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailurePermanentFailureSinglePDU
+END_TESTCASE SMS-GSMU-0095
+
+
+START_TESTCASE SMS-GSMU-0097
+//!@SYMTestCaseID SMS-GSMU-0097	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: third,second,first.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report for third PDU - PDU(112)
+//6. Receive completed status report for second PDU - PDU(111)
+//7. Receive completed status report for first PDU - PDU(110)
+//8. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(110).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderThirdSecondFirst
+END_TESTCASE SMS-GSMU-0097
+
+
+START_TESTCASE SMS-GSMU-0098
+//!@SYMTestCaseID SMS-GSMU-0098	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: first, second, third.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report for first PDU - PDU(113)
+//6. Receive completed status report for second PDU - PDU(114)
+//7. Receive completed status report for third PDU - PDU(115)
+//8. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(115).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderFirstSecondThird
+END_TESTCASE SMS-GSMU-0098
+
+
+START_TESTCASE SMS-GSMU-0099
+//!@SYMTestCaseID SMS-GSMU-0099	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “completed” and “temporary failure” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report for first PDU - PDU(116)
+//6. Receive temporary status report for third PDU - PDU(117)
+//7. Receive completed status report for second PDU - PDU(118)
+//8. Receive completed status report for third PDU - PDU(119)
+//9. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is only generated on receiving PDU(119).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsTemporyFailureOnThird
+END_TESTCASE SMS-GSMU-0099
+
+
+START_TESTCASE SMS-GSMU-0100
+//!@SYMTestCaseID SMS-GSMU-0100	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in last PDU only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and TP-SRR set in last segment.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report for last PDU - PDU(120)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportCompletedLastOnly
+END_TESTCASE SMS-GSMU-0100
+
+
+START_TESTCASE SMS-GSMU-0101
+//!@SYMTestCaseID SMS-GSMU-0101	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “temporary failure” and “completed” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and TP-SRR set in last segment.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive temporary status report for last PDU - PDU(121)
+//6. Receive completed status report for last PDU - PDU(122)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification is only received on receiving PDU(122).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenCompletedLastOnly
+END_TESTCASE SMS-GSMU-0101
+
+
+START_TESTCASE SMS-GSMU-0102
+//!@SYMTestCaseID SMS-GSMU-0102	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “permanent failure” status report for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and TP-SRR set in last segment.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report for last PDU - PDU(123)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportPermanentFailureLastPDUOnly
+END_TESTCASE SMS-GSMU-0102
+
+
+START_TESTCASE SMS-GSMU-0103
+//!@SYMTestCaseID SMS-GSMU-0103	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “temporary failure” and “permanent failure” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and TP-SRR set in last segment.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive temporary status report for last PDU - PDU(124)
+//6. Receive permanent failure status report for last PDU - PDU(125)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification is only received on receiving PDU(125).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenPermanentFailureLastOnly
+END_TESTCASE SMS-GSMU-0103
+
+
+START_TESTCASE SMS-GSMU-0104
+//!@SYMTestCaseID SMS-GSMU-0104	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive “completed” status reports for the first and last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and TP-SRR set in last segment.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report for first PDU - PDU(126)
+//6. Receive completed status report for last PDU - PDU(127)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification is only received on receiving PDU(127).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSetForLastOnly
+END_TESTCASE SMS-GSMU-0104
+
+
+START_TESTCASE SMS-GSMU-0107
+//!@SYMTestCaseID SMS-GSMU-0107	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "completed" status report - PDU(131)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportForSinglePDUSMSCLastPDU
+END_TESTCASE SMS-GSMU-0107
+
+
+START_TESTCASE SMS-GSMU-0108
+//!@SYMTestCaseID SMS-GSMU-0108	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "permanent failure" status report - PDU(132)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceivePermanentFailureStatusReportSinglePDUSMSCLastPDU
+END_TESTCASE SMS-GSMU-0108
+
+
+START_TESTCASE SMS-GSMU-0109
+//!@SYMTestCaseID SMS-GSMU-0109	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive a "temporary failure" and a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "temporary failure" status report - PDU(133)
+//6. Receive "permanent failure" status report - PDU(134)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification isn't received after sending or after receiving the status report PDU(133).  A notification is generated on receiving PDU(134)
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailurePermanentFailureStatusReportSinglePDUSMSCScheme
+END_TESTCASE SMS-GSMU-0109
+
+
+START_TESTCASE SMS-GSMU-0110
+//!@SYMTestCaseID SMS-GSMU-0110	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//1@SYMTestCaseDesc Receive a "temporary failure" and a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "temporary failure" status report - PDU(135)
+//6. Receive "completed" status report - PDU(136)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification is only generated on receiving PDU(136)
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailureCompletedStatusReportSinglePDUSMSCScheme
+END_TESTCASE SMS-GSMU-0110
+
+
+START_TESTCASE SMS-GSMU-0112
+//!@SYMTestCaseID SMS-GSMU-0112	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: third,second,first.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive completed status report for third PDU - PDU(140)
+//6. Receive completed status report for second PDU - PDU(141)
+//7. Receive completed status report for first PDU - PDU(142)
+//8. Unmark the heap
+//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(142).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedStatusReportsSMSCScheme
+END_TESTCASE SMS-GSMU-0112
+
+
+START_TESTCASE SMS-GSMU-0114
+//!@SYMTestCaseID SMS-GSMU-0114	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive "completed" and "temporary failure" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: second, third, first.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "completed" status report for second PDU - PDU(146)
+//6. Receive "temporary failure" status report for third PDU - PDU(147)
+//7. Receive "completed" status report for first PDU - PDU(148)
+//8. Receive "completed" status report for third PDU - PDU(149)
+//9. Unmark the heap
+//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(149).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedTemporaryFailureStatusReportsSMSCScheme
+END_TESTCASE SMS-GSMU-0114
+
+
+START_TESTCASE SMS-GSMU-0115
+//!@SYMTestCaseID SMS-GSMU-0115	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "completed" status report for last PDU - PDU(150)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification isn't received after sending. The status report received is logged and a notification is generated on receiving it.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUSingleStatusReportLastPDUSMSCScheme
+END_TESTCASE SMS-GSMU-0115
+
+
+START_TESTCASE SMS-GSMU-0116
+//!@SYMTestCaseID SMS-GSMU-0116	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive "temporary failure" and "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "temporary failure" status report for last PDU - PDU(151)
+//6. Receive "completed" status report for last PDU - PDU(152)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification only received after receiving status report PDU(152).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryCompleteStatusReportLastPDUSMSCScheme
+END_TESTCASE SMS-GSMU-0116
+
+
+START_TESTCASE SMS-GSMU-0117
+//!@SYMTestCaseID SMS-GSMU-0117	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "permanent failure" status report for last PDU - PDU(153)
+//6. Unmark the heap
+//!@SYMTestExpectedResults A notification is only received after receiving status report PDU(153).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUPermanentFailureStatusReportLastPDUSMSCScheme
+END_TESTCASE SMS-GSMU-0117
+
+
+START_TESTCASE SMS-GSMU-0118
+//!@SYMTestCaseID SMS-GSMU-0118	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive "temporary failure" and "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "temporary failure" status report for last PDU - PDU(154)
+//6. Receive "permanent failure" status report for last PDU - PDU(155)
+//7. Unmark the heap
+//!@SYMTestExpectedResults A notification only received after receiving status report PDU(155).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryPermanentFailureStatusReportLastPDUSMSCScheme
+END_TESTCASE SMS-GSMU-0118
+
+
+START_TESTCASE SMS-GSMU-0119
+//!@SYMTestCaseID SMS-GSMU-0119	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive "completed" status reports for first and third PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and last only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and SMSC set in first and last segment.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "completed" status report for first PDU - PDU(156)
+//6. Receive "completed" status report for last PDU - PDU(157)
+//7. Receive "completed" status report for second PDU - PDU(158)
+//8. Unmark the heap
+//!@SYMTestExpectedResults A notification is generated on receiving PDU(157).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSMSC
+END_TESTCASE SMS-GSMU-0119
+
+
+START_TESTCASE SMS-GSMU-0120
+//!@SYMTestCaseID SMS-GSMU-0120	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive "permanent failure" status reports for first and second PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and second only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create SMS message with test data (4) and SMSC set in first and last segment.
+//3. Send the message and check request completes KErrNone 
+//4. Delete the message
+//5. Receive "permanent failure" status report for first PDU - PDU(159)
+//6. Receive "permanent failure" status report for second PDU - PDU(160)
+//7. Receive "permanent failure" status report for last PDU - PDU(161)
+//8. Unmark the heap
+//!@SYMTestExpectedResults A notification is generated on receiving PDU(160).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini PermanentFailureStatusReportForFirstAndSecondPDUSMSC
+END_TESTCASE SMS-GSMU-0120
+
+
+START_TESTCASE SMS-GSMU-0049
+//!@SYMTestCaseID SMS-GSMU-0049	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive single 8 bit PDU with TP-SRR status report scheme.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Trigger the sending of messages with sending message
+//3. Receive a message of PDU (804).
+//4. Delete the message
+//5. Unmark the heap
+//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EDefaultScheme scheme and has text of test data(2).
+RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRSingle8Bit
+END_TESTCASE SMS-GSMU-0049
+
+
+START_TESTCASE SMS-GSMU-0058
+//!@SYMTestCaseID SMS-GSMU-0058	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with no status report scheme.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Trigger receive by sending a message PDU(1)
+//3. Receive PDUs (826-828) the message and check request completes KErrNone
+//4. Check message contains text of test data (4) and has TSmsStatusReportScheme::EDefaultScheme scheme.
+//5. Delete the message
+//6. Unmark the heap
+//!@SYMTestExpectedResults The message is verified as containing test data (4) and is found to have TSmsStatusReportScheme::EDefaultScheme status report scheme set.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8Bit
+END_TESTCASE SMS-GSMU-0058
+
+
+START_TESTCASE SMS-GSMU-0061
+//!@SYMTestCaseID SMS-GSMU-0061	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Trigger receive by sending a message
+//3. Receive PDUs (32-34) and check request completes successfully
+//4. Check message it has text data = test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
+//5. Delete the message
+//6. Unmark the heap
+//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple7Bit
+END_TESTCASE SMS-GSMU-0061
+
+
+START_TESTCASE SMS-GSMU-0070
+//!@SYMTestCaseID SMS-GSMU-0070	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with TP-SRR scheme set in the third (last) PDU only.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Trigger receiving by sending a message
+//3. Receive a message PDUs(844-846) and check message is received ok.
+//4. Check message has TSmsStatusReportScheme::ETPSRRScheme scheme set only in last PDU.
+//5. Delete the message
+//6. Unmark the heap
+//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set in third segment only.
+RUN_TEST_STEP  100 TE_smsprt TestDeliversWithTPSRRScheme z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8BitLastPDU
+END_TESTCASE SMS-GSMU-0070
+
+
+START_TESTCASE SMS-GSMU-0051
+//!@SYMTestCaseID SMS-GSMU-0051	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (3)
+//3. Set the scheme to TSmsStatusReportScheme::EControlParametersScheme and value = 0x00
+//4. Send the message check request completes KErrNone 
+//5. Delete the message.
+//6. Unmark the heap
+//!@SYMTestExpectedResults The message is sent successfully - SIMTSY has verified the format and correctness of the PDU = PDU(805) - it contains an SMSC control element with a value of 0x00.
+RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeSinglePDUNoBitSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUNoBitSet
+END_TESTCASE SMS-GSMU-0051
+
+
+START_TESTCASE SMS-GSMU-0052
+//!@SYMTestCaseID SMS-GSMU-0052
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive single 7 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Receive a message of PDU.
+//3. Test that the scheme is set to SMSC and the status report = 0x00.
+//4. Delete the message
+//5. Unmark the heap
+//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemSinglePDU
+END_TESTCASE SMS-GSMU-0052
+
+
+START_TESTCASE SMS-GSMU-0055
+//!@SYMTestCaseID SMS-GSMU-0055	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme with status report requested for every possible combination, i.e. ESmsStatusReportTransactionCompleted=0x01,  ESmsStatusReportPermanentError, ESmsStatusReportTemporaryError, ESmsStatusReportTemporaryErrorSCTrying, ESmsStatusReportForFutureUse1, ESmsStatusReportForFutureUse2, ESmsStatusReportCancelRestSRR, ESmsStatusReportIncludeOriginalUDH, ESmsSelectiveStatusReportMask.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (2)
+//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme
+//3. For each configuration of TSmsSMSCControlParameters
+//  3.1 Set value
+//  3.2 Send the message
+//  3.3 Delete the message.
+//4. Unmark the heap
+//!@SYMTestExpectedResults The messages configuration is set for all values up to ESmsStatusReportTemporaryErrorSCTrying.  The messages are sent successfully and SIMTSY has verified the format and correctness of the PDU - PDU(806-813) that it contains an SMSC control element with the corresponding SMSC control parameter value.
+RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeSinglePDUSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUSomeBitsSet
+END_TESTCASE SMS-GSMU-0055
+
+
+START_TESTCASE SMS-GSMU-0056
+//!@SYMTestCaseID SMS-GSMU-0056
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive single 8 bit PDU messages with SMSC status report scheme set with status report requested for the lowest 4 bits that is 0x0F
+//!@SYMTestActions
+//1. Mark the heap
+//2. Receive a message of PDU.
+//3. Test that the scheme is set to SMSC and the status report = 0x0F.
+//4. Delete the message
+//5. Unmark the heap
+//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x0F.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemSinglePDU
+END_TESTCASE SMS-GSMU-0056
+
+
+START_TESTCASE SMS-GSMU-0064
+//!@SYMTestCaseID SMS-GSMU-0064	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Send 8 bit multiple PDU message with SMSC status report scheme and set to not requesting status reports, i.e. 0x00.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (4)
+//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme scheme and with value 0x00
+//4. Send the message and check request completes KErrNone 
+//5. Delete the message
+//6. Unmark the heap
+//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs (835-837) that it contains SMSC IE in every PDU and with value of 0x00.
+RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeMultiplePDU
+END_TESTCASE SMS-GSMU-0064
+
+
+START_TESTCASE SMS-GSMU-0065
+//!@SYMTestCaseID SMS-GSMU-0065
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with SMSC status report scheme and all PDUs set to not requesting status reports, i.e. 0x00.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Receive a message of PDU.
+//3. Test that the scheme is set to SMSC and the status report = 0x00 for all the PDUs.
+//4. Delete the message
+//5. Unmark the heap
+//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
+RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemeMultiplePDU
+END_TESTCASE SMS-GSMU-0065
+
+
+START_TESTCASE SMS-GSMU-0071
+//!@SYMTestCaseID SMS-GSMU-0071	
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TSmsStatusReportScheme::EControlParametersScheme status report scheme for first and last PDU and set to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Create the message with test data (4)
+//3. Set SMSC scheme for first and last PDU or segment and set values to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
+//4. Send the message and check request completes KErrNone 
+//5. Delete the message
+//6. Unmark the heap
+//!@SYMTestExpectedResults The message sent is verified by SimTSY by receving PDUs (47-49) which contain SMSC scheme for first and last PDU with values ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
+RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send7BitSMSCSchemeMultiplePDU
+END_TESTCASE SMS-GSMU-0071
+
+
+START_TESTCASE SMS-GSMU-0074
+//!@SYMTestCaseID SMS-GSMU-0074
+//!@SYMFssID CR0205	
+//!@SYMTestPriority High
+//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with SMSC status report scheme set in first and second PDU only and with values ESmsStatusReportForFutureUse2 and ESmsStatusReportCancelRestSRR respectively.
+//!@SYMTestActions
+//1. Mark the heap
+//2. Receive a message of PDU.
+//3. Test that the scheme is set to SMSC and the status report = 0x20 for the first PDU and 0x80 for the second PDU.
+//4. Delete the message
+//5. Unmark the heap
+//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value = 0x20 for the first PDU and 0x80 for the second PDU.
+RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemMultiplePDU
+END_TESTCASE SMS-GSMU-0074
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0123
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0123
+//!@SYMDEF INC091449
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace in mid range
+//!@SYMTestActions Set the disk space to below the high limit, receive class 0, attempt to receive class 2, raise disk space and receive class 2.
+//!@SYMTestExpectedResults Class0 message received, class2 rejected until disk space is increased.
+RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceMidRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber131
+END_TESTCASE SMS-SMSS-SMSPROT-0123
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0124
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0124
+//!@SYMDEF INC091449
+//!@SYMTestPriority Critical
+//!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace below the mid range. 
+//!@SYMTestActions Set the disk space to below the low limit, attempt to receive class 0 and class 2, raise disk space and receive class 0 and class 2.
+//!@SYMTestExpectedResults Class0 and class2 messages rejected when disk space below the low limit, received when disk space increases.
+RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceLowRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber132
+END_TESTCASE SMS-SMSS-SMSPROT-0124
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0125
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0125
+//!@SYMDEF INC100061
+//!@SYMTestCaseDesc Tests receiving corrupt PDUs to ensure the stack does not crash.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Receives SMSs that are invalid and then 1 that is valid.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCorruptPDUs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber133
+END_TESTCASE SMS-SMSS-SMSPROT-0125
+
+START_TESTCASE SMS-SMSS-SMSPROT-0126
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0126
+//!@SYMDEF INC103598
+//!@SYMTestCaseDesc Tests receiving a series of PDUs when the assembly store gets congested.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Ensures that the resume code can restart reception when the store has been full.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestCongestedReceive z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber141
+END_TESTCASE SMS-SMSS-SMSPROT-0126
+
+START_TESTCASE SMS-SMSS-SMSPROT-0127
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0127
+//!@SYMDEF INC117178
+//!@SYMTestCaseDesc Test Binary Tx And Rx
+//!@SYMTestPriority critical
+//!@SYMTestActions Test binary transmit and receive
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestBinaryTxAndRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber142
+END_TESTCASE SMS-SMSS-SMSPROT-0127
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0128
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0128
+//!@SYMDEF INC119830
+//!@SYMTestCaseDesc Test boundary condition, GSMU encoder completely fills a PDU, then attempts to add a format IE. 
+//!@SYMTestPriority critical
+//!@SYMTestActions GSMU encodes a PDU until it is full, then attempts to add an format IE, the format IE and its associated text should be encoded in a new PDU.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestEncodingPDUonBoundary z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber143
+END_TESTCASE SMS-SMSS-SMSPROT-0128
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0129
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0129
+//!@SYMDEF INC123727
+//!@SYMTestCaseDesc Tests that a PDU can be received if it has an invalid or reserved IE number.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Receives the PDU which has a reserved IE number.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 500 TE_smsprt TestReceiveInvalidOrReservedIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber144
+END_TESTCASE SMS-SMSS-SMSPROT-0129
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0150
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0150
+//!@SYMREQ PREQ2265
+//!@SYMTestCaseDesc Tests that standard GSM characters can be sent and received using 7bit without loss of characters.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber150
+END_TESTCASE SMS-SMSS-SMSPROT-0150
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0151
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0151
+//!@SYMREQ PREQ2265
+//!@SYMTestCaseDesc Tests that standard 8bit characters can be sent and received without loss of characters.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates various messages based on Code Page 1252 characters, sends/receives them and compares the contents.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 1200 TE_smsprt TestEncoding8bitCodePage1252 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber151
+END_TESTCASE SMS-SMSS-SMSPROT-0151
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0152
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0152
+//!@SYMREQ PREQ2265
+//!@SYMTestCaseDesc Tests that standard unicode characters can be sent and received without loss of characters.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates various messages based various characters, sends/receives them and compares the contents.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 1800 TE_smsprt TestEncodingUnicode z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber152
+END_TESTCASE SMS-SMSS-SMSPROT-0152
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0153
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0153
+//!@SYMREQ PREQ2265
+//!@SYMTestCaseDesc Tests that unconvertible GSM characters can be sent using 7bit by being set to the replacement character.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates various messages based on unconvertible GSM characters, sends/receives them and compares the contents.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitUnconvertibleGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber153
+END_TESTCASE SMS-SMSS-SMSPROT-0153
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0154
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0154
+//!@SYMREQ PREQ2265
+//!@SYMTestCaseDesc Tests that non-standard GSM characters can be sent and received using 7bit with downgraded conversions.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitNonStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber154
+END_TESTCASE SMS-SMSS-SMSPROT-0154
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0155
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0155
+//!@SYMREQ PREQ2265
+//!@SYMTestCaseDesc Tests that Turkish characters can be sent and received using 7bit without loss of characters.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates various messages based on Turkish characters, sends/receives them and compares the contents.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 4500 TE_smsprt TestEncoding7bitTurkishNationalLanguage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber155
+END_TESTCASE SMS-SMSS-SMSPROT-0155
+
+START_TESTCASE SMS-SMSS-SMSPROT-0156
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0156
+//!@SYMDEF DEF129817
+//!@SYMTestCaseDesc Tests that unconverted characters are counted correctly when Turkish is enabled.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates various messages with some Turkish and unconvertible characters, sends/receives them and compares the contents.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 600 TE_smsprt TestEncoding7bitTurkishAndUnconvertible z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber156
+END_TESTCASE SMS-SMSS-SMSPROT-0156
+
+
+START_TESTCASE SMS-SMSS-SMSPROT-0157
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0157
+//!@SYMDEF DEF128736
+//!@SYMTestCaseDesc Tests that messages can be received if different DCS values are used.
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates 3 messages with each DCS and then receives 3 mixed DCS messages.
+//!@SYMTestExpectedResults Pass
+//!@SYMTestType CT
+RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageWithDifferentEncodings z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber157
+END_TESTCASE SMS-SMSS-SMSPROT-0157
+
+START_TESTCASE SMS-SMSS-SMSPROT-0159
+//!@SYMTestCaseID SMS-SMSS-SMSPROT-0159
+//!@SYMDEF DEF137787
+//!@SYMTestCaseDesc Tests that closing a socket before reading message does not orphan them in the SAR store
+//!@SYMTestPriority Critical
+//!@SYMTestActions Generates a message which is requested by client before and after closure of socket.
+//!@SYMTestExpectedResults The message should be able to be requested and read after closure of socket.
+//!@SYMTestType CT
+RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageAfterSocketClosure z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber159
+END_TESTCASE SMS-SMSS-SMSPROT-0159
+
+START_TESTCASE SMS-SMSS-SMSPROT-0160
+//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0160
+//! @SYMTestType                CT
+//! @SYMTestPriority            Critical
+//! @SYMTestCaseDesc            Test to ensure that the Turkish, Spanish and Portuguese 7 bit character conversion libraries are being used with SMS send and receive
+//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
+//!                           Version tb92 and later
+//! @SYMTestExpectedResults     Pass
+//! @SYMTestDesignTechnique     Error Guessing
+//! @SYMCR                      CR2040
+RUN_TEST_STEP 100 TE_smsprt TestEncoding7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber160
+END_TESTCASE SMS-SMSS-SMSPROT-0160
+
+START_TESTCASE SMS-SMSS-SMSPROT-0161
+//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0161
+//! @SYMTestType                CT
+//! @SYMTestPriority            High
+//! @SYMTestCaseDesc            Multiple PDU SMS test - tests that when a shift character might spans two PDU's it is added to the next PDU rather than split the two bytes between PDUs - also tests that the cheapest coding is used when ESmsEncodingPortugueseLockingAndSingleShift is requested.
+//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
+//!                           Version tb92 and later
+//! @SYMTestExpectedResults     Pass
+//! @SYMTestDesignTechnique     Boundary Value Analysis
+//! @SYMCR                      CR2040
+RUN_TEST_STEP 100 TE_smsprt TestEncodingMultiPDUwith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber161
+END_TESTCASE SMS-SMSS-SMSPROT-0161
+
+START_TESTCASE SMS-SMSS-SMSPROT-0162
+//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0162
+//! @SYMTestType                CT
+//! @SYMTestPriority            Critical
+//! @SYMTestCaseDesc            Test to ensure that Turkish, Spanish and Portuguese characters are downgraded when ESmsEncodingNone is used
+//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
+//!                           Version tb92 and later
+//! @SYMTestExpectedResults     Pass
+//! @SYMTestDesignTechnique     Error Guessing
+//! @SYMCR                      CR2040
+RUN_TEST_STEP 100 TE_smsprt TestEncodingDowngradedWith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber162
+END_TESTCASE SMS-SMSS-SMSPROT-0162
+
+START_TESTCASE SMS-SMSS-SMSPROT-0163
+//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0163
+//! @SYMTestType                CT
+//! @SYMTestPriority            High
+//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when locking and shift characters are present in the message and ESmsEncodingPortugueseLockingAndSingleShift encoding is requested
+//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
+//!                           Version tb92 and later
+//! @SYMTestExpectedResults     Pass
+//! @SYMTestDesignTechnique     Error Guessing
+//! @SYMCR                      CR2040
+RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndShift7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber163
+END_TESTCASE SMS-SMSS-SMSPROT-0163
+
+START_TESTCASE SMS-SMSS-SMSPROT-0164
+//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0164
+//! @SYMTestType                CT
+//! @SYMTestPriority            High
+//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but locking and shift characters are not present in the message.
+//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
+//!                           Version tb92 and later
+//! @SYMTestExpectedResults     Pass
+//! @SYMTestDesignTechnique     Error Guessing
+//! @SYMCR                      CR2040
+RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndDowngrade7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber164
+END_TESTCASE SMS-SMSS-SMSPROT-0164
+
+START_TESTCASE SMS-SMSS-SMSPROT-0165
+//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0165
+//! @SYMTestType                CT
+//! @SYMTestPriority            High
+//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but non- Turkish characters that would be downgraded are present
+//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
+//!                           Version tb92 and later
+//! @SYMTestExpectedResults     Pass
+//! @SYMTestDesignTechnique     Error Guessing
+//! @SYMCR                      CR2040
+RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndUnconvertible7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber165
+END_TESTCASE SMS-SMSS-SMSPROT-0165
+
+RUN_SCRIPT  z:\testdata\scripts\smsstackcleanprivatedata.script
--- a/smsprotocols/smsstack/smsprot/Test/TE_Smsprt/te_smsprt_gsmu.script	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,767 +0,0 @@
-// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-RUN_SCRIPT z:\TestData\Scripts\TE_smsprt_setup.script
-
-LOAD_SUITE TE_smsprt -SharedData
-
-//!@file
-
-START_TESTCASE SMS-GSMU-0046
-//!@SYMTestCaseID SMS-GSMU-0046	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Send single 7 bit PDU with TP-SRR status report scheme.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (2)
-//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
-//4. Set Default to zero and set the last segment
-//5. Send the message
-//6. Check request completes with KErrNone 
-//7. Delete the message.
-//8. Unmark the heap
-//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (3).
-RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeSinglePDU
-
-END_TESTCASE SMS-GSMU-0046
-
-START_TESTCASE SMS-GSMU-0047
-//!@SYMTestCaseID SMS-GSMU-0047	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Send single 8 bit PDU with TP-SRR status report scheme.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (3)
-//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
-//4. Set Default to zero and set the last segment
-//5. Send the message
-//6. Check request completes with KErrNone 
-//7. Delete the message.
-//8. Unmark the heap
-//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (803).
-RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeSinglePDU
-
-END_TESTCASE SMS-GSMU-0047
-
-START_TESTCASE SMS-GSMU-0059
-//!@SYMTestCaseID SMS-GSMU-0059	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (4)
-//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
-//4. Send the message
-//5. Check request completes KErrNone 
-//6. Delete the message
-//7. Unmark the heap
-//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (29-31).
-RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeMultiplePDU
-
-END_TESTCASE SMS-GSMU-0059
-
-START_TESTCASE SMS-GSMU-0060
-//!@SYMTestCaseID SMS-GSMU-0060	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR status report scheme set in all segments.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (4)
-//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
-//4. Send the message
-//5. Check request completes KErrNone 
-//6. Delete the message
-//7. Unmark the heap
-//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (829-831).
-RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeMultiplePDU
-
-END_TESTCASE SMS-GSMU-0060
-
-START_TESTCASE SMS-GSMU-0067
-//!@SYMTestCaseID SMS-GSMU-0067
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (4)
-//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero.
-//4. Set TP-SRR for last segment only.
-//5. Send the message and check request completes KErrNone 
-//6. Delete the message
-//7. Unmark the heap
-//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(41-43) that it contains TP-SRR scheme set only in last segment.
-RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeLastPDU
-END_TESTCASE SMS-GSMU-0067
-
-
-START_TESTCASE SMS-GSMU-0068
-//!@SYMTestCaseID SMS-GSMU-0068	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (4)
-//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero. 
-//4. Use function which sets the last segment.
-//5. Set TP-SRR for last segment only.
-//6. Send the message and check request completes KErrNone 
-//7. Delete the message
-//8. Unmark the heap
-//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(841-843) that it contains TP-SRR scheme set only in last segment.
-RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeLastPDU
-
-// -------------------------------------------------------------------------------------------------------
-END_TESTCASE SMS-GSMU-0068
-
-
-START_TESTCASE SMS-GSMU-0092
-//!@SYMTestCaseID SMS-GSMU-0092	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive a “completed” status report for a TP-SRR scheme in a single 8bit PDU message.    
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report - PDU(103)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportCompletedSinglePDU
-END_TESTCASE SMS-GSMU-0092
-
-
-START_TESTCASE SMS-GSMU-0093
-//!@SYMTestCaseID SMS-GSMU-0093	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “permanent failure” status report for a TP-SRR scheme in a single 8 bit PDU message.  
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive permanent failure status report - PDU(104)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportPermanentFailureSinglePDU
-END_TESTCASE SMS-GSMU-0093
-
-
-START_TESTCASE SMS-GSMU-0094
-//!@SYMTestCaseID SMS-GSMU-0094	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “completed” for a TP-SRR scheme in a single 8 bit PDU message.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive temporary failure status report - PDU(105)
-//6. Receive completed status report - PDU(106)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure.  However, a notification is generated after receiving the completed status report.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailureCompletedSinglePDU
-END_TESTCASE SMS-GSMU-0094
-
-
-START_TESTCASE SMS-GSMU-0095
-//!@SYMTestCaseID SMS-GSMU-0095	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “permanent failure” for a TP-SRR scheme in a single 8 bit PDU message.  
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive temporary failure status report - PDU(107)
-//6. Receive completed status report - PDU(108)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure.  However, a notification is generated after receiving the permanent failure status report.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailurePermanentFailureSinglePDU
-END_TESTCASE SMS-GSMU-0095
-
-
-START_TESTCASE SMS-GSMU-0097
-//!@SYMTestCaseID SMS-GSMU-0097	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: third,second,first.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report for third PDU - PDU(112)
-//6. Receive completed status report for second PDU - PDU(111)
-//7. Receive completed status report for first PDU - PDU(110)
-//8. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(110).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderThirdSecondFirst
-END_TESTCASE SMS-GSMU-0097
-
-
-START_TESTCASE SMS-GSMU-0098
-//!@SYMTestCaseID SMS-GSMU-0098	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: first, second, third.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report for first PDU - PDU(113)
-//6. Receive completed status report for second PDU - PDU(114)
-//7. Receive completed status report for third PDU - PDU(115)
-//8. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(115).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderFirstSecondThird
-END_TESTCASE SMS-GSMU-0098
-
-
-START_TESTCASE SMS-GSMU-0099
-//!@SYMTestCaseID SMS-GSMU-0099	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “completed” and “temporary failure” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report for first PDU - PDU(116)
-//6. Receive temporary status report for third PDU - PDU(117)
-//7. Receive completed status report for second PDU - PDU(118)
-//8. Receive completed status report for third PDU - PDU(119)
-//9. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is only generated on receiving PDU(119).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsTemporyFailureOnThird
-END_TESTCASE SMS-GSMU-0099
-
-
-START_TESTCASE SMS-GSMU-0100
-//!@SYMTestCaseID SMS-GSMU-0100	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in last PDU only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and TP-SRR set in last segment.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report for last PDU - PDU(120)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportCompletedLastOnly
-END_TESTCASE SMS-GSMU-0100
-
-
-START_TESTCASE SMS-GSMU-0101
-//!@SYMTestCaseID SMS-GSMU-0101	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “temporary failure” and “completed” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and TP-SRR set in last segment.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive temporary status report for last PDU - PDU(121)
-//6. Receive completed status report for last PDU - PDU(122)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification is only received on receiving PDU(122).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenCompletedLastOnly
-END_TESTCASE SMS-GSMU-0101
-
-
-START_TESTCASE SMS-GSMU-0102
-//!@SYMTestCaseID SMS-GSMU-0102	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “permanent failure” status report for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and TP-SRR set in last segment.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report for last PDU - PDU(123)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportPermanentFailureLastPDUOnly
-END_TESTCASE SMS-GSMU-0102
-
-
-START_TESTCASE SMS-GSMU-0103
-//!@SYMTestCaseID SMS-GSMU-0103	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “temporary failure” and “permanent failure” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and TP-SRR set in last segment.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive temporary status report for last PDU - PDU(124)
-//6. Receive permanent failure status report for last PDU - PDU(125)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification is only received on receiving PDU(125).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenPermanentFailureLastOnly
-END_TESTCASE SMS-GSMU-0103
-
-
-START_TESTCASE SMS-GSMU-0104
-//!@SYMTestCaseID SMS-GSMU-0104	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive “completed” status reports for the first and last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and TP-SRR set in last segment.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report for first PDU - PDU(126)
-//6. Receive completed status report for last PDU - PDU(127)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification is only received on receiving PDU(127).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSetForLastOnly
-END_TESTCASE SMS-GSMU-0104
-
-
-START_TESTCASE SMS-GSMU-0107
-//!@SYMTestCaseID SMS-GSMU-0107	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "completed" status report - PDU(131)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportForSinglePDUSMSCLastPDU
-END_TESTCASE SMS-GSMU-0107
-
-
-START_TESTCASE SMS-GSMU-0108
-//!@SYMTestCaseID SMS-GSMU-0108	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "permanent failure" status report - PDU(132)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceivePermanentFailureStatusReportSinglePDUSMSCLastPDU
-END_TESTCASE SMS-GSMU-0108
-
-
-START_TESTCASE SMS-GSMU-0109
-//!@SYMTestCaseID SMS-GSMU-0109	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive a "temporary failure" and a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "temporary failure" status report - PDU(133)
-//6. Receive "permanent failure" status report - PDU(134)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification isn't received after sending or after receiving the status report PDU(133).  A notification is generated on receiving PDU(134)
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailurePermanentFailureStatusReportSinglePDUSMSCScheme
-END_TESTCASE SMS-GSMU-0109
-
-
-START_TESTCASE SMS-GSMU-0110
-//!@SYMTestCaseID SMS-GSMU-0110	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//1@SYMTestCaseDesc Receive a "temporary failure" and a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "temporary failure" status report - PDU(135)
-//6. Receive "completed" status report - PDU(136)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification is only generated on receiving PDU(136)
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailureCompletedStatusReportSinglePDUSMSCScheme
-END_TESTCASE SMS-GSMU-0110
-
-
-START_TESTCASE SMS-GSMU-0112
-//!@SYMTestCaseID SMS-GSMU-0112	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: third,second,first.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive completed status report for third PDU - PDU(140)
-//6. Receive completed status report for second PDU - PDU(141)
-//7. Receive completed status report for first PDU - PDU(142)
-//8. Unmark the heap
-//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(142).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedStatusReportsSMSCScheme
-END_TESTCASE SMS-GSMU-0112
-
-
-START_TESTCASE SMS-GSMU-0114
-//!@SYMTestCaseID SMS-GSMU-0114	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive "completed" and "temporary failure" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: second, third, first.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "completed" status report for second PDU - PDU(146)
-//6. Receive "temporary failure" status report for third PDU - PDU(147)
-//7. Receive "completed" status report for first PDU - PDU(148)
-//8. Receive "completed" status report for third PDU - PDU(149)
-//9. Unmark the heap
-//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(149).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedTemporaryFailureStatusReportsSMSCScheme
-END_TESTCASE SMS-GSMU-0114
-
-
-START_TESTCASE SMS-GSMU-0115
-//!@SYMTestCaseID SMS-GSMU-0115	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "completed" status report for last PDU - PDU(150)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification isn't received after sending. The status report received is logged and a notification is generated on receiving it.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUSingleStatusReportLastPDUSMSCScheme
-END_TESTCASE SMS-GSMU-0115
-
-
-START_TESTCASE SMS-GSMU-0116
-//!@SYMTestCaseID SMS-GSMU-0116	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive "temporary failure" and "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "temporary failure" status report for last PDU - PDU(151)
-//6. Receive "completed" status report for last PDU - PDU(152)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification only received after receiving status report PDU(152).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryCompleteStatusReportLastPDUSMSCScheme
-END_TESTCASE SMS-GSMU-0116
-
-
-START_TESTCASE SMS-GSMU-0117
-//!@SYMTestCaseID SMS-GSMU-0117	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "permanent failure" status report for last PDU - PDU(153)
-//6. Unmark the heap
-//!@SYMTestExpectedResults A notification is only received after receiving status report PDU(153).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUPermanentFailureStatusReportLastPDUSMSCScheme
-END_TESTCASE SMS-GSMU-0117
-
-
-START_TESTCASE SMS-GSMU-0118
-//!@SYMTestCaseID SMS-GSMU-0118	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive "temporary failure" and "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "temporary failure" status report for last PDU - PDU(154)
-//6. Receive "permanent failure" status report for last PDU - PDU(155)
-//7. Unmark the heap
-//!@SYMTestExpectedResults A notification only received after receiving status report PDU(155).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryPermanentFailureStatusReportLastPDUSMSCScheme
-END_TESTCASE SMS-GSMU-0118
-
-
-START_TESTCASE SMS-GSMU-0119
-//!@SYMTestCaseID SMS-GSMU-0119	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive "completed" status reports for first and third PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and last only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and SMSC set in first and last segment.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "completed" status report for first PDU - PDU(156)
-//6. Receive "completed" status report for last PDU - PDU(157)
-//7. Receive "completed" status report for second PDU - PDU(158)
-//8. Unmark the heap
-//!@SYMTestExpectedResults A notification is generated on receiving PDU(157).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSMSC
-END_TESTCASE SMS-GSMU-0119
-
-
-START_TESTCASE SMS-GSMU-0120
-//!@SYMTestCaseID SMS-GSMU-0120	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive "permanent failure" status reports for first and second PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and second only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create SMS message with test data (4) and SMSC set in first and last segment.
-//3. Send the message and check request completes KErrNone 
-//4. Delete the message
-//5. Receive "permanent failure" status report for first PDU - PDU(159)
-//6. Receive "permanent failure" status report for second PDU - PDU(160)
-//7. Receive "permanent failure" status report for last PDU - PDU(161)
-//8. Unmark the heap
-//!@SYMTestExpectedResults A notification is generated on receiving PDU(160).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini PermanentFailureStatusReportForFirstAndSecondPDUSMSC
-END_TESTCASE SMS-GSMU-0120
-
-
-START_TESTCASE SMS-GSMU-0049
-//!@SYMTestCaseID SMS-GSMU-0049	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive single 8 bit PDU with TP-SRR status report scheme.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Trigger the sending of messages with sending message
-//3. Receive a message of PDU (804).
-//4. Delete the message
-//5. Unmark the heap
-//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EDefaultScheme scheme and has text of test data(2).
-RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRSingle8Bit
-END_TESTCASE SMS-GSMU-0049
-
-
-START_TESTCASE SMS-GSMU-0058
-//!@SYMTestCaseID SMS-GSMU-0058	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with no status report scheme.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Trigger receive by sending a message PDU(1)
-//3. Receive PDUs (826-828) the message and check request completes KErrNone
-//4. Check message contains text of test data (4) and has TSmsStatusReportScheme::EDefaultScheme scheme.
-//5. Delete the message
-//6. Unmark the heap
-//!@SYMTestExpectedResults The message is verified as containing test data (4) and is found to have TSmsStatusReportScheme::EDefaultScheme status report scheme set.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8Bit
-END_TESTCASE SMS-GSMU-0058
-
-
-START_TESTCASE SMS-GSMU-0061
-//!@SYMTestCaseID SMS-GSMU-0061	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Trigger receive by sending a message
-//3. Receive PDUs (32-34) and check request completes successfully
-//4. Check message it has text data = test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
-//5. Delete the message
-//6. Unmark the heap
-//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple7Bit
-END_TESTCASE SMS-GSMU-0061
-
-
-START_TESTCASE SMS-GSMU-0070
-//!@SYMTestCaseID SMS-GSMU-0070	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with TP-SRR scheme set in the third (last) PDU only.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Trigger receiving by sending a message
-//3. Receive a message PDUs(844-846) and check message is received ok.
-//4. Check message has TSmsStatusReportScheme::ETPSRRScheme scheme set only in last PDU.
-//5. Delete the message
-//6. Unmark the heap
-//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set in third segment only.
-RUN_TEST_STEP  100 TE_smsprt TestDeliversWithTPSRRScheme z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8BitLastPDU
-END_TESTCASE SMS-GSMU-0070
-
-
-START_TESTCASE SMS-GSMU-0051
-//!@SYMTestCaseID SMS-GSMU-0051	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (3)
-//3. Set the scheme to TSmsStatusReportScheme::EControlParametersScheme and value = 0x00
-//4. Send the message check request completes KErrNone 
-//5. Delete the message.
-//6. Unmark the heap
-//!@SYMTestExpectedResults The message is sent successfully - SIMTSY has verified the format and correctness of the PDU = PDU(805) - it contains an SMSC control element with a value of 0x00.
-RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeSinglePDUNoBitSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUNoBitSet
-END_TESTCASE SMS-GSMU-0051
-
-
-START_TESTCASE SMS-GSMU-0052
-//!@SYMTestCaseID SMS-GSMU-0052
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive single 7 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Receive a message of PDU.
-//3. Test that the scheme is set to SMSC and the status report = 0x00.
-//4. Delete the message
-//5. Unmark the heap
-//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemSinglePDU
-END_TESTCASE SMS-GSMU-0052
-
-
-START_TESTCASE SMS-GSMU-0055
-//!@SYMTestCaseID SMS-GSMU-0055	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme with status report requested for every possible combination, i.e. ESmsStatusReportTransactionCompleted=0x01,  ESmsStatusReportPermanentError, ESmsStatusReportTemporaryError, ESmsStatusReportTemporaryErrorSCTrying, ESmsStatusReportForFutureUse1, ESmsStatusReportForFutureUse2, ESmsStatusReportCancelRestSRR, ESmsStatusReportIncludeOriginalUDH, ESmsSelectiveStatusReportMask.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (2)
-//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme
-//3. For each configuration of TSmsSMSCControlParameters
-//  3.1 Set value
-//  3.2 Send the message
-//  3.3 Delete the message.
-//4. Unmark the heap
-//!@SYMTestExpectedResults The messages configuration is set for all values up to ESmsStatusReportTemporaryErrorSCTrying.  The messages are sent successfully and SIMTSY has verified the format and correctness of the PDU - PDU(806-813) that it contains an SMSC control element with the corresponding SMSC control parameter value.
-RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeSinglePDUSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUSomeBitsSet
-END_TESTCASE SMS-GSMU-0055
-
-
-START_TESTCASE SMS-GSMU-0056
-//!@SYMTestCaseID SMS-GSMU-0056
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive single 8 bit PDU messages with SMSC status report scheme set with status report requested for the lowest 4 bits that is 0x0F
-//!@SYMTestActions
-//1. Mark the heap
-//2. Receive a message of PDU.
-//3. Test that the scheme is set to SMSC and the status report = 0x0F.
-//4. Delete the message
-//5. Unmark the heap
-//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x0F.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemSinglePDU
-END_TESTCASE SMS-GSMU-0056
-
-
-START_TESTCASE SMS-GSMU-0064
-//!@SYMTestCaseID SMS-GSMU-0064	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Send 8 bit multiple PDU message with SMSC status report scheme and set to not requesting status reports, i.e. 0x00.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (4)
-//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme scheme and with value 0x00
-//4. Send the message and check request completes KErrNone 
-//5. Delete the message
-//6. Unmark the heap
-//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs (835-837) that it contains SMSC IE in every PDU and with value of 0x00.
-RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeMultiplePDU
-END_TESTCASE SMS-GSMU-0064
-
-
-START_TESTCASE SMS-GSMU-0065
-//!@SYMTestCaseID SMS-GSMU-0065
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with SMSC status report scheme and all PDUs set to not requesting status reports, i.e. 0x00.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Receive a message of PDU.
-//3. Test that the scheme is set to SMSC and the status report = 0x00 for all the PDUs.
-//4. Delete the message
-//5. Unmark the heap
-//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
-RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemeMultiplePDU
-END_TESTCASE SMS-GSMU-0065
-
-
-START_TESTCASE SMS-GSMU-0071
-//!@SYMTestCaseID SMS-GSMU-0071	
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TSmsStatusReportScheme::EControlParametersScheme status report scheme for first and last PDU and set to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Create the message with test data (4)
-//3. Set SMSC scheme for first and last PDU or segment and set values to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
-//4. Send the message and check request completes KErrNone 
-//5. Delete the message
-//6. Unmark the heap
-//!@SYMTestExpectedResults The message sent is verified by SimTSY by receving PDUs (47-49) which contain SMSC scheme for first and last PDU with values ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
-RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send7BitSMSCSchemeMultiplePDU
-END_TESTCASE SMS-GSMU-0071
-
-
-START_TESTCASE SMS-GSMU-0074
-//!@SYMTestCaseID SMS-GSMU-0074
-//!@SYMFssID CR0205	
-//!@SYMTestPriority High
-//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with SMSC status report scheme set in first and second PDU only and with values ESmsStatusReportForFutureUse2 and ESmsStatusReportCancelRestSRR respectively.
-//!@SYMTestActions
-//1. Mark the heap
-//2. Receive a message of PDU.
-//3. Test that the scheme is set to SMSC and the status report = 0x20 for the first PDU and 0x80 for the second PDU.
-//4. Delete the message
-//5. Unmark the heap
-//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value = 0x20 for the first PDU and 0x80 for the second PDU.
-RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemMultiplePDU
-END_TESTCASE SMS-GSMU-0074
-RUN_SCRIPT  z:\testdata\scripts\smsstackcleanprivatedata.script
--- a/smsprotocols/smsstack/smsprot/Test/TE_Smsprt/te_smsprt_prot.script	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,611 +0,0 @@
-// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-RUN_SCRIPT z:\TestData\Scripts\TE_smsprt_setup.script
-
-LOAD_SUITE TE_smsprt -SharedData
-
-//!@file
-
-START_TESTCASE SMS-SMSS-SMSPROT-0158
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0158
-//!@SYMDEF INC138096
-//!@SYMTestCaseDesc Tests that a SMS can be received when the "LogDuration" is set to "No Log"
-//!@SYMTestPriority Critical
-//!@SYMTestActions Sets the Log Server to "No Log", then sends and receives a SMS, both operations should be completed successfully.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 600 TE_smsprt TestSimpleTxAndRxWithLoggingDisabled z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber158
-END_TESTCASE SMS-SMSS-SMSPROT-0158
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3072
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3072
-//!@SYMREQ REQ4917.1
-//!@SYMTestCaseDesc Test hyperlink operations interface, and SMS stack ability to handle single PDU messages with hyperlinks
-//!@SYMTestPriority high
-//!@SYMTestActions Test hyperlink API's.  Transmit and receive of single PDU message with and without hyperlinks
-//!@SYMTestExpectedResults
-//!@SYMTestCaseDependencies Sim.tsy, smsstacktestutilities.dll
-//!@SYMTestType IT
-RUN_TEST_STEP 180 TE_smsprt TestSinglePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber70
-END_TESTCASE SMS-SMSS-SMSPROT-I-3072
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3073
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3073
-//!@SYMREQ REQ4917.2
-//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without hyperlinks
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive of multiple PDU message with and without hyperlinks
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 60 TE_smsprt TestMultiplePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber71
-END_TESTCASE SMS-SMSS-SMSPROT-I-3073
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3074
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3074
-//!@SYMREQ REQ4919.1
-//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without reply address
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive of single PDU message with and without reply address
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 180 TE_smsprt TestSinglePDUReplyAddress z:\testdata\configs\te_smsprt_data.ini ReplyAddress
-END_TESTCASE SMS-SMSS-SMSPROT-I-3074
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3075
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3075
-//!@SYMREQ REQ4919.2
-//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without reply address
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive of single PDU message with and without reply address
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUReplyAddress
-END_TESTCASE SMS-SMSS-SMSPROT-I-3075
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3076
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3076
-//!@SYMREQ REQ4922.1
-//!@SYMTestCaseDesc Test operations on SMS message for special messages
-//!@SYMTestPriority high
-//!@SYMTestActions Call API's for adding, removing, counting, and copying special messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 30 TE_smsprt TestSpecialMessageWaitingOperations
-END_TESTCASE SMS-SMSS-SMSPROT-I-3076
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3077
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3077
-//!@SYMREQ REQ4922.2
-//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without special messages
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive single PDU message with and without special messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 120 TE_smsprt TestSinglePDUSpecialMessageWaiting z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber73
-END_TESTCASE SMS-SMSS-SMSPROT-I-3077
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3078
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3078
-//!@SYMREQ REQ4922.3
-//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without special messages
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive multiple PDU message with and without special messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUSpecialMessageWaiting
-END_TESTCASE SMS-SMSS-SMSPROT-I-3078
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3079
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3079
-//!@SYMREQ REQ4923.1
-//!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail information
-//!@SYMTestPriority high
-//!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail information
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailOperations z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail
-END_TESTCASE SMS-SMSS-SMSPROT-I-3079
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3080
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3080
-//!@SYMREQ REQ4923.2
-//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail information
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail information
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 180 TE_smsprt TestSinglePDUEnhancedVoiceMailInformation z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail
-END_TESTCASE SMS-SMSS-SMSPROT-I-3080
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3081
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3081
-//!@SYMREQ REQ4923.3
-//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail information
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail information
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUEnhancedVoiceMailInformation
-END_TESTCASE SMS-SMSS-SMSPROT-I-3081
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3082
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3082
-//!@SYMREQ REQ4923.4
-//!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail delete confirmations
-//!@SYMTestPriority high
-//!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail delete confirmations
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailDeleteOperations
-END_TESTCASE SMS-SMSS-SMSPROT-I-3082
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3083
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3083
-//!@SYMREQ REQ4923.5
-//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail delete confirmations
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail delete confirmations
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 120 TE_smsprt TestSinglePDUEnhancedVoiceMailDeleteConfirmation z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber75
-END_TESTCASE SMS-SMSS-SMSPROT-I-3083
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3084
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3084
-//!@SYMREQ REQ4923.6
-//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail delete confirmations
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType IT
-RUN_TEST_STEP 180 TE_smsprt TestMultiplePDUEnhancedVoiceMailDeleteConfirmation
-END_TESTCASE SMS-SMSS-SMSPROT-I-3084
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3085
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3085
-//!@SYMREQ REQ4920.1
-//!@SYMTestCaseDesc SMS stack will handle a SMS as 7 bit if no coding scheme has been specified.
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations
-//!@SYMTestExpectedResults SMS stack will handle received SMS as a 7 Bit coded message, KErrNone
-//!@SYMTestType IT
-RUN_TEST_STEP 180 TE_smsprt Test7BitDefaultAlphabet z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber76
-END_TESTCASE SMS-SMSS-SMSPROT-I-3085
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3086
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3086
-//!@SYMREQ REQ4918
-//!@SYMTestCaseDesc SMS stack will allow zero length information elements.
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive single and multiple PDU message with and zero length IE.  IE is USIM toolkit IE.
-//!@SYMTestExpectedResults Stack will accept zero length IE, add it to the list.  KErrNone
-//!@SYMTestType IT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 180 TE_smsprt TestZeroLengthIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber77
-END_TESTCASE SMS-SMSS-SMSPROT-I-3086
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3087
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3087
-//!@SYMREQ REQ4924
-//!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive single PDU message with automatic deletion. Stack allow sending these messages.  Messages received are automatically deleted, and given to the client. Class 2 messages are not deleted from the SIM - default behaviour in ESK file.
-//!@SYMTestExpectedResults Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionInDCS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber78
-END_TESTCASE SMS-SMSS-SMSPROT-I-3087
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3088
-// -----------------------------------------------------------------------------------------------------------
-//Test the configurability for automatic deletion with use of esk file
-//Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion
-// -----------------------------------------------------------------------------------------------------------
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3088
-//!@SYMREQ REQ4924
-//!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion, and set for deletion in ESK file
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive message with automatic deletion and set as so in the ESK file.
-//!@SYMTestExpectedResults Stack will delete all messages, including Class 2 messages.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-//Make a backup, copy over test ESK
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile z:\sms\smswap.sms-AutoDeletionClass2.esk c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_TEST_STEP 500 TE_smsprt TestAutomaticDeletionInDCSAndInEsk z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber79
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
-END_TESTCASE SMS-SMSS-SMSPROT-I-3088
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3089
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3089
-//!@SYMREQ REQ4921
-//!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages.
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file.
-//!@SYMTestExpectedResults Stack will send messages marked as type 0.  Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 300 TE_smsprt TestAutomaticDeletionTypeZeroSMS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber80
-
-END_TESTCASE SMS-SMSS-SMSPROT-I-3089
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3090
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3090
-//!@SYMREQ REQ4921
-//!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages.
-//!@SYMTestPriority high
-//!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file.
-//!@SYMTestExpectedResults Stack will send messages marked as type 0.  Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-//Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion
-//Make a backup, copy over test ESK
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile z:\sms\smswap.sms-AutomaticDeletionOfType0.esk c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-//Run the test step
-RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionTypeZeroAndSetInESK z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber81
-//restore orig esk file
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
-END_TESTCASE SMS-SMSS-SMSPROT-I-3090
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3091
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3091
-//!@SYMREQ REQ4923.7
-//!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a PDU (139 bytes).
-//!@SYMTestPriority high
-//!@SYMTestActions Create a 139 byte enhanced voice mail message, add it to an empty SMS message and send it.
-//!@SYMTestExpectedResults The message is sent successfully.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber83
-END_TESTCASE SMS-SMSS-SMSPROT-I-3091
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3092
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3092
-//!@SYMREQ REQ4923.8
-//!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes).
-//!@SYMTestPriority high
-//!@SYMTestActions Send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes).
-//!@SYMTestExpectedResults The message is sent successfully.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest1 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber84
-END_TESTCASE SMS-SMSS-SMSPROT-I-3092
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3093
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3093
-//!@SYMREQ REQ4924.9
-//!@SYMTestCaseDesc The SMS stack can recover from heap exhaustion when sending a SMS Messages containing R6 Information Elements.
-//!@SYMTestPriority high
-//!@SYMTestActions A message containing R6 SMS IEs is sent repeatedly. The ESOCK server is configured to fail the n th request for heap memory, (n incrementing each time the message is sent). The test therefore checks that the stack can recover gracefully from heap exhaustion at every location that memory can be allocated.
-//!@SYMTestExpectedResults Assume that sending a R6 SMS requires 'M' heap allocations. The stack should return an Out of Memory error when heap allocation request fails because 'n' has a value in the range 1..m. When 'n' has value m+1, the message should be sent successfully and the test should exit.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 500 TE_smsprt TestOOMSendR6Sms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber82
-END_TESTCASE SMS-SMSS-SMSPROT-I-3093
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3094
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3094
-//!@SYMREQ REQ4920.1
-//!@SYMTestCaseDesc Submit reports default to 7 bit decoding if no DCS value is specified.
-//!@SYMTestPriority high
-//!@SYMTestActions Decode a submit report that contains text, but whose DCS byte is unspecified.
-//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 120 TE_smsprt CSubmitReportDefaultsTo7BitDecoding
-END_TESTCASE SMS-SMSS-SMSPROT-I-3094
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3095
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3095
-//!@SYMREQ REQ4920.2
-//!@SYMTestCaseDesc Deliver reports default to 7 bit decoding if no DCS value is specified.
-//!@SYMTestPriority high
-//!@SYMTestActions Decode a deliver report that contains text, but whose DCS byte is unspecified.
-//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 120 TE_smsprt CDeliverReportDefaultsTo7BitDecoding
-END_TESTCASE SMS-SMSS-SMSPROT-I-3095
-
-START_TESTCASE SMS-SMSS-SMSPROT-I-3096
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3096
-//!@SYMREQ REQ4920.3
-//!@SYMTestCaseDesc Status reports default to 7 bit decoding if no DCS value is specified.
-//!@SYMTestPriority high
-//!@SYMTestActions Decode a Status report that contains text, but whose DCS byte is unspecified.
-//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
-//!@SYMTestType CIT
-//!@SYMTestCaseDependencies SIM.TSY
-RUN_TEST_STEP 120 TE_smsprt CStatusReportDefaultsTo7BitDecoding
-END_TESTCASE SMS-SMSS-SMSPROT-I-3096
-
-START_TESTCASE SMS-SMSS-SMSPROT-0123
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0123
-//!@SYMDEF INC091449
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace in mid range
-//!@SYMTestActions Set the disk space to below the high limit, receive class 0, attempt to receive class 2, raise disk space and receive class 2.
-//!@SYMTestExpectedResults Class0 message received, class2 rejected until disk space is increased.
-RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceMidRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber131
-END_TESTCASE SMS-SMSS-SMSPROT-0123
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0124
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0124
-//!@SYMDEF INC091449
-//!@SYMTestPriority Critical
-//!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace below the mid range. 
-//!@SYMTestActions Set the disk space to below the low limit, attempt to receive class 0 and class 2, raise disk space and receive class 0 and class 2.
-//!@SYMTestExpectedResults Class0 and class2 messages rejected when disk space below the low limit, received when disk space increases.
-RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceLowRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber132
-END_TESTCASE SMS-SMSS-SMSPROT-0124
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0125
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0125
-//!@SYMDEF INC100061
-//!@SYMTestCaseDesc Tests receiving corrupt PDUs to ensure the stack does not crash.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Receives SMSs that are invalid and then 1 that is valid.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCorruptPDUs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber133
-END_TESTCASE SMS-SMSS-SMSPROT-0125
-
-START_TESTCASE SMS-SMSS-SMSPROT-0126
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0126
-//!@SYMDEF INC103598
-//!@SYMTestCaseDesc Tests receiving a series of PDUs when the assembly store gets congested.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Ensures that the resume code can restart reception when the store has been full.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCongestedReceive z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber141
-END_TESTCASE SMS-SMSS-SMSPROT-0126
-
-START_TESTCASE SMS-SMSS-SMSPROT-0127
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0127
-//!@SYMDEF INC117178
-//!@SYMTestCaseDesc Test Binary Tx And Rx
-//!@SYMTestPriority critical
-//!@SYMTestActions Test binary transmit and receive
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestBinaryTxAndRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber142
-END_TESTCASE SMS-SMSS-SMSPROT-0127
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0128
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0128
-//!@SYMDEF INC119830
-//!@SYMTestCaseDesc Test boundary condition, GSMU encoder completely fills a PDU, then attempts to add a format IE. 
-//!@SYMTestPriority critical
-//!@SYMTestActions GSMU encodes a PDU until it is full, then attempts to add an format IE, the format IE and its associated text should be encoded in a new PDU.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestEncodingPDUonBoundary z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber143
-END_TESTCASE SMS-SMSS-SMSPROT-0128
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0129
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0129
-//!@SYMDEF INC123727
-//!@SYMTestCaseDesc Tests that a PDU can be received if it has an invalid or reserved IE number.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Receives the PDU which has a reserved IE number.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestReceiveInvalidOrReservedIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber144
-END_TESTCASE SMS-SMSS-SMSPROT-0129
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0150
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0150
-//!@SYMREQ PREQ2265
-//!@SYMTestCaseDesc Tests that standard GSM characters can be sent and received using 7bit without loss of characters.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber150
-END_TESTCASE SMS-SMSS-SMSPROT-0150
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0151
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0151
-//!@SYMREQ PREQ2265
-//!@SYMTestCaseDesc Tests that standard 8bit characters can be sent and received without loss of characters.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates various messages based on Code Page 1252 characters, sends/receives them and compares the contents.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1200 TE_smsprt TestEncoding8bitCodePage1252 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber151
-END_TESTCASE SMS-SMSS-SMSPROT-0151
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0152
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0152
-//!@SYMREQ PREQ2265
-//!@SYMTestCaseDesc Tests that standard unicode characters can be sent and received without loss of characters.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates various messages based various characters, sends/receives them and compares the contents.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1800 TE_smsprt TestEncodingUnicode z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber152
-END_TESTCASE SMS-SMSS-SMSPROT-0152
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0153
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0153
-//!@SYMREQ PREQ2265
-//!@SYMTestCaseDesc Tests that unconvertible GSM characters can be sent using 7bit by being set to the replacement character.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates various messages based on unconvertible GSM characters, sends/receives them and compares the contents.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitUnconvertibleGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber153
-END_TESTCASE SMS-SMSS-SMSPROT-0153
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0154
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0154
-//!@SYMREQ PREQ2265
-//!@SYMTestCaseDesc Tests that non-standard GSM characters can be sent and received using 7bit with downgraded conversions.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitNonStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber154
-END_TESTCASE SMS-SMSS-SMSPROT-0154
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0155
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0155
-//!@SYMREQ PREQ2265
-//!@SYMTestCaseDesc Tests that Turkish characters can be sent and received using 7bit without loss of characters.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates various messages based on Turkish characters, sends/receives them and compares the contents.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 4500 TE_smsprt TestEncoding7bitTurkishNationalLanguage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber155
-END_TESTCASE SMS-SMSS-SMSPROT-0155
-
-START_TESTCASE SMS-SMSS-SMSPROT-0156
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0156
-//!@SYMDEF DEF129817
-//!@SYMTestCaseDesc Tests that unconverted characters are counted correctly when Turkish is enabled.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates various messages with some Turkish and unconvertible characters, sends/receives them and compares the contents.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 600 TE_smsprt TestEncoding7bitTurkishAndUnconvertible z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber156
-END_TESTCASE SMS-SMSS-SMSPROT-0156
-
-
-START_TESTCASE SMS-SMSS-SMSPROT-0157
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0157
-//!@SYMDEF DEF128736
-//!@SYMTestCaseDesc Tests that messages can be received if different DCS values are used.
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates 3 messages with each DCS and then receives 3 mixed DCS messages.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageWithDifferentEncodings z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber157
-END_TESTCASE SMS-SMSS-SMSPROT-0157
-
-START_TESTCASE SMS-SMSS-SMSPROT-0159
-//!@SYMTestCaseID SMS-SMSS-SMSPROT-0159
-//!@SYMDEF DEF137787
-//!@SYMTestCaseDesc Tests that closing a socket before reading message does not orphan them in the SAR store
-//!@SYMTestPriority Critical
-//!@SYMTestActions Generates a message which is requested by client before and after closure of socket.
-//!@SYMTestExpectedResults The message should be able to be requested and read after closure of socket.
-//!@SYMTestType CT
-RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageAfterSocketClosure z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber159
-END_TESTCASE SMS-SMSS-SMSPROT-0159
-
-START_TESTCASE SMS-SMSS-SMSPROT-0160
-//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0160
-//! @SYMTestType                CT
-//! @SYMTestPriority            Critical
-//! @SYMTestCaseDesc            Test to ensure that the Turkish, Spanish and Portuguese 7 bit character conversion libraries are being used with SMS send and receive
-//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
-//!                           Version tb92 and later
-//! @SYMTestExpectedResults     Pass
-//! @SYMTestDesignTechnique     Error Guessing
-//! @SYMCR                      CR2040
-RUN_TEST_STEP 100 TE_smsprt TestEncoding7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber160
-END_TESTCASE SMS-SMSS-SMSPROT-0160
-
-START_TESTCASE SMS-SMSS-SMSPROT-0161
-//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0161
-//! @SYMTestType                CT
-//! @SYMTestPriority            High
-//! @SYMTestCaseDesc            Multiple PDU SMS test - tests that when a shift character might spans two PDU's it is added to the next PDU rather than split the two bytes between PDUs - also tests that the cheapest coding is used when ESmsEncodingPortugueseLockingAndSingleShift is requested.
-//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
-//!                           Version tb92 and later
-//! @SYMTestExpectedResults     Pass
-//! @SYMTestDesignTechnique     Boundary Value Analysis
-//! @SYMCR                      CR2040
-RUN_TEST_STEP 100 TE_smsprt TestEncodingMultiPDUwith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber161
-END_TESTCASE SMS-SMSS-SMSPROT-0161
-
-START_TESTCASE SMS-SMSS-SMSPROT-0162
-//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0162
-//! @SYMTestType                CT
-//! @SYMTestPriority            Critical
-//! @SYMTestCaseDesc            Test to ensure that Turkish, Spanish and Portuguese characters are downgraded when ESmsEncodingNone is used
-//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
-//!                           Version tb92 and later
-//! @SYMTestExpectedResults     Pass
-//! @SYMTestDesignTechnique     Error Guessing
-//! @SYMCR                      CR2040
-RUN_TEST_STEP 100 TE_smsprt TestEncodingDowngradedWith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber162
-END_TESTCASE SMS-SMSS-SMSPROT-0162
-
-START_TESTCASE SMS-SMSS-SMSPROT-0163
-//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0163
-//! @SYMTestType                CT
-//! @SYMTestPriority            High
-//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when locking and shift characters are present in the message and ESmsEncodingPortugueseLockingAndSingleShift encoding is requested
-//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
-//!                           Version tb92 and later
-//! @SYMTestExpectedResults     Pass
-//! @SYMTestDesignTechnique     Error Guessing
-//! @SYMCR                      CR2040
-RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndShift7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber163
-END_TESTCASE SMS-SMSS-SMSPROT-0163
-
-START_TESTCASE SMS-SMSS-SMSPROT-0164
-//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0164
-//! @SYMTestType                CT
-//! @SYMTestPriority            High
-//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but locking and shift characters are not present in the message.
-//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
-//!                           Version tb92 and later
-//! @SYMTestExpectedResults     Pass
-//! @SYMTestDesignTechnique     Error Guessing
-//! @SYMCR                      CR2040
-RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndDowngrade7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber164
-END_TESTCASE SMS-SMSS-SMSPROT-0164
-
-START_TESTCASE SMS-SMSS-SMSPROT-0165
-//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0165
-//! @SYMTestType                CT
-//! @SYMTestPriority            High
-//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but non- Turkish characters that would be downgraded are present
-//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
-//!                           Version tb92 and later
-//! @SYMTestExpectedResults     Pass
-//! @SYMTestDesignTechnique     Error Guessing
-//! @SYMCR                      CR2040
-RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndUnconvertible7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber165
-END_TESTCASE SMS-SMSS-SMSPROT-0165
-
-RUN_SCRIPT  z:\testdata\scripts\smsstackcleanprivatedata.script
--- a/smsprotocols/smsstack/smsprot/Test/TE_Smsprt/te_smsprt_smsstack.script	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,929 +0,0 @@
-// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-RUN_SCRIPT z:\TestData\Scripts\TE_smsprt_setup.script
-
-LOAD_SUITE TE_smsprt -SharedData
-
-//!@file
-
-START_TESTCASE SMS-SMSStack-NA-3001
-//!@SYMTestCaseID SMS-SMSStack-NA-3001
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Simple Tx And Rx
-//!@SYMTestPriority critical
-//!@SYMTestActions Test simple transmit and receive
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSimpleTxAndRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber0
-END_TESTCASE SMS-SMSStack-NA-3001
-
-START_TESTCASE SMS-SMSStack-NA-3002
-//!@SYMTestCaseID SMS-SMSStack-NA-3002
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Status Report
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test status report
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestStatusReport z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber1
-END_TESTCASE SMS-SMSStack-NA-3002
-
-
-START_TESTCASE SMS-SMSStack-NA-3003
-//!@SYMTestCaseID SMS-SMSStack-NA-3003
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Tx With Error
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Transmit with Error
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestTxWithError z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber2
-END_TESTCASE SMS-SMSStack-NA-3003
-
-
-START_TESTCASE SMS-SMSStack-NA-3004
-//!@SYMTestCaseID SMS-SMSStack-NA-3004
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Tx Failed
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Transmit with failure
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestTxFailed z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber3
-END_TESTCASE SMS-SMSStack-NA-3004
-
-
-START_TESTCASE SMS-SMSStack-NA-3005
-//!@SYMTestCaseID SMS-SMSStack-NA-3005
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Matching To Observer
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Matching To Observer
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestMatchingToObserver z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber4
-END_TESTCASE SMS-SMSStack-NA-3005
-
-
-START_TESTCASE SMS-SMSStack-NA-3006
-//!@SYMTestCaseID SMS-SMSStack-NA-3006
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Command Messages
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Command Messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCommandMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber5
-END_TESTCASE SMS-SMSStack-NA-3006
-
-
-START_TESTCASE SMS-SMSStack-NA-3007
-//!@SYMTestCaseID SMS-SMSStack-NA-3007
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Simple Rx
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Simple Receive
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSimpleRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber6
-END_TESTCASE SMS-SMSStack-NA-3007
-
-
-START_TESTCASE SMS-SMSStack-NA-3008
-//!@SYMTestCaseID SMS-SMSStack-NA-3008
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test 7bit Mess Test
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test 7bit Mess Test
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt Test7bitMessTest z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber7
-END_TESTCASE SMS-SMSStack-NA-3008
-
-
-START_TESTCASE SMS-SMSStack-NA-3009
-//!@SYMTestCaseID SMS-SMSStack-NA-3009
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Class Messages
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Class Messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestClassMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber8
-END_TESTCASE SMS-SMSStack-NA-3009
-
-
-START_TESTCASE SMS-SMSStack-NA-3010
-//!@SYMTestCaseID SMS-SMSStack-NA-3010
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Rx Concatenated
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test receive concatenated
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestRxConcatenated z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber9
-END_TESTCASE SMS-SMSStack-NA-3010
-
-
-START_TESTCASE SMS-SMSStack-NA-3011
-//!@SYMTestCaseID SMS-SMSStack-NA-3011
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Rx Duplicate
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test receive duplicate
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestRxDuplicate z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber10
-END_TESTCASE SMS-SMSStack-NA-3011
-
-
-START_TESTCASE SMS-SMSStack-NA-3012
-//!@SYMTestCaseID SMS-SMSStack-NA-3012
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Rx Ring Tone A
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test receive ring tone A
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestRxRingToneA z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber11
-END_TESTCASE SMS-SMSStack-NA-3012
-
-
-START_TESTCASE SMS-SMSStack-NA-3013
-//!@SYMTestCaseID SMS-SMSStack-NA-3013
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Tx Rx Concatenated
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Transmit/receive concatenated messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestTxRxConcatenated z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber12
-END_TESTCASE SMS-SMSStack-NA-3013
-
-
-START_TESTCASE SMS-SMSStack-NA-3014
-//!@SYMTestCaseID SMS-SMSStack-NA-3014
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Param Storage
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test storage of parameters
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestParamStorage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber13
-END_TESTCASE SMS-SMSStack-NA-3014
-
-
-START_TESTCASE SMS-SMSStack-NA-3015
-//!@SYMTestCaseID SMS-SMSStack-NA-3015
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Sms Store
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Sms Store
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSmsStore z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber14
-END_TESTCASE SMS-SMSStack-NA-3015
-
-
-START_TESTCASE SMS-SMSStack-NA-3016
-//!@SYMTestCaseID SMS-SMSStack-NA-3016
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Sms Store List
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Sms Store List
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSmsStoreList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber15
-END_TESTCASE SMS-SMSStack-NA-3016
-
-
-START_TESTCASE SMS-SMSStack-NA-3017
-//!@SYMTestCaseID SMS-SMSStack-NA-3017
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Delete Sms
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Delete Sms
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestDeleteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber15
-END_TESTCASE SMS-SMSStack-NA-3017
-
-
-START_TESTCASE SMS-SMSStack-NA-3018
-//!@SYMTestCaseID SMS-SMSStack-NA-3018
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Socket Binding
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Socket Binding
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSocketBinding z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber16
-END_TESTCASE SMS-SMSStack-NA-3018
-
-START_TESTCASE SMS-SMSStack-NA-3098
-//!@SYMTestCaseID SMS-SMSStack-NA-3098
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test SMS address class
-//!@SYMTestPriority High
-//!@SYMTestActions  Test SMS address class
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSmsAddr
-END_TESTCASE SMS-SMSStack-NA-3098
-
-START_TESTCASE SMS-SMSStack-NA-3019
-//!@SYMTestCaseID SMS-SMSStack-NA-3019
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Sms Event Logger
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Sms Event Logger
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSmsEventLogger z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber17
-END_TESTCASE SMS-SMSStack-NA-3019
-
-
-START_TESTCASE SMS-SMSStack-NA-3020
-//!@SYMTestCaseID SMS-SMSStack-NA-3020
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Bearer Change
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Bearer Change
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestBearerChange z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber18
-END_TESTCASE SMS-SMSStack-NA-3020
-
-
-START_TESTCASE SMS-SMSStack-NA-3094
-//!@SYMTestCaseID SMS-SMSStack-NA-3094
-//!@SYMREQ DEF080837
-//!@SYMTestCaseDesc Test Restore Bearer
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Restore Bearer
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestRestoreBearer 
-END_TESTCASE SMS-SMSStack-NA-3094
-
-
-START_TESTCASE SMS-SMSStack-NA-3021
-//!@SYMTestCaseID SMS-SMSStack-NA-3021
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Recv Mode Change
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Recieve Mode Change
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestRecvModeChange z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber19
-END_TESTCASE SMS-SMSStack-NA-3021
-
-
-START_TESTCASE SMS-SMSStack-NA-3022
-//!@SYMTestCaseID SMS-SMSStack-NA-3022
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Tsy Caps
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Tsy Capabilities
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestTsyCaps z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber20
-END_TESTCASE SMS-SMSStack-NA-3022
-
-
-START_TESTCASE SMS-SMSStack-NA-3023
-//!@SYMTestCaseID SMS-SMSStack-NA-3023
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test OOM Send Sms
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test send sms with out of memory conditions
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1000 TE_smsprt TestOOMSendSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber21
-END_TESTCASE SMS-SMSStack-NA-3023
-
-
-START_TESTCASE SMS-SMSStack-NA-3024
-//!@SYMTestCaseID SMS-SMSStack-NA-3024
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test OOM Write Sms
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test write sms with out of memory conditions
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1000 TE_smsprt TestOOMWriteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber22
-END_TESTCASE SMS-SMSStack-NA-3024
-
-
-START_TESTCASE SMS-SMSStack-NA-3025
-//!@SYMTestCaseID SMS-SMSStack-NA-3025
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test OOM Read Sms
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Read Sms with out of memory conditions
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1000 TE_smsprt TestOOMReadSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber23
-END_TESTCASE SMS-SMSStack-NA-3025
-
-
-START_TESTCASE SMS-SMSStack-NA-3026
-//!@SYMTestCaseID SMS-SMSStack-NA-3026
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test OOM Read Sms List
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test read sms list with out of memory conditions
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1000 TE_smsprt TestOOMReadSmsList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber24
-END_TESTCASE SMS-SMSStack-NA-3026
-
-
-START_TESTCASE SMS-SMSStack-NA-3027
-//!@SYMTestCaseID SMS-SMSStack-NA-3027
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test OOM Delete Sms
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test delete sms with out of memory conditions
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1000 TE_smsprt TestOOMDeleteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber25
-END_TESTCASE SMS-SMSStack-NA-3027
-
-
-START_TESTCASE SMS-SMSStack-NA-3028
-//!@SYMTestCaseID SMS-SMSStack-NA-3028
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc TestOOMSmsParams
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test sms params with out of memory conditions
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 1000 TE_smsprt TestOOMSmsParams z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber26
-END_TESTCASE SMS-SMSStack-NA-3028
-
-
-START_TESTCASE SMS-SMSStack-NA-3029
-//!@SYMTestCaseID SMS-SMSStack-NA-3029
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc TestMeStoreDupAndMiss
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Me store with duplicate and missing pdus'
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestMeStoreDupAndMiss z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber27
-END_TESTCASE SMS-SMSStack-NA-3029
-
-
-START_TESTCASE SMS-SMSStack-NA-3030
-//!@SYMTestCaseID SMS-SMSStack-NA-3030
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Sim Store Dup And Miss
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Sim Store with duplicate and Missing pdus'
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSimStoreDupAndMiss z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber28
-END_TESTCASE SMS-SMSStack-NA-3030
-
-
-START_TESTCASE SMS-SMSStack-NA-3031
-//!@SYMTestCaseID SMS-SMSStack-NA-3031
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc TestRxCphs
-//!@SYMTestPriority critical
-//!@SYMTestActions   Test the reception of a CPHS Message Waiting Indication
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestRxCphs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber30
-END_TESTCASE SMS-SMSStack-NA-3031
-
-
-START_TESTCASE SMS-SMSStack-NA-3032
-//!@SYMTestCaseID SMS-SMSStack-NA-3032
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Invalid PDUs
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test receiving invalid pdus
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestInvalidPDUs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber31
-END_TESTCASE SMS-SMSStack-NA-3032
-
-
-START_TESTCASE SMS-SMSStack-NA-3033
-//!@SYMTestCaseID SMS-SMSStack-NA-3033
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Stress
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Transmit and Receive large number of different messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 700 TE_smsprt TestStress z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber32
-
-END_TESTCASE SMS-SMSStack-NA-3033
-
-START_TESTCASE SMS-SMSStack-NA-3034
-//!@SYMTestCaseID SMS-SMSStack-NA-3034
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Combined Store
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Combined Store
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCombinedStore z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber33
-END_TESTCASE SMS-SMSStack-NA-3034
-
-
-START_TESTCASE SMS-SMSStack-NA-3035
-//!@SYMTestCaseID SMS-SMSStack-NA-3035
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Params Inter
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test retrieving and storing the sms parameters
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestParamsInter z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber34
-END_TESTCASE SMS-SMSStack-NA-3035
-
-
-START_TESTCASE SMS-SMSStack-NA-3036
-//!@SYMTestCaseID SMS-SMSStack-NA-3036
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc TestTxRxAlphanumeric
-//!@SYMTestPriority critical
-//!@SYMTestActions  est a Transmit And receive of messages with alphanumeric dest/orig addresses
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestTxRxAlphanumeric z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber35
-END_TESTCASE SMS-SMSStack-NA-3036
-
-
-START_TESTCASE SMS-SMSStack-NA-3037
-//!@SYMTestCaseID SMS-SMSStack-NA-3037
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Rx Suspend
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Receive Suspension
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestRxSuspend 
-END_TESTCASE SMS-SMSStack-NA-3037
-
-
-START_TESTCASE SMS-SMSStack-NA-3038
-//!@SYMTestCaseID SMS-SMSStack-NA-3038
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Enumerate Corrupted
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Enumeration of Corrupted messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestEnumerateCorrupted z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber37
-END_TESTCASE SMS-SMSStack-NA-3038
-
-
-START_TESTCASE SMS-SMSStack-NA-3039
-//!@SYMTestCaseID SMS-SMSStack-NA-3039
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc TestCancelling
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Cancellacion of an sms operation
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCancelling z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber38
-END_TESTCASE SMS-SMSStack-NA-3039
-
-
-START_TESTCASE SMS-SMSStack-NA-3040
-//!@SYMTestCaseID SMS-SMSStack-NA-3040
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Send And Recv Msgs With Different TON
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test send And recieve messages with different TON
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSendAndRecvMsgsWithDifferentTON 
-END_TESTCASE SMS-SMSStack-NA-3040
-
-
-START_TESTCASE SMS-SMSStack-NA-3041
-//!@SYMTestCaseID SMS-SMSStack-NA-3041
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Send And Receive Indicator Msgs
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test send and receive indicator messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSendAndReceiveIndicatorMsgs
-END_TESTCASE SMS-SMSStack-NA-3041
-
-
-START_TESTCASE SMS-SMSStack-NA-3042
-//!@SYMTestCaseID SMS-SMSStack-NA-3042
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Send and Receive Max Length Msg
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Send Recv Maximum Length Message (255 Pdus)
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 5000 TE_smsprt TestSendRecvMaxLengthMsg
-END_TESTCASE SMS-SMSStack-NA-3042
-
-
-START_TESTCASE SMS-SMSStack-NA-3043
-//!@SYMTestCaseID SMS-SMSStack-NA-3043
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Send And Recv Msgs With Different PID
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Send And Receive Msgs With Different PID
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSendAndRecvMsgsWithDifferentPID
-END_TESTCASE SMS-SMSStack-NA-3043
-
-
-START_TESTCASE SMS-SMSStack-NA-3044
-//!@SYMTestCaseID SMS-SMSStack-NA-3044
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc  Sms Params Error Cases
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Sms Parameters Error Cases
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt SmsParamsErrorCases
-END_TESTCASE SMS-SMSStack-NA-3044
-
-
-START_TESTCASE SMS-SMSStack-NA-3097
-//!@SYMTestCaseID SMS-SMSStack-NA-3097
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Resend Failed Concatinated Message
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Resend Failed Concatinated Message
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestResendFailedConcatinatedMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber44
-END_TESTCASE SMS-SMSStack-NA-3097
-
-
-START_TESTCASE SMS-SMSStack-NA-3045
-//!@SYMTestCaseID SMS-SMSStack-NA-3045
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Multipart Wap Message
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Multipart Wap Message
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestMultipartWapMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber45
-END_TESTCASE SMS-SMSStack-NA-3045
-
-
-START_TESTCASE SMS-SMSStack-NA-3046
-//!@SYMTestCaseID SMS-SMSStack-NA-3046
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test MOSES Message
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test MOSES Message
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestMOSESMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber46
-END_TESTCASE SMS-SMSStack-NA-3046
-
-
-START_TESTCASE SMS-SMSStack-NA-3047
-//!@SYMTestCaseID SMS-SMSStack-NA-3047
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Clock Back
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Clock Back
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestClockBack z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber47
-END_TESTCASE SMS-SMSStack-NA-3047
-
-
-START_TESTCASE SMS-SMSStack-NA-3048
-//!@SYMTestCaseID SMS-SMSStack-NA-3048
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Enumerate NoMessages
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test enumeration of no messages
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestEnumerateNoMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber48
-END_TESTCASE SMS-SMSStack-NA-3048
-
-
-START_TESTCASE SMS-SMSStack-NA-3049
-//!@SYMTestCaseID SMS-SMSStack-NA-3049
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Concatenated Message Logging
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Concatenated Message Logging
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestConcatenatedMessageLogging z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber50
-END_TESTCASE SMS-SMSStack-NA-3049
-
-
-START_TESTCASE SMS-SMSStack-NA-3050
-//!@SYMTestCaseID SMS-SMSStack-NA-3050
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Enumeration Of Status Report
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Enumeration Of Status Report
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestEnumerationOfStatusReport z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber51
-END_TESTCASE SMS-SMSStack-NA-3050
-
-
-START_TESTCASE SMS-SMSStack-NA-3051
-//!@SYMTestCaseID SMS-SMSStack-NA-3051
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test IE
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test IE
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber52
-END_TESTCASE SMS-SMSStack-NA-3051
-
-
-START_TESTCASE SMS-SMSStack-NA-3052
-//!@SYMTestCaseID SMS-SMSStack-NA-3052
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Email IE
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Email IE
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestEmailIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber53
-END_TESTCASE SMS-SMSStack-NA-3052
-
-
-START_TESTCASE SMS-SMSStack-NA-3053
-//!@SYMTestCaseID SMS-SMSStack-NA-3053
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Max Read Time For Sms Store List
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Maximim Read Time For Sms Store List
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestMaxReadTimeForSmsStoreList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber54
-END_TESTCASE SMS-SMSStack-NA-3053
-
-
-START_TESTCASE SMS-SMSStack-NA-3054
-//!@SYMTestCaseID SMS-SMSStack-NA-3054
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc  Test Same Log Id Multiple PDU
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test same log id multiple pdu
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSameLogIdMultiplePDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber57
-END_TESTCASE SMS-SMSStack-NA-3054
-
-
-START_TESTCASE SMS-SMSStack-NA-3055
-//!@SYMTestCaseID SMS-SMSStack-NA-3055
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Same Log Id Single PDU
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Same Log Id Single PDU
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSameLogIdSinglePDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber58
-END_TESTCASE SMS-SMSStack-NA-3055
-
-
-START_TESTCASE SMS-SMSStack-NA-3056
-//!@SYMTestCaseID SMS-SMSStack-NA-3056
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Write Status Report To SIM
-//!@SYMTestPriority critical
-//!@SYMTestActions Test Writing of a status report to the sim
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestWriteStatusReportToSIM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber49
-END_TESTCASE SMS-SMSStack-NA-3056
-
-
-START_TESTCASE SMS-SMSStack-NA-3057
-//!@SYMTestCaseID SMS-SMSStack-NA-3057
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc  Test Tx Sms With Delayed Completion
-//!@SYMTestPriority critical
-//!@SYMTestActions   Test transmit of a sms with delayed completion
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile z:\sms\smswap.sms-sendTryTimeout.esk c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-
-RUN_TEST_STEP 500 TE_smsprt TestTxSmsWithDelayedCompletion z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber60
-
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
-END_TESTCASE SMS-SMSStack-NA-3057
-
-
-START_TESTCASE SMS-SMSStack-NA-3058
-//!@SYMTestCaseID SMS-SMSStack-NA-3058
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Sms Store Read Cancel
-//!@SYMTestPriority critical
-//!@SYMTestActions Test sms store read with cancel
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSmsStoreReadCancel
-END_TESTCASE SMS-SMSStack-NA-3058
-
-
-START_TESTCASE SMS-SMSStack-NA-3059
-//!@SYMTestCaseID SMS-SMSStack-NA-3059
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Bind When Powered Down With Publish Subscribe
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test bind when powered down with publish and subscribe
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestBindWhenPoweredDownWithPublishSubscribe
-END_TESTCASE SMS-SMSStack-NA-3059
-
-
-START_TESTCASE SMS-SMSStack-NA-3060
-//!@SYMTestCaseID SMS-SMSStack-NA-3060
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc TestObserverNotifiedWhenPoweredDownWithPublishSubscribe
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test observer notified when powered down with publish and subscribe
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestObserverNotifiedWhenPoweredDownWithPublishSubscribe z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber59
-
-END_TESTCASE SMS-SMSStack-NA-3060
-
-START_TESTCASE SMS-SMSStack-NA-3061
-//!@SYMTestCaseID SMS-SMSStack-NA-3061
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Sms CNumber Change WithPublish Subscribe
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test sms CNumber change with publish and subscribe
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSmsCNumberChangeWithPublishSubscribe z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber55
-END_TESTCASE SMS-SMSStack-NA-3061
-
-
-START_TESTCASE SMS-SMSStack-NA-3062
-//!@SYMTestCaseID SMS-SMSStack-NA-3062
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Status Report Time
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Status Report Time
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestStatusReportTime z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber62
-END_TESTCASE SMS-SMSStack-NA-3062
-
-
-START_TESTCASE SMS-SMSStack-NA-3063
-//!@SYMTestCaseID SMS-SMSStack-NA-3063
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Tx 8Bit Wap With Status
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test Transmit 8Bit wap message with status
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestTx8BitWapWithStatus z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber63
-END_TESTCASE SMS-SMSStack-NA-3063
-
-
-START_TESTCASE SMS-SMSStack-NA-3064
-//!@SYMTestCaseID SMS-SMSStack-NA-3064
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Sim Store Corrupt Message
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test sim store with corrupt message
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestSimStoreCorruptMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber64
-END_TESTCASE SMS-SMSStack-NA-3064
-
-
-
-START_TESTCASE SMS-SMSStack-NA-3065
-//!@SYMTestCaseID SMS-SMSStack-NA-3065
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Corrupt Pdu With Negative Response
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test a corrupt pdu with anegative response
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile z:\sms\testsmswap.sms.esk c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_TEST_STEP 500 TE_smsprt TestCorruptPduWithNegativeResponse z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber65
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
-END_TESTCASE SMS-SMSStack-NA-3065
-
-
-START_TESTCASE SMS-SMSStack-NA-3066
-//!@SYMTestCaseID SMS-SMSStack-NA-3066
-//!@SYMREQ REQ0000
-//!@SYMTestCaseDesc Test Boot Timer can be configured to a non default value
-//!@SYMTestPriority critical
-//!@SYMTestActions  Check that boot timer can be configured from smswap.sms.esk file.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile z:\sms\smswap.sms-bootTimerTimeout.esk c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
-RUN_TEST_STEP 500 TE_smsprt TestBootTimer z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber45
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
-RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
-END_TESTCASE SMS-SMSStack-NA-3066
-
-
-START_TESTCASE SMS-SMSStack-NA-3067
-//!@SYMTestCaseID SMS-SMSStack-NA-3067
-//!@SYMREQ REQ4612
-//!@SYMTestCaseDesc Test CSmsMessageTimeStamp
-//!@SYMTestPriority critical
-//!@SYMTestActions Create message with know system utc time.  Set and get also checked
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageTimeStamp
-END_TESTCASE SMS-SMSStack-NA-3067
-
-START_TESTCASE SMS-SMSStack-NA-3068
-//!@SYMTestCaseID SMS-SMSStack-NA-3068
-//!@SYMREQ REQ4612
-//!@SYMTestCaseDesc Test service center time stamp in PDU with CSmsMessage interface.
-//!@SYMTestPriority critical
-//!@SYMTestActions Simulate receiving deliver PDU's.  Create message and interogate PDU and check time stamp and validity period.
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithDeliverPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber66
-END_TESTCASE SMS-SMSStack-NA-3068
-
-START_TESTCASE SMS-SMSStack-NA-3069
-//!@SYMTestCaseID SMS-SMSStack-NA-3069
-//!@SYMREQ REQ4612
-//!@SYMTestCaseDesc Test Status Report
-//!@SYMTestPriority critical
-//!@SYMTestActions  Test status report
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithStatusReportPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber67
-END_TESTCASE SMS-SMSStack-NA-3069
-
-START_TESTCASE SMS-SMSStack-NA-3070
-//!@SYMTestCaseID SMS-SMSStack-NA-3070
-//!@SYMREQ REQ4612
-//!@SYMTestCaseDesc Test Submit PDU
-//!@SYMTestPriority critical
-//!@SYMTestActions  Create a submit message.  Send it using SimTSY.  SimTSY will validate the PDU to what is expected.  Status=0
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithSubmitPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber68
-END_TESTCASE SMS-SMSStack-NA-3070
-
-START_TESTCASE SMS-SMSStack-NA-3071
-//!@SYMTestCaseID SMS-SMSStack-NA-3071
-//!@SYMREQ DEF055800
-//!@SYMTestCaseDesc Test Handling of PDUs with PID 0x40
-//!@SYMTestPriority critical
-//!@SYMTestActions  Check that PDUs with PID 0x40 are acknowledged but not forwarded to the client
-//!@SYMTestExpectedResults Pass
-//!@SYMTestType CT
-RUN_TEST_STEP 500 TE_smsprt TestHandlePID40h z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber69
-END_TESTCASE SMS-SMSStack-NA-3071
-
-RUN_SCRIPT  z:\testdata\scripts\smsstackcleanprivatedata.script
--- a/smsprotocols/smsstack/smsu/inc/smsuaddr.H	Fri Sep 17 17:35:51 2010 +0100
+++ b/smsprotocols/smsstack/smsu/inc/smsuaddr.H	Fri Oct 22 16:04:25 2010 +0100
@@ -252,15 +252,6 @@
 	IMPORT_C TInt IdentifierMatch() const;
 	IMPORT_C void SetIdentifierMatch(TInt aIdentifier);
 	IMPORT_C TPtrC8 TextMatch() const;
-	
-	/**
-	 *  Sets the match text. The matching is case-insensitive comparison 
-	 *  done against the leading text in the message. Wild card matching
-	 *  is not supported.
-	 *  
-	 *  @param aText The match text
-	 *  @capability None
-	 */
 	IMPORT_C void SetTextMatch(const TDesC8& aText);
 	IMPORT_C TBool operator==(const TSmsAddr& aAddr) const;
 	};
--- a/smsprotocols/smsstack/test/te_smsstack.iby	Fri Sep 17 17:35:51 2010 +0100
+++ b/smsprotocols/smsstack/test/te_smsstack.iby	Fri Oct 22 16:04:25 2010 +0100
@@ -62,11 +62,9 @@
 
 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_smsinter.script                         testdata\scripts\te_smsinter.script
 
+data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_SMSPRT.script                           testdata\scripts\TE_SMSPRT.script
 data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_SMSPRT_setup.script                     testdata\scripts\TE_SMSPRT_setup.script
 data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SMSPRT.cfg                              testdata\configs\te_smsprt.cfg
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_smsprt_gsmu.script                      testdata\scripts\te_smsprt_gsmu.script
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_smsprt_smsstack.script                  testdata\scripts\te_smsprt_smsstack.script
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_smsprt_prot.script                      testdata\scripts\te_smsprt_prot.script
 
 data=EPOCROOT##epoc32\data\z\sms\smswap.sms-sendTryTimeout.esk                           SMS\smswap.sms-sendTryTimeout.esk
 data=EPOCROOT##epoc32\data\z\sms\smswap.sms-bootTimerTimeout.esk                         SMS\smswap.sms-bootTimerTimeout.esk
--- a/telephonyprotocols/pdplayer/test/controlplane/group/bld.inf	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/test/controlplane/group/bld.inf	Fri Oct 22 16:04:25 2010 +0100
@@ -31,11 +31,11 @@
 ../configs/te_controlplanenetworksideloopbackcsy.ini      z:/testdata/configs/te_controlplanenetworksideloopbackcsy.ini
 
 
-../scripts/te_PDP_ControlPlane.script                     z:/testdata/scripts/te_pdp_controlplane.script
-../scripts/te_PDP_ControlPlane28.script                   z:/testdata/scripts/te_pdp_controlplane28.script
-../scripts/te_PDP_ControlPlane29.script                   z:/testdata/scripts/te_pdp_controlplane29.script
+../scripts/te_PDP_ControlPlane.script                     z:/testdata/scripts/te_PDP_ControlPlane.script
+../scripts/te_PDP_ControlPlane28.script                   z:/testdata/scripts/te_PDP_ControlPlane28.script
+../scripts/te_PDP_ControlPlane29.script                   z:/testdata/scripts/te_PDP_ControlPlane29.script
 
-te_PDPControlPlane.iby	/epoc32/rom/include/te_pdpcontrolplane.iby
+te_PDPControlPlane.iby	/epoc32/rom/include/te_PDPControlPlane.iby
 
 PRJ_MMPFILES
 
--- a/telephonyprotocols/pdplayer/test/controlplane/group/te_pdpcontrolplane.iby	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/test/controlplane/group/te_pdpcontrolplane.iby	Fri Oct 22 16:04:25 2010 +0100
@@ -18,17 +18,17 @@
 #ifndef TE_PDPCONTROLPLANE_IBY
 #define TE_PDPCONTROLPLANE_IBY
 
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_controlplanenetworkside1.xml testdata\configs\te_controlplanenetworkside1.xml
-data=EPOCROOT##epoc32\data\z\TestData\configs\te_controlplanenetworkside_config.txt testdata\configs\te_controlplanenetworkside_config.txt
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_controlplanenetworkside1.xml Testdata\configs\te_controlplanenetworkside1.xml
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_controlplanenetworkside_config.txt Testdata\configs\te_controlplanenetworkside_config.txt
 
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_pdp_controlplane.script testdata\scripts\te_pdp_controlplane.script
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_controlplanenetworksideloopbackcsy.ini testdata\configs\te_controlplanenetworksideloopbackcsy.ini
+data=EPOCROOT##epoc32\data\z\TestData\Scripts\te_PDP_ControlPlane.script Testdata\scripts\te_PDP_ControlPlane.script
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_controlplanenetworksideloopbackcsy.ini Testdata\configs\te_controlplanenetworksideloopbackcsy.ini
 
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_pdp_controlplane28.script testdata\scripts\te_pdp_controlplane28.script
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_controlplanenetworkside_test28.ini testdata\configs\te_controlplanenetworkside_test28.ini
+data=EPOCROOT##epoc32\data\z\TestData\Scripts\te_PDP_ControlPlane28.script Testdata\scripts\te_PDP_ControlPlane28.script
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_controlplanenetworkside_test28.ini Testdata\configs\te_controlplanenetworkside_test28.ini
 
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_pdp_controlplane29.script testdata\scripts\te_pdp_controlplane29.script
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_controlplanenetworkside_test29.ini testdata\configs\te_controlplanenetworkside_test29.ini
+data=EPOCROOT##epoc32\data\z\TestData\Scripts\te_PDP_ControlPlane29.script Testdata\scripts\te_PDP_ControlPlane29.script
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_controlplanenetworkside_test29.ini Testdata\configs\te_controlplanenetworkside_test29.ini
 
 
 #endif // TE_PDPCONTROLPLANE_IBY
\ No newline at end of file
--- a/telephonyprotocols/pdplayer/umts/test/group/bld.inf	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/umts/test/group/bld.inf	Fri Oct 22 16:04:25 2010 +0100
@@ -15,6 +15,7 @@
 
 #ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
 
+#include "../mbufgobblerlayer/group/bld.inf"
 #include "../te_spud/group/bld.inf"
 #include "../Te_UmtsGprsSCPR/group/bld.inf"
 #include "../te_mbms/group/bld.inf"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/bwins/mbufgobbleru.def	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,3 @@
+EXPORTS
+	?ImplementationGroupProxy@@YAPBUTImplementationProxy@@AAH@Z @ 1 NONAME ; struct TImplementationProxy const * ImplementationGroupProxy(int &)
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/group/bld.inf	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,34 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//  3-plane comms layer implementation example.
+//  Purely passes data through without altering it.
+//  Use this as a starting point for implementing your own layers / providers.
+//
+
+PRJ_PLATFORMS
+
+DEFAULT
+
+prj_testmmpfiles
+mbufgobblerproviders.mmp
+
+prj_testexports
+../inc/mbufgobbleruids.h				/epoc32/include/comms-infras/mbufgobbleruids.h
+../inc/mbufgobblerpubsub.h				/epoc32/include/comms-infras/mbufgobblerpubsub.h
+
+../group/mbufgobblerproviders.iby			/epoc32/rom/include/mbufgobblerproviders.iby
+
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/group/mbufgobblerproviders.iby	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,22 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef __MBUFGOBBLERPROVIDERS_IBY__
+#define __MBUFGOBBLERPROVIDERS_IBY__
+
+ECOM_PLUGIN(mbufgobblerproviders.dll,mbufgobblerproviders.rsc)
+
+#endif
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/group/mbufgobblerproviders.mmp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,98 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+TARGET      mbufgobblerproviders.dll
+TARGETTYPE  PLUGIN
+UID         0x10009D8D 	0x10272F97
+						
+
+#include   <cflog.mmh> //for some reason another log mmh has been defined. 
+					   //This must be included to use the __CFLOG_* (e.g. __CFLOG_VAR) macros.
+#include	"comms-infras/commsdebugutility.mmh"
+
+SOURCEPATH  ../src
+
+
+SOURCE  ecom_impl.cpp 
+
+// Tier Manager source
+SOURCE  mbufgobblertiermanager.cpp 
+SOURCE  mbufgobblertiermanagerfactory.cpp 
+SOURCE  mbufgobblertiermanageractivities.cpp 
+SOURCE  mbufgobblertiermanagerstates.cpp 
+SOURCE  mbufgobblerproviderselector.cpp
+
+// Meta Connection Provider source
+SOURCE  mbufgobblermetaconnproviderfactory.cpp 
+SOURCE  mbufgobblermetaconnprovider.cpp 
+SOURCE  mbufgobblermetaconnprovideractivities.cpp 
+SOURCE  mbufgobblermetaconnproviderstates.cpp 
+
+// Connection Provider source
+SOURCE	mbufgobblerconnproviderfactory.cpp 
+SOURCE  mbufgobblerconnprovidermessages.cpp
+SOURCE  mbufgobblerconnprovider.cpp 
+SOURCE  mbufgobblerconnprovideractivities.cpp
+SOURCE  mbufgobblerconnproviderstates.cpp 
+
+// Sub Connection Provider source
+SOURCE  mbufgobblersubconnproviderfactory.cpp 
+SOURCE  mbufgobblersubconnprovider.cpp 
+SOURCE  mbufgobblersubconnprovideractivities.cpp 
+SOURCE  mbufgobblersubconnproviderstates.cpp 
+
+// Flow source
+SOURCE  mbufgobblerflowfactory.cpp 
+SOURCE	mbufgobblerflow.cpp
+
+// Other source
+SOURCE mbufgobblerhelper.cpp 
+
+
+USERINCLUDE		../inc
+
+
+SYSTEMINCLUDE  /epoc32/include
+SYSTEMINCLUDE  /epoc32/include/comms-infras
+SYSTEMINCLUDE  /epoc32/include/networking
+SYSTEMINCLUDE  /epoc32/include/platform
+SYSTEMINCLUDE  /epoc32/include/platform/comms-infras
+
+START RESOURCE 10272f97.rss
+	TARGET mbufgobblerproviders.rsc
+END
+
+LIBRARY	euser.lib 
+LIBRARY	esock.lib
+LIBRARY	netmeta.lib 
+LIBRARY netinterfaces.lib
+LIBRARY	esocksvr.lib
+LIBRARY nodemessages.lib
+LIBRARY coreproviders.lib
+LIBRARY meshmachine.lib
+LIBRARY commsdat.lib
+LIBRARY simpleselectorbase.lib
+
+LIBRARY insock.lib
+LIBRARY mbufmgr.lib
+
+
+CAPABILITY CommDD PowerMgmt ReadDeviceData WriteDeviceData TrustedUI ProtServ NetworkControl NetworkServices LocalServices ReadUserData WriteUserData
+VENDORID 0x70000001
+
+UNPAGED
+
+SMPSAFE
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobbler_panic.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,33 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Panic codes for mbufgobbler layer
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include <e32std.h>
+
+#define ASSERT_DEBUG(exp, pcode) __ASSERT_DEBUG(exp, User::Panic(KMbufGobblerLayerPanic, pcode))
+
+_LIT(KMbufGobblerLayerPanic, "MbufGobblerLayer");
+
+enum TMbufGobblerLayerPanic
+	{
+	EExpectedAccessPointAwareSystem = 1, //copied from CMbufGobblerProviderSelector not sure what this means yet.
+	EUnexpectedTSelectionPrefsType,
+	EInvalidNullPtr
+	};
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerconnprovider.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,77 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef CMBUFGOBBLERCONNPROVIDER_H
+#define CMBUFGOBBLERCONNPROVIDER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <comms-infras/corecpr.h>
+#include "mbufgobblertestflags.h"
+
+
+
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerConnProvider
+ * 
+ */
+
+//comment on diffeent super class options e.g. CMobilityConnectionProvider
+class ESock::CConnectionProviderFactoryBase;
+class CMbufGobblerConnProvider : public CCoreConnectionProvider
+	{
+public:
+	// Constructors and destructor
+	static CMbufGobblerConnProvider* NewL(ESock::CConnectionProviderFactoryBase& aFactory);
+
+	/**
+	 * Destructor.
+	 */
+	~CMbufGobblerConnProvider();
+
+	
+protected: //from CCoreConnectionProvider
+	void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
+
+private:
+
+	/**
+	 * Constructor for performing 1st stage construction
+	 */
+	CMbufGobblerConnProvider(ESock::CConnectionProviderFactoryBase& aFactory);
+
+	/**
+	 * EPOC default constructor for performing 2nd stage construction
+	 */
+	void ConstructL();
+	
+private:
+	TInt iClientCount; //holds count of clients that node is joined with
+
+	MBUFGOBBLER_TEST_DATA
+	};
+
+#endif // CMBUFGOBBLERCONNPROVIDER_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerconnprovideractivities.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,54 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Mesh Activities
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef CMBUFGOBBLERCONNPROVIDERACTIVITIES_H
+#define CMBUFGOBBLERCONNPROVIDERACTIVITIES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+#include <comms-infras/ss_activities.h>
+#include <elements/mm_activities.h>
+
+// CLASS DECLARATION
+namespace MbufGobblerCprActivities
+{
+
+
+enum 
+	{
+	/*
+	 * Add new actviity id's here. I think they must be offset from ECFActivityCustom.
+	 */
+	
+	/*
+	 * This is just an example activity
+	 */
+	EMbufGobblerCprSomeActivity = ESock::ECFActivityCustom + 1,
+	};
+
+DECLARE_ACTIVITY_MAP(MbufGobblerCprActivitiesMap)
+}
+
+
+#endif // CMBUFGOBBLERCONNPROVIDERACTIVITIES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerconnproviderfactory.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,72 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Factory
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef CMBUFGOBBLERCONNPROVIDERFACTORY_H
+#define CMBUFGOBBLERCONNPROVIDERFACTORY_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <comms-infras/ss_connprov.h>
+#include <comms-infras/ss_nodemessages_legacy.h>
+#include <comms-infras/ss_legacyinterfaces.h>
+
+#include "mbufgobbleruids.h"
+
+
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerConnProviderFactory
+ * 
+ */
+class CMbufGobblerConnProviderFactory : public ESock::CConnectionProviderFactoryBase
+	{
+public:
+	// Constructors and destructor
+	enum { iUid = EMbufGobblerCPrUid };
+	static CMbufGobblerConnProviderFactory* NewL(TAny* aParentContainer);
+	/**
+	 * Destructor.
+	 */
+	~CMbufGobblerConnProviderFactory();
+
+protected: //from CConnectionProviderFactoryBase
+	virtual ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& /* aQuery */);
+	virtual void CMbufGobblerConnProviderFactory::EnumerateConnectionsL(RPointerArray<ESock::TSourcedConnectionInfo>& aConnectionInfoPtrArray);
+	
+
+private: //class not intended for derivation 
+	/**
+	 * Constructor for performing 1st stage construction
+	 */
+	CMbufGobblerConnProviderFactory(TUid aFactoryId, ESock::CConnectionFactoryContainer& aParentContainer);
+
+	/**
+	 * EPOC default constructor for performing 2nd stage construction
+	 */
+	void ConstructL();
+
+	};
+
+#endif // CMBUFGOBBLERCONNPROVIDERFACTORY_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerconnprovidermessages.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,33 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Messages
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef CMBUFGOBBLERCONNPROVIDERMESSAGES_H
+#define CMBUFGOBBLERCONNPROVIDERMESSAGES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+
+
+#endif // CMBUFGOBBLERCONNPROVIDERMESSAGES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerconnproviderstates.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,32 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Mesh States
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef CMBUFGOBBLERCONNPROVIDERSTATES_H
+#define CMBUFGOBBLERCONNPROVIDERSTATES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+
+#endif // CMBUFGOBBLERCONNPROVIDERSTATES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerflow.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,137 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Flow / Binder
+//  (data plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERFLOW_H
+#define MBUFGOBBLERFLOW_H
+
+#include <elements/nm_signatures.h>
+#include <comms-infras/ss_subconnflow.h>
+#include <comms-infras/ss_flowbinders.h>
+#include <platform/es_mbuf.h>
+#include <comms-infras/mbufchain.h>
+#include "mbufgobblertestflags.h"
+
+class CMbufGobblerBinder;
+class CMBufGobbler;
+
+class CMbufGobblerFlow : public ESock::CSubConnectionFlowBase, public ESock::MFlowBinderControl
+	{
+	friend class CMbufGobblerFlowFactory;
+
+protected:
+	CMbufGobblerFlow(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf);
+    void ConstructL();
+public:
+	static CMbufGobblerFlow* NewL(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf);
+	virtual ~CMbufGobblerFlow();
+	
+	// from CSubConnectionFlowBase:
+	virtual ESock::MFlowBinderControl* DoGetBinderControlL();
+	virtual void ReceivedL(
+		const Messages::TRuntimeCtxId& aSender,
+		const Messages::TNodeId& aRecipient,
+		Messages::TSignatureBase& aMessage
+		);
+
+	// from MFlowBinderControl:
+	virtual ESock::MLowerControl* GetControlL(const TDesC8& aProtocol);
+	virtual ESock::MLowerDataSender* BindL(const TDesC8& aProtocol, ESock::MUpperDataReceiver* aReceiver, ESock::MUpperControl* aControl);
+	virtual void Unbind( ESock::MUpperDataReceiver* aReceiver, ESock::MUpperControl* aControl);
+	virtual ESock::CSubConnectionFlowBase* Flow();
+
+	// my helper methods:
+	CMbufGobblerBinder* FindOrCreateBinderL(const TDesC8& aProtocol);
+	
+private:
+	RPointerArray<CMbufGobblerBinder> iBinders;
+    CMBufGobbler* iPassThroughMBufGobbler;
+	};
+
+class CMbufGobblerBinder :	public CBase,
+			public ESock::MLowerControl, // I receive control requests from above
+			public ESock::MLowerDataSender, // I receive data from above (outgoing)
+			public ESock::MUpperControl, // I receive control signals from below
+			public ESock::MUpperDataReceiver // I receive data from below (incoming)
+	{
+	public:
+	// My constructor
+		static CMbufGobblerBinder* NewL(const TDesC8& aProtocolName);
+		void ConstructL();
+	protected:
+		CMbufGobblerBinder(const TDesC8& aProtocolName);		
+	public:
+		virtual ~CMbufGobblerBinder();
+		
+		// from ESock::MLowerControl:
+		virtual TInt GetName(TDes& aName);
+		virtual TInt BlockFlow(TBlockOption aOption);
+		virtual TInt GetConfig(TBinderConfig& aConfig);
+		virtual TInt Control(TUint aLevel, TUint aName, TDes8& aOption);
+		
+		// from ESock::MLowerDataSender:
+		virtual ESock::MLowerDataSender::TSendResult Send(RMBufChain& aData);
+		
+		// from ESock::MUpperControl:
+		virtual void StartSending();
+		virtual void Error(TInt anError);
+		
+		// from ESock::MUpperDataReceiver:
+		virtual void Process(RMBufChain& aData);
+		
+
+		// my own methods
+		TBool InUse() const {return iLowerControl || iLowerDataSender || iUpperControl || iUpperDataReceiver ; }
+		void BindToUpperL(ESock::MUpperDataReceiver& aUpperDataReceiver, ESock::MUpperControl& aUpperControl);
+		TBool UnbindFromUpper(ESock::MUpperDataReceiver& aUpperDataReceiver, ESock::MUpperControl& aUpperControl);
+		void BindToLowerFlowL(ESock::MFlowBinderControl& aLowerControl);
+		void UnbindFromLowerFlow(); // NEW UNBIND COMMAND
+		const TDesC8& ProtocolName() const;
+		
+	private:
+		ESock::MFlowBinderControl* iBinderControl;
+		ESock::MLowerControl* iLowerControl; 		// .. so I can send controls down
+		ESock::MLowerDataSender* iLowerDataSender;		// .. so I can send data down (outgoing)
+		ESock::MUpperControl* iUpperControl;		// .. so I can send controls up (err/startsending)
+		ESock::MUpperDataReceiver* iUpperDataReceiver;	// .. so I can send data up (incoming)
+		TBuf8<10> iProtocolName; // long enough for an acronym one would hope	
+		MBUFGOBBLER_TEST_DATA	
+	};
+
+class CMBufGobbler :   public CActive
+    {
+public:
+    static CMBufGobbler* NewL();
+    void ConstructL();
+protected:
+    CMBufGobbler();
+public:
+    virtual ~CMBufGobbler();
+
+    // from CActive:
+    virtual void DoCancel();
+    virtual void RunL();
+
+    RMBufChain iChain;
+    RProperty iProperty;
+    };
+
+#endif // MBUFGOBBLERFLOW_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerflowfactory.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,49 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// The factory class which is used to instantiate the MbufGobbler flow.
+//  (data plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERFLOWFACTORY_H__
+#define MBUFGOBBLERFLOWFACTORY_H__
+
+#include <e32base.h>
+#include <e32std.h>
+#include <comms-infras/ss_subconnflow.h>
+#include <comms-infras/ss_protflow.h>
+#include <comms-infras/ss_subconnprov.h>
+#include <elements/nm_signatures.h>
+#include "mbufgobbleruids.h"
+
+class CMbufGobblerFlowFactory : public ESock::CSubConnectionFlowFactoryBase
+/**
+MbufGobbler Flow Factory
+*/
+	{
+public:
+
+	enum { EUid = EMbufGobblerFlowUid };
+	static CMbufGobblerFlowFactory* NewL(TAny* aConstructionParameters);
+
+protected:
+	CMbufGobblerFlowFactory(TUid aFactoryId, ESock::CSubConnectionFlowFactoryContainer& aParentContainer);
+	virtual ESock::CSubConnectionFlowBase* DoCreateFlowL(ESock::CProtocolIntfBase* aProtocol, ESock::TFactoryQueryBase& aQuery);
+	};
+
+#endif // MBUFGOBBLERFLOWFACTORY_H__
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerhelper.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,45 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Helper class supplying useful logging functions to the providers in the layer
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERHELPER_H
+#define MBUFGOBBLERHELPER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+#include <elements/mm_context.h>
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerHelper
+ * 
+ */
+class MbufGobblerHelper
+	{
+public:
+	static void LogCreateDestroy(const TDesC8& aSubTag, const TDesC8& aNodeName, TAny* aNodePtr, TBool aIsCreate);
+	static void LogMessage(const TDesC8& aSubTag, const TDesC8& aNodeName, TAny* aNodePtr, const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
+	static void PrintClientNodes(const TDesC8& aSubTag, const TDesC8& aNodeName, MeshMachine::AMMNodeBase& aNode, TInt& aClientCount);
+	};
+
+#endif // MBUFGOBBLERHELPER_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerlog.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,85 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Helper macros that wrap the ones from ESock.
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERLOG_H_
+#define MBUFGOBBLERLOG_H_
+
+#include <e32def.h>
+#include <comms-infras/ss_logext.h> //defines LOG_NODE_CREATE and LOG_NODE_DESTROY
+
+#include <cflog.h> //defines __CFLOG_* macros
+
+#include "mbufgobblerhelper.h"
+
+/*
+ * The component tag
+ * 
+ * In commsdbg.ini add line LOG MbufGobblerLayer * to enbale these logs 
+ */
+_LIT8(KMbufGobblerComponentTag, "MbufGobblerLayer");
+
+#define KMbufGobblerMcprTag KESockMetaConnectionTag
+_LIT8(KMbufGobblerMcprSubTag, "MbufGobblerMCpr");
+
+#define KMbufGobblerMCprFactoryTag KESockMetaConnectionTag
+_LIT8(KMbufGobblerMCprFactorySubTag, "MbufGobblerMCprFactory");
+
+#define KMbufGobblerCprFactoryTag KESockConnectionTag
+_LIT8(KMbufGobblerCprFactorySubTag, "MbufGobblerCprFactory");
+
+#define KMbufGobblerCprTag KESockConnectionTag
+_LIT8(KMbufGobblerCprSubTag, "MbufGobblerCpr");
+
+#define KMbufGobblerScprFactoryTag KESockSubConnectionTag
+_LIT8(KMbufGobblerScprFactorySubTag, "MbufGobblerSCprFactory");
+
+#define KMbufGobblerScprTag KESockSubConnectionTag
+_LIT8(KMbufGobblerScprSubTag, "MbufGobblerSCpr");
+
+#define KMbufGobblerFlowTag KESockFlowTag
+_LIT8(KMbufGobblerFlowSubTag,"MbufGobblerFlow");
+
+#define KMbufGobblerTierTag KESockTierTag
+_LIT8(KMbufGobblerTierSubTag,"MbufGobblerTierM");
+
+#define KMbufGobblerTierFactoryTag KESockTierTag
+_LIT8(KMbufGobblerTierFactorySubTag,"MbufGobblerTierMFactory");
+
+/*
+ * LOG_NODE_CREATE - this logs out to utrace and is needed for SVG viewer
+ * __CFLOG_VAR - this logs to standard comms dbg utils. Must include cflog.mmh in mmp file
+ */
+
+#define MBUFGOBBLER_LOG_NODE_CREATE(subTag, type, nodename, nodeptr) \
+		LOG_NODE_CREATE(subTag, type);		 \
+		MbufGobblerHelper::LogCreateDestroy(subTag, nodename, nodeptr, 1); 
+	
+#define MBUFGOBBLER_LOG_NODE_DESTROY(subTag, type, nodename, nodeptr) \
+		LOG_NODE_DESTROY(subTag, type);		 \
+		MbufGobblerHelper::LogCreateDestroy(subTag, nodename, nodeptr, 0);  
+			
+#define LOGMESSAGE(subtag, nodeclass, nodeptr, sender, recipient, msg)	MbufGobblerHelper::LogMessage(subtag, nodeclass, nodeptr, sender, recipient, msg)
+	
+#define LOG_NODE_INFO(subtag, nodename, node, clientcount) MbufGobblerHelper::PrintClientNodes(subtag, nodename, node, clientcount);
+
+#define LOG(subTag, ARGS...) __CFLOG_VAR((KMbufGobblerComponentTag, subTag, ##ARGS));
+
+#endif /* MBUFGOBBLERLOG_H_ */
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblermetaconnprovider.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,60 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Meta Connection Provider
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERMETACONNPROVIDER_H
+#define MBUFGOBBLERMETACONNPROVIDER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <comms-infras/coremcpr.h>
+#include "mbufgobblertestflags.h"
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerMetaConnectionProvider
+ * 
+ */
+	
+class CMbufGobblerMetaConnectionProvider : public CCoreMetaConnectionProvider
+	{
+public:
+	static CMbufGobblerMetaConnectionProvider* NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory,
+											const ESock::TProviderInfo& aProviderInfo);
+	~CMbufGobblerMetaConnectionProvider();
+	 
+protected:
+	CMbufGobblerMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory,
+	const ESock::TProviderInfo& aProviderInfo, const MeshMachine::TNodeActivityMap& aActivityMap);
+
+	void ConstructL();
+	
+	// From MCFNode Interface 
+	void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aCFMessage);
+private:
+	TInt iClientCount; //holds count of clients that node is joined with
+	MBUFGOBBLER_TEST_DATA	
+	};
+
+
+#endif // MBUFGOBBLERMETACONNPROVIDER_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblermetaconnprovideractivities.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,52 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Meta Connection Provider Mesh Activities
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERMETACONNPROVIDERACTIVITIES_H
+#define MBUFGOBBLERMETACONNPROVIDERACTIVITIES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+#include <comms-infras/ss_activities.h>
+#include <elements/mm_activities.h>
+
+// CLASS DECLARATION
+
+namespace MbufGobblerMCprActivities
+{
+enum 
+	{
+	/*
+	 * Add new actviity id's here. I think they must be offset from ECFActivityCustom.
+	 */
+	
+	/*
+	 * This is just an example activity
+	 */
+	EMbufGobblerMCprSomeActivity = ESock::ECFActivityCustom + 1,
+	};
+
+DECLARE_ACTIVITY_MAP(MbufGobblerMCprActivitiesMap)
+}
+
+#endif // MBUFGOBBLERMETACONNPROVIDERACTIVITIES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblermetaconnproviderfactory.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,54 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Factory which creates the Meta Connection Provider
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERMETACONNPROVIDERFACTORY_H
+#define MBUFGOBBLERMETACONNPROVIDERFACTORY_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <comms-infras/ss_metaconnprov.h>
+#include "mbufgobbleruids.h"
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerMetaConnectionProviderFactory
+ * 
+ */
+
+
+class CMbufGobblerMetaConnectionProviderFactory : public ESock::CMetaConnectionProviderFactoryBase
+	{
+public:
+    enum { iUid = EMbufGobblerMCPrUid };
+	static CMbufGobblerMetaConnectionProviderFactory* NewL(TAny* aParentContainer);
+	
+protected: //from CMetaConnectionProviderFactoryBase
+	virtual ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& aQuery);
+	virtual void DoEnumerateConnectionsL (RPointerArray<TConnectionInfo>& /*aConnectionInfoPtrArray*/);
+
+private: //not intended for derivation
+	CMbufGobblerMetaConnectionProviderFactory(TUid aFactoryUid, ESock::CMetaConnectionFactoryContainer& aParentContainer);	
+	};
+
+#endif // MBUFGOBBLERMETACONNPROVIDERFACTORY_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblermetaconnproviderstates.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,70 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Meta Connection Provider Mesh States
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERMETACONNPROVIDERMESHSTATES_H
+#define MBUFGOBBLERMETACONNPROVIDERMESHSTATES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerMetaConnectionProviderStates
+ * 
+ */
+class CMbufGobblerMetaConnectionProviderStates : public CBase
+	{
+public:
+	// Constructors and destructor
+
+	/**
+	 * Destructor.
+	 */
+	~CMbufGobblerMetaConnectionProviderStates();
+
+	/**
+	 * Two-phased constructor.
+	 */
+	static CMbufGobblerMetaConnectionProviderStates* NewL();
+
+	/**
+	 * Two-phased constructor.
+	 */
+	static CMbufGobblerMetaConnectionProviderStates* NewLC();
+
+private:
+
+	/**
+	 * Constructor for performing 1st stage construction
+	 */
+	CMbufGobblerMetaConnectionProviderStates();
+
+	/**
+	 * EPOC default constructor for performing 2nd stage construction
+	 */
+	void ConstructL();
+
+	};
+
+#endif // MBUFGOBBLERMETACONNPROVIDERMESHSTATES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerproviderselector.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,62 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MbufGobbler selector. Used by the Tier Manager to select the access point below
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERPROVIDERSELECTOR_H
+#define MBUFGOBBLERPROVIDERSELECTOR_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+#include <comms-infras/simpleselectorbase.h>
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerProviderSelector
+ *  
+ *  This is basically copied from other selector examples I culd find. Specifically I have used the
+ *  CBtGenericProviderSelector as a template.
+ * 
+ */
+class CMbufGobblerProviderSelector : public CBase, private ASimpleSelectorBase
+	{
+public:
+	static ESock::MProviderSelector* NewL(const Meta::SMetaData& aSelectionPreferences);
+	
+private:
+	CMbufGobblerProviderSelector(const Meta::SMetaData& aSelectionPreferences);
+	~CMbufGobblerProviderSelector();
+	
+	// From MProviderSelector
+	virtual void SelectL(ESock::ISelectionNotify& aSelectionNotify);
+	virtual void Destroy();
+	
+	ESock::CMetaConnectionProviderBase* FindOrCreateProviderL(TUint aAccessPoint);
+	
+private:
+	ESock::TSelectionPrefs iSelectionPreferences;
+	TUint32 iTier;
+	};
+
+
+#endif // MBUFGOBBLERPROVIDERSELECTOR_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblerpubsub.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,60 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Defines the series of requests which a ESOCK client can send to the MBuf Gobbler using
+// the publish and subscribe attribute EMBufGobbler.
+//
+// A test ESOCK client can deplete all the MBufs from the MBuf pool as follows:
+//
+//    TInt result = RProperty::Set(TUid::Uid(EMBufGobbler ), EAdjustNumberOfMBufsRemainingInPool , EGobbleAllMBufs);
+//
+// Issuing this command should cause a socket read or write request to fail due to MBuf pool exhaustion.
+//
+// Subsequently a test ESOCK client can return all the MBufs it has taken from the pool as follows:
+//
+//   result = RProperty::Set(TUid::Uid(EMBufGobbler), EAdjustNumberOfMBufsRemainingInPool, EReleaseAllMBufs);  
+//
+// After taking all the MBufs from the pool, an ESOCK test client can also return a single MBuf back to the pool as follows:
+//
+//   result = RProperty::Set(TUid::Uid(EMBufGobbler), EAdjustNumberOfMBufsRemainingInPool, EReleaseASingleMBuf);
+//
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERPUBSUB_H
+#define MBUFGOBBLERPUBSUB_H
+
+
+
+
+enum
+{
+EMBufGobbler = 0x10272F97
+};
+
+enum
+{
+EAdjustNumberOfMBufsRemainingInPool = 1
+};    
+    
+enum
+{
+EGobbleAllMBufs,
+EReleaseAllMBufs,
+EReleaseASingleMBuf
+};
+
+#endif
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblersubconnprovider.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,70 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Sub Connection Provider
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERSUBCONNPROVIDER_H
+#define MBUFGOBBLERSUBCONNPROVIDER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <comms-infras/corescpr.h>
+#include "mbufgobblertestflags.h"
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerSubconnProvider
+ * 
+ */
+class ESock::CSubConnectionProviderFactoryBase;
+class CMbufGobblerSubconnProvider : public CCoreSubConnectionProvider
+	{
+public:
+	// Constructors and destructor
+	static CMbufGobblerSubconnProvider* NewL(ESock::CSubConnectionProviderFactoryBase& aFactory);
+
+	/**
+	 * Destructor.
+	 */
+	~CMbufGobblerSubconnProvider();
+
+	
+protected: //from CCoreSubConnectionProvider
+	void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
+
+private:
+
+	/**
+	 * Constructor for performing 1st stage construction
+	 */
+	CMbufGobblerSubconnProvider(ESock::CSubConnectionProviderFactoryBase& aFactory);
+
+	/**
+	 * EPOC default constructor for performing 2nd stage construction
+	 */
+	void ConstructL();
+private:
+	TInt iClientCount; //holds count of clients that node is joined with
+	MBUFGOBBLER_TEST_DATA	
+	};
+
+#endif // MBUFGOBBLERSUBCONNPROVIDER_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblersubconnprovideractivities.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,54 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Sub Connection Provider Mesh Activities
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERSUBCONNPROVIDERACTIVITIES_H
+#define MBUFGOBBLERSUBCONNPROVIDERACTIVITIES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+#include <comms-infras/ss_activities.h>
+#include <elements/mm_activities.h>
+
+// CLASS DECLARATION
+
+namespace MbufGobblerSCprActivities
+{
+
+
+enum 
+	{
+	/*
+	 * Add new actviity id's here. I think they must be offset from ECFActivityCustom.
+	 */
+	
+	/*
+	 * This is just an example activity
+	 */
+	EMbufGobblerSCprSomeActivity = ESock::ECFActivityCustom + 1,
+	};
+
+DECLARE_ACTIVITY_MAP(MbufGobblerSCprActivitiesMap)
+}
+
+#endif // MBUFGOBBLERSUBCONNPROVIDERACTIVITIES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblersubconnproviderfactory.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,49 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Sub Connection Provider Factory
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERSUBCONNPROVIDERFACTORY_H
+#define MBUFGOBBLERSUBCONNPROVIDERFACTORY_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <comms-infras/ss_subconnprov.h>
+#include "mbufgobbleruids.h"
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerSubconnProviderFactory
+ * 
+ */
+class CMbufGobblerSubconnProviderFactory : public ESock::CSubConnectionProviderFactoryBase
+	{
+public:
+    enum { iUid = EMbufGobblerSCPrUid };
+	static CMbufGobblerSubconnProviderFactory* NewL(TAny* aParentContainer);
+
+protected:
+	CMbufGobblerSubconnProviderFactory(TUid aFactoryId, ESock::CSubConnectionFactoryContainer& aParentContainer);
+	virtual ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& aQuery);
+	};
+
+#endif // MBUFGOBBLERSUBCONNPROVIDERFACTORY_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblersubconnproviderstates.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,70 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Declaration
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERSUBCONNPROVIDERSTATES_H
+#define MBUFGOBBLERSUBCONNPROVIDERSTATES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerSubconnMeshStates
+ * 
+ */
+class CMbufGobblerSubconnMeshStates : public CBase
+	{
+public:
+	// Constructors and destructor
+
+	/**
+	 * Destructor.
+	 */
+	~CMbufGobblerSubconnMeshStates();
+
+	/**
+	 * Two-phased constructor.
+	 */
+	static CMbufGobblerSubconnMeshStates* NewL();
+
+	/**
+	 * Two-phased constructor.
+	 */
+	static CMbufGobblerSubconnMeshStates* NewLC();
+
+private:
+
+	/**
+	 * Constructor for performing 1st stage construction
+	 */
+	CMbufGobblerSubconnMeshStates();
+
+	/**
+	 * EPOC default constructor for performing 2nd stage construction
+	 */
+	void ConstructL();
+
+	};
+
+#endif // MBUFGOBBLERSUBCONNPROVIDERSTATES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblertestflags.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,98 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Test flags. Lightweight functions to provide basic coverage test
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERTESTFLAGS_H_
+#define MBUFGOBBLERTESTFLAGS_H_
+
+
+#include <e32property.h>
+
+#ifdef _DEBUG
+#define MBUFGOBBLER_TEST_POINT(flag,result) if(iTestFlags) {MbufGobblerTestFlags::SetResult(MbufGobblerTestFlags::flag,result);}
+#define MBUFGOBBLER_TEST_DATA TBool iTestFlags;
+#define MBUFGOBBLER_TEST_DATA_INIT iTestFlags = MbufGobblerTestFlags::TestFlagsActive();
+
+
+namespace MbufGobblerTestFlags
+{
+const TUid KPubSubUid = {0x00285DAC};
+
+enum
+	{
+	// set by test library, read by binder
+	KFlagsActive = 100,
+	
+	// set by binder, read by test library
+	KTierUp = 101,
+	
+	KMCPrUp = 111,
+	
+	KCPrUp = 121,
+	
+	KSCPrUp = 131,
+	
+	KBind = 141,
+	KBinderSend = 142,
+	KBinderReceive = 143,
+	};
+
+
+// used by client test library
+static TInt ActivateTestFlags()
+	{
+	return RProperty::Define(KPubSubUid, KFlagsActive, RProperty::EInt);
+	}
+
+// used by client test library
+static TInt GetResult(TInt aFlag)
+	{
+	TInt value=0;
+	TInt retcode=RProperty::Get(KPubSubUid, aFlag, value);
+	return (retcode==KErrNone) ? value : retcode;
+	}
+	
+// used by binder
+static TBool TestFlagsActive()
+	{
+	return GetResult(KFlagsActive) == KErrNone;
+	}
+
+// used by binder
+static void SetResult(TInt aFlag, TInt aValue)
+	{
+	// Yes it is very inefficient making these calls
+	//  on e.g. each packet send but we only do this when
+	//  the test is running i.e. if it was explicitly
+	//  switched on, so it won't affect "normal" operation.
+	RProperty::Define(KPubSubUid, aFlag, RProperty::EInt);
+	RProperty::Set(KPubSubUid, aFlag, aValue);
+	}
+} // namespace MbufGobblerTestFlags
+
+#else // _DEBUG
+#define MBUFGOBBLER_TEST_POINT(flag,result)
+// It's better to make the urel and udeb objects the same size,
+//  at the expense of 4 bytes:
+#define MBUFGOBBLER_TEST_DATA TBool iTestFlags_unused;
+#define MBUFGOBBLER_TEST_DATA_INIT
+#endif // _DEBUG
+
+#endif /* MBUFGOBBLERTESTFLAGS_H_ */
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblertiermanager.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,52 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Contributors:
+//
+// Description:
+// Tier Manager
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERTIERMANAGER_H
+#define MBUFGOBBLERTIERMANAGER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <comms-infras/coretiermanager.h>
+#include "mbufgobblertestflags.h"
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerTierManager
+ * 
+ */
+class CMbufGobblerTierManager : public CCoreTierManager
+	{
+public:
+	static CMbufGobblerTierManager* NewL(ESock::CTierManagerFactoryBase& aFactory);
+	~CMbufGobblerTierManager();
+	virtual ESock::MProviderSelector* DoCreateProviderSelectorL(const Meta::SMetaData& aSelectionPreferences);
+
+protected: //from Messages::ANode
+	virtual void ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage);
+private:
+	CMbufGobblerTierManager(ESock::CTierManagerFactoryBase& aFactory);
+	void ConstructL();
+private:
+	TInt iClientCount; //holds count of clients that node is joined with
+	MBUFGOBBLER_TEST_DATA	
+	};
+
+#endif // MBUFGOBBLERTIERMANAGER_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblertiermanageractivities.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,54 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Tier Manager Mesh Activities
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERTIERMANAGERACTIVITIES_H
+#define MBUFGOBBLERTIERMANAGERACTIVITIES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+#include <comms-infras/ss_corepractivities.h>
+
+
+// CLASS DECLARATION
+
+namespace MbufGobblerTMActivities
+{
+
+
+enum 
+	{
+	/*
+	 * Add new actviity id's here. I think they must be offset from ECFActivityCustom.
+	 */
+	
+	/*
+	 * This is just an example activity
+	 */
+	EMbufGobblerTMSomeActivity = ESock::ECFActivityCustom + 1,
+	};
+
+DECLARE_ACTIVITY_MAP(MbufGobblerTMActivitiesMap)
+}
+
+#endif // MBUFGOBBLERTIERMANAGERACTIVITIES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblertiermanagerfactory.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,50 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Tier Manager Factory
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERTIERMANAGERFACTORY_H
+#define MBUFGOBBLERTIERMANAGERFACTORY_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+#include <ss_tiermanager.h>
+#include "mbufgobbleruids.h"
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerTierManagerFactory
+ * 
+ */
+
+class CMbufGobblerTierManagerFactory : public ESock::CTierManagerFactoryBase
+	{
+public:
+    enum { iUid = EMbufGobblerTierUid};
+	static CMbufGobblerTierManagerFactory* NewL(TAny* aParentContainer);
+
+protected:
+	CMbufGobblerTierManagerFactory(TUid aTierTypeId, TUid aFactoryUid, ESock::CTierManagerFactoryContainer& aParentContainer);
+	virtual ESock::ACommsFactoryNodeId* DoCreateObjectL(ESock::TFactoryQueryBase& aQuery);
+	};
+
+#endif // MBUFGOBBLERTIERMANAGERFACTORY_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobblertiermanagerstates.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,70 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Tier Manager Mesh States
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLERTIERMANAGERSTATES_H
+#define MBUFGOBBLERTIERMANAGERSTATES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+
+/**
+ *  CMbufGobblerTierManagerMeshStates
+ * 
+ */
+class CMbufGobblerTierManagerMeshStates : public CBase
+	{
+public:
+	// Constructors and destructor
+
+	/**
+	 * Destructor.
+	 */
+	~CMbufGobblerTierManagerMeshStates();
+
+	/**
+	 * Two-phased constructor.
+	 */
+	static CMbufGobblerTierManagerMeshStates* NewL();
+
+	/**
+	 * Two-phased constructor.
+	 */
+	static CMbufGobblerTierManagerMeshStates* NewLC();
+
+private:
+
+	/**
+	 * Constructor for performing 1st stage construction
+	 */
+	CMbufGobblerTierManagerMeshStates();
+
+	/**
+	 * EPOC default constructor for performing 2nd stage construction
+	 */
+	void ConstructL();
+
+	};
+
+#endif // MBUFGOBBLERTIERMANAGERSTATES_H
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/inc/mbufgobbleruids.h	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,34 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Implementation UIds of the mbufgobbler providers
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#ifndef MBUFGOBBLER_UID_H
+#define MBUFGOBBLER_UID_H
+
+enum
+	{
+	EMbufGobblerTierUid	= 0x10272F98,
+	EMbufGobblerMCPrUid	= 0x10272F99,
+	EMbufGobblerCPrUid	= 0x10272F9A,
+	EMbufGobblerSCPrUid	= 0x10272F9B,
+	EMbufGobblerFlowUid	= 0x10272F9C,
+	};
+
+#endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/10272f97.rss	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,105 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Registry info for MbufGobbler providers ECOM plug-in
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "ecom/registryinfo.rh"
+
+RESOURCE REGISTRY_INFO theInfo
+{
+dll_uid = 0x10272F97;
+interfaces = 
+    {
+    INTERFACE_INFO
+		{
+		interface_uid =  0x10281DD7;
+		implementations = 
+			{
+		   IMPLEMENTATION_INFO
+				{
+				implementation_uid = 0x10272F98;
+				version_no = 1;
+				display_name = "MbufGobbler Tier Manager Factory";
+				default_data = "MbufGobblerTMFactory";
+				opaque_data = "";
+				}
+			};
+		},
+    INTERFACE_INFO
+		{
+		interface_uid =  0x10274546;
+		implementations = 
+			{
+		   IMPLEMENTATION_INFO
+				{
+				implementation_uid = 0x10272F99;
+				version_no = 1;
+				display_name = "MbufGobbler Meta Connection Provider Factory";
+				default_data = "MbufGobblerMCPrFactory";
+				opaque_data = "";
+				}
+			};
+		},
+    INTERFACE_INFO
+		{
+		interface_uid =  0x102070EE;
+		implementations = 
+			{
+		   IMPLEMENTATION_INFO
+				{
+				implementation_uid = 0x10272F9A;
+				version_no = 1;
+				display_name = "MbufGobbler Connection Provider Factory";
+				default_data = "MbufGobblerCPrFactory";
+				opaque_data = "";
+				}
+			};
+		},
+	INTERFACE_INFO
+		{
+		interface_uid =  0x10204301;
+		implementations = 
+			{
+		   IMPLEMENTATION_INFO
+				{
+				implementation_uid = 0x10272F9B;
+				version_no = 1;
+				display_name = "MbufGobbler Sub Connection Provider Factory";
+				default_data = "MbufGobblerSCPrFactory";
+				opaque_data = "";
+				}
+			};
+		},
+    INTERFACE_INFO
+        {
+        interface_uid = 0x10281C33;
+        implementations = 
+            {
+           	IMPLEMENTATION_INFO
+                {
+                implementation_uid = 0x10272F9C;
+                version_no = 1;
+                display_name = "MbufGobbler Flow Factory";
+                default_data = "MbufGobblerFlowFactory";
+                opaque_data = "";
+                }
+            };
+		}
+    };
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/ecom_impl.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,49 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// ECOM implementation for the MbufGobbler layer provider factories
+//
+
+/**
+ @file
+ @internalComponent
+ */
+
+#include <ecom/implementationproxy.h>
+#include <ecom/ecom.h>
+
+#include "mbufgobblerflowfactory.h"
+#include "mbufgobblerconnproviderfactory.h"
+#include "mbufgobblersubconnproviderfactory.h"
+#include "mbufgobblermetaconnproviderfactory.h"
+#include "mbufgobblertiermanagerfactory.h"
+
+//
+// ECOM Implementation
+//
+
+const TImplementationProxy ImplementationTable[] =
+	{
+	IMPLEMENTATION_PROXY_ENTRY(CMbufGobblerTierManagerFactory::iUid, CMbufGobblerTierManagerFactory::NewL),
+	IMPLEMENTATION_PROXY_ENTRY(CMbufGobblerMetaConnectionProviderFactory::iUid, CMbufGobblerMetaConnectionProviderFactory::NewL),
+	IMPLEMENTATION_PROXY_ENTRY(CMbufGobblerConnProviderFactory::iUid, CMbufGobblerConnProviderFactory::NewL),
+	IMPLEMENTATION_PROXY_ENTRY(CMbufGobblerSubconnProviderFactory::iUid, CMbufGobblerSubconnProviderFactory::NewL),
+	IMPLEMENTATION_PROXY_ENTRY(CMbufGobblerFlowFactory::EUid, CMbufGobblerFlowFactory::NewL),
+	};
+
+EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
+	{
+	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
+	return ImplementationTable;
+	}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerconnprovider.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,74 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include <comms-infras/ss_connprov.h>
+
+#include "mbufgobblerconnprovider.h"
+#include "mbufgobblerconnprovideractivities.h"
+#include "mbufgobblerlog.h"
+#include "mbufgobblertestflags.h"
+
+using namespace MbufGobblerCprActivities;
+
+_LIT8(KNodeName, "CMbufGobblerConnProvider");
+
+CMbufGobblerConnProvider* CMbufGobblerConnProvider::NewL(ESock::CConnectionProviderFactoryBase& aFactory)
+    {
+    CMbufGobblerConnProvider* prov = new (ELeave) CMbufGobblerConnProvider(aFactory);
+    CleanupStack::PushL(prov);
+    prov->ConstructL();
+    CleanupStack::Pop(prov);
+    return prov;
+    }
+
+CMbufGobblerConnProvider::CMbufGobblerConnProvider(ESock::CConnectionProviderFactoryBase& aFactory)
+:  CCoreConnectionProvider(aFactory, MbufGobblerCprActivities::MbufGobblerCprActivitiesMap::Self())
+	{
+	MBUFGOBBLER_LOG_NODE_CREATE(KMbufGobblerCprSubTag, CMbufGobblerConnProvider, KNodeName, this->NodeId().Ptr());
+	}
+
+
+
+void CMbufGobblerConnProvider::ConstructL()
+	{
+	CCoreConnectionProvider::ConstructL();
+	MBUFGOBBLER_TEST_DATA_INIT
+    MBUFGOBBLER_TEST_POINT(KCPrUp,KErrNone)
+	}
+
+CMbufGobblerConnProvider::~CMbufGobblerConnProvider()
+    {
+    MBUFGOBBLER_LOG_NODE_DESTROY(KMbufGobblerCprSubTag, CMbufGobblerConnProvider, KNodeName, this->NodeId().Ptr());
+    }
+
+void CMbufGobblerConnProvider::ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage)
+	{
+		
+	//NODELOOKUP::RPrintRealmAndMsgInfo(_L8("CVccConnectionProvider::ReceivedL"), realm, msgId, activityid, aCFMessage.iSender.Printable());
+	LOGMESSAGE(KMbufGobblerCprSubTag, KNodeName, this, aSender, aRecipient, aMessage);
+	LOG_NODE_INFO(KMbufGobblerCprSubTag, KNodeName, *this, iClientCount);
+
+	MeshMachine::TNodeContext<CMbufGobblerConnProvider> ctx(*this, aMessage, aSender, aRecipient);
+	Received(ctx);
+	User::LeaveIfError(ctx.iReturn);
+	}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerconnprovideractivities.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,38 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Mesh Activities
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+
+#include "mbufgobblerconnprovideractivities.h"
+#include "mbufgobblerlog.h"
+
+#include <comms-infras/ss_corepractivities.h>
+#include <comms-infras/corecpractivities.h>
+
+
+
+namespace MbufGobblerCprActivities
+{
+DEFINE_ACTIVITY_MAP(MbufGobblerCprActivitiesMap)
+	//no activities defiend here yet. This define is to show where to put activities
+	//so for now just inherit from core activities
+ACTIVITY_MAP_END_BASE(CprActivities, coreCprActivities)
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerconnproviderfactory.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,53 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Factory
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblerconnproviderfactory.h"
+#include "mbufgobblerconnprovider.h"
+#include "mbufgobblerlog.h"
+
+CMbufGobblerConnProviderFactory::~CMbufGobblerConnProviderFactory()
+	{
+	}
+
+CMbufGobblerConnProviderFactory* CMbufGobblerConnProviderFactory::NewL(TAny* aParentContainer)
+    {
+    return new (ELeave) CMbufGobblerConnProviderFactory(TUid::Uid(CMbufGobblerConnProviderFactory::iUid), *reinterpret_cast<ESock::CConnectionFactoryContainer*>(aParentContainer));
+    }
+
+CMbufGobblerConnProviderFactory::CMbufGobblerConnProviderFactory(TUid aFactoryId, ESock::CConnectionFactoryContainer& aParentContainer)
+:	CConnectionProviderFactoryBase(aFactoryId, aParentContainer)
+    {
+    }
+
+ESock::ACommsFactoryNodeId* CMbufGobblerConnProviderFactory::DoCreateObjectL(ESock::TFactoryQueryBase& /* aQuery */)
+    {    
+	return CMbufGobblerConnProvider::NewL(*this); 
+    }
+
+void CMbufGobblerConnProviderFactory::EnumerateConnectionsL(RPointerArray<ESock::TSourcedConnectionInfo>& aConnectionInfoPtrArray)
+    {
+    (void)aConnectionInfoPtrArray;
+    //TEnumerateConnectionsQuery query(aConnectionInfoPtrArray);
+    //Find(query);
+    }
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerconnprovidermessages.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,26 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Messages
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblerconnprovidermessages.h"
+#include "mbufgobblerlog.h"
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerconnproviderstates.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,26 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Mesh States
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblerconnproviderstates.h"
+#include "mbufgobblerlog.h"
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerflow.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,659 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Flow / Binder
+//  (data plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include <comms-infras/ss_activities.h>
+#include <comms-infras/ss_logext.h>
+#include <es_mbman.h>
+#include <mbufgobblerpubsub.h>
+#include "mbufgobblerflow.h"
+#include "mbufgobblerlog.h"
+
+// for panics
+_LIT(KPanicCategory, "MbufGobblerLayer");
+enum
+	{
+	KPanic_DestroyReceivedBeforeUnbind = 2001
+	};
+
+_LIT8(KNodeName, "CMbufGobblerFlow");
+
+
+///////////////////////////
+// class CMbufGobblerFlow  //
+///////////////////////////
+
+CMbufGobblerFlow* CMbufGobblerFlow::NewL(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf)
+    {
+    CMbufGobblerFlow* inst = new(ELeave) CMbufGobblerFlow(aFactory, aSubConnId, aProtocolIntf);
+    CleanupStack::PushL(inst);
+    inst->ConstructL();
+    CleanupStack::Pop(inst);
+    return inst;    
+    }
+    
+CMbufGobblerFlow::CMbufGobblerFlow(ESock::CSubConnectionFlowFactoryBase& aFactory, const Messages::TNodeId& aSubConnId, ESock::CProtocolIntfBase* aProtocolIntf)
+/**
+ * Constructor.
+ *
+ * @param aFactory Reference to the factory which created this object.
+ * @param aTheLogger The logging object, ownership is passed to this object
+ */
+	:ESock::CSubConnectionFlowBase(aFactory, aSubConnId, aProtocolIntf)
+	{
+	MBUFGOBBLER_LOG_NODE_CREATE(KMbufGobblerFlowSubTag, CMbufGobblerFlow, KNodeName, this->NodeId().Ptr());
+	}
+
+void CMbufGobblerFlow::ConstructL()
+    {
+    iPassThroughMBufGobbler = CMBufGobbler::NewL();
+    }
+    
+CMbufGobblerFlow::~CMbufGobblerFlow()
+	{
+	MBUFGOBBLER_LOG_NODE_DESTROY(KMbufGobblerFlowSubTag, CMbufGobblerFlow, KNodeName, this->NodeId().Ptr());
+	iBinders.ResetAndDestroy();
+	delete iPassThroughMBufGobbler;
+	}
+
+
+
+///////////////////////////////////////////
+// Methods from CSubConnectionFlowBase:  //
+///////////////////////////////////////////
+
+ESock::MFlowBinderControl* CMbufGobblerFlow::DoGetBinderControlL()
+	{
+	return this;
+	}
+
+
+// Messages::ANode
+void CMbufGobblerFlow::ReceivedL(
+	const Messages::TRuntimeCtxId& aSender,
+	const Messages::TNodeId& aRecipient,
+	Messages::TSignatureBase& aMessage
+	)
+/**
+Method called on incoming SCPR messages
+
+@param aCFMessage message base
+*/
+    {
+   
+    LOGMESSAGE(KMbufGobblerFlowSubTag, KNodeName, this, aSender, aRecipient, aMessage);
+    //LOG_NODE_INFO(KMbufGobblerFlowSubTag, KNodeName, *this); does not compile as flow inheritance is different to other nodes
+    CSubConnectionFlowBase::ReceivedL(aSender, aRecipient, aMessage);
+
+	// Dispatch the message locally
+	if (ESock::TCFDataClient::ERealmId == aMessage.MessageId().Realm())
+		{
+		switch (aMessage.MessageId().MessageId())
+			{
+
+			case ESock::TCFDataClient::TStart::EId :
+				{
+				iSubConnectionProvider.RNodeInterface::PostMessage(
+					Id(),
+					ESock::TCFDataClient::TStarted().CRef()
+					);
+				}
+				break;
+
+			case ESock::TCFDataClient::TStop::EId :
+				{
+				TInt i;
+				for (i=iBinders.Count()-1;i>=0;--i)
+					{
+				    CMbufGobblerBinder* mbufGobblerBinder = iBinders[i];
+				    mbufGobblerBinder->UnbindFromLowerFlow();
+					delete mbufGobblerBinder;
+					iBinders.Remove(i);
+					}
+				iSubConnectionProvider.PostMessage(Id(), ESock::TCFDataClient::TStopped(KErrNone).CRef());
+				}
+				break;
+
+			case ESock::TCFDataClient::TProvisionConfig::EId :
+				{
+				ESock::TCFDataClient::TProvisionConfig& aMess = Messages::message_cast<ESock::TCFDataClient::TProvisionConfig>(aMessage);
+				iAccessPointConfig.Close();
+				iAccessPointConfig.Open(aMess.iConfig);
+				}
+				break;
+
+			case ESock::TCFDataClient::TBindTo::EId :
+				{
+				ESock::TCFDataClient::TBindTo& bindToReq = Messages::message_cast<ESock::TCFDataClient::TBindTo>(aMessage);
+				if (bindToReq.iNodeId == Messages::TNodeId::NullId())
+					{
+					User::Leave(KErrNotSupported);
+					}
+
+				const Messages::TNodeId& commsId = bindToReq.iNodeId;
+				CSubConnectionFlowBase* lowerFlow = Messages::mnode_cast<CSubConnectionFlowBase>(&commsId.Node());
+
+				MFlowBinderControl* lowerBinderControl = lowerFlow->GetBinderControlL();
+				ASSERT(lowerBinderControl);
+
+				TInt i;
+				for (i=0;i<iBinders.Count();++i)
+					{
+					// binder for each protocol will request binder for same protocol from lower binder controller using this fn.
+					iBinders[i]->BindToLowerFlowL(*lowerBinderControl);
+					}
+				ASSERT(i); // there should be some binders!
+
+				Messages::RClientInterface::OpenPostMessageClose(
+					Id(),
+					aSender,
+					ESock::TCFDataClient::TBindToComplete().CRef()
+					);
+				}
+				break;
+
+			default:
+				ASSERT(EFalse);
+			}
+		}
+	else if (Messages::TEChild::ERealmId == aMessage.MessageId().Realm())
+		{
+		switch (aMessage.MessageId().MessageId())
+			{
+			case Messages::TEChild::TDestroy::EId :
+				{
+				TInt i;
+				for (i=0;i<iBinders.Count();++i)
+					{
+					// ensure all binders unbound
+					if (iBinders[i]->InUse())
+						{
+						//__CFLOG_0(KLogTag1, KLogTag2,_L("something is sending TDestroy to CMbufGobblerFlow before unbinding."));
+						User::Panic(KPanicCategory,KPanic_DestroyReceivedBeforeUnbind);
+						}
+						
+					// EXAMPLE CODE: cancel requests here if necessary...
+					//iBinders[i]->Cancel();
+					
+					}
+				if (i==iBinders.Count()) // all unbound
+					{
+					DeleteThisFlow();
+					}
+				}
+				break;
+
+			default:
+				ASSERT(EFalse);
+			}
+		}
+	// realm != TCFMessage::ERealmId
+	else
+		{
+		ASSERT(EFalse);
+		}
+    }
+
+
+///////////////////////////////////////
+// Methods from MFlowBinderControl:  //
+///////////////////////////////////////
+
+ESock::MLowerControl* CMbufGobblerFlow::GetControlL(const TDesC8& aProtocol)
+/**
+Create and return an MLowerControl instance of the specified binder type.
+
+Called from upper layer during binding procedure.
+
+@param aProtocol Protocol type of the binder
+@return MLowerControl instance of the protocol type
+*/
+	{
+	ESock::MLowerControl* lowerControl = FindOrCreateBinderL(aProtocol);
+	ASSERT(lowerControl);
+	return lowerControl;		
+	}
+
+
+ESock::MLowerDataSender* CMbufGobblerFlow::BindL(const TDesC8& aProtocol, ESock::MUpperDataReceiver* aReceiver, ESock::MUpperControl* aControl)
+	{
+	CMbufGobblerBinder* binder = FindOrCreateBinderL(aProtocol);
+	ASSERT(binder);
+	binder->BindToUpperL( *aReceiver, *aControl );
+
+	iSubConnectionProvider.RNodeInterface::PostMessage(
+		Id(),
+		ESock::TCFControlProvider::TActive().CRef()
+		);
+
+	return binder;
+	}
+
+void CMbufGobblerFlow::Unbind( ESock::MUpperDataReceiver* aReceiver, ESock::MUpperControl* aControl)
+	{
+	ASSERT(aReceiver);
+	ASSERT(aControl);
+	TInt i;
+	TInt numberUnbound=0;
+	for (i=0;i<iBinders.Count();++i)
+		{
+		numberUnbound += (iBinders[i]->UnbindFromUpper(*aReceiver,*aControl) ? 1 : 0);
+		}
+	ASSERT(i); // there should be some binders!
+	ASSERT(numberUnbound<=1); // only 1 unbind should have happened
+
+	iSubConnectionProvider.RNodeInterface::PostMessage(
+		Id(),
+		ESock::TCFControlProvider::TIdle().CRef()
+		);
+	}
+
+ESock::CSubConnectionFlowBase* CMbufGobblerFlow::Flow()
+	{
+	return this;
+	}
+
+
+/////////////////
+// Own methods //
+/////////////////
+
+CMbufGobblerBinder* CMbufGobblerFlow::FindOrCreateBinderL(const TDesC8& aProtocol)
+	{
+	
+	// EXAMPLE CODE: perhaps you only want this protocol to work with IPv4
+	//if (aProtocol.Compare(KIp4ProtocolName))
+	//	{  // only work with IPv4
+	//	User::Leave(KErrNotSupported);
+	//	}
+
+	for (TInt i=0;i<iBinders.Count();++i)
+		{
+		if(iBinders[i]->ProtocolName() == aProtocol)
+			{
+			return iBinders[i];
+			}
+		}
+	// not found.. create it.
+	CMbufGobblerBinder* newBinder = CMbufGobblerBinder::NewL(aProtocol);
+	CleanupStack::PushL(newBinder);
+	iBinders.AppendL(newBinder);
+	CleanupStack::Pop(newBinder);
+	return newBinder;
+	}
+	
+    
+
+	
+
+//##################################################################################################
+	
+/////////////////////////////
+// class CMbufGobblerBinder  //
+/////////////////////////////
+
+
+////////////////////
+// My constructor //
+////////////////////
+
+CMbufGobblerBinder::CMbufGobblerBinder(const TDesC8& aProtocolName):
+	iLowerControl(NULL),
+	iLowerDataSender(NULL),
+	iUpperControl(NULL),
+	iUpperDataReceiver(NULL),
+	iProtocolName(aProtocolName)
+	{}
+
+CMbufGobblerBinder* CMbufGobblerBinder::NewL(const TDesC8& aProtocolName)
+	{
+	CMbufGobblerBinder* inst = new(ELeave) CMbufGobblerBinder(aProtocolName);
+	CleanupStack::PushL(inst);
+	inst->ConstructL();
+	CleanupStack::Pop(inst);
+	return inst;
+	}
+
+void CMbufGobblerBinder::ConstructL()
+	{
+	MBUFGOBBLER_TEST_DATA_INIT
+#if 0
+	// EXAMPLE CODE - set up everything you need to in this method.
+	//  Perhaps you have some kind of test control interface using pub/sub.. if so you'd do something like below..
+	//   Diff this file with networking/netperf/delaymeterproto/src/delaymeterflow.cpp for a full working implementation of such a control interface...
+	CActiveScheduler::Add(this);
+	DefinePubSubKeysL();
+	// watch for incoming commands
+	User::LeaveIfError(iProperty.Attach(TUid::Uid(KDelayMeterControlLevel), KCommandToDelayMeter));
+	iProperty.Subscribe(iStatus);
+	SetActive();
+#endif	
+	}
+
+/*virtual*/
+CMbufGobblerBinder::~CMbufGobblerBinder()
+	{
+	}
+
+
+
+////////////////////////////////////////
+// Methods from ESock::MLowerControl: //
+////////////////////////////////////////
+
+TInt CMbufGobblerBinder::GetName(TDes& aName)
+	{
+	TBuf16<10> tmp;
+	tmp.Copy(ProtocolName());
+	aName.Format(_L("mbufgobbler[%S][0x%08x]"), &tmp, this);
+	
+	return KErrNone;
+	}
+
+TInt CMbufGobblerBinder::BlockFlow(TBlockOption aOption)
+	{
+	if (iLowerControl==NULL)
+		{
+		return KErrNotReady;
+		}
+	return iLowerControl->BlockFlow(aOption) ;
+	}
+
+TInt CMbufGobblerBinder::GetConfig(TBinderConfig& aConfig)
+	{
+	if (iLowerControl==NULL)
+		{
+		return KErrNotReady;
+		}
+	return iLowerControl->GetConfig(aConfig) ;
+	}
+
+TInt CMbufGobblerBinder::Control(TUint aLevel, TUint aName, TDes8& aOption)
+	{
+	// Pass it on..
+	if (iLowerControl==NULL)
+		{
+		return KErrNotReady;
+		}
+	return iLowerControl->Control(aLevel,aName,aOption);
+	}
+	
+
+///////////////////////////////////////////
+// Methods from ESock::MLowerDataSender: //
+///////////////////////////////////////////
+
+ESock::MLowerDataSender::TSendResult CMbufGobblerBinder::Send(RMBufChain& aData)
+	{
+	// EXAMPLE NOTE:
+	//  This is where your protocol will do its work on outgoing data.
+
+    MBUFGOBBLER_TEST_POINT(KBinderSend,KErrNone)
+
+	if (iLowerControl==NULL)
+		{
+		return ESendBlocked; // returning this obliges us to send an unblock later..
+								// so perhaps it'd be better to just swallow the packet?
+		}
+	return iLowerDataSender->Send(aData);
+	}
+
+
+////////////////////////////////////////
+// Methods from ESock::MUpperControl: //
+////////////////////////////////////////
+
+/*virtual*/
+void CMbufGobblerBinder::StartSending()
+	{
+	if (iUpperControl)
+		{
+		iUpperControl->StartSending();
+		}
+	else
+		{
+		ASSERT(1); // to allow setting a breakpoint
+		//__CFLOG_0(KLogTag1, KLogTag2,_L("CMbufGobblerBinder::StartSending: upper control not yet known!"));
+		}
+	}
+
+/*virtual*/
+void CMbufGobblerBinder::Error(TInt anError)
+	{
+	if (iUpperControl)
+		{
+		iUpperControl->Error(anError);
+		}
+	else
+		{
+		ASSERT(1); // to set a breakpoint
+		//__CFLOG_0(KLogTag1, KLogTag2,_L("CMbufGobblerBinder::Error: upper control not yet known!"));
+		}
+	}
+
+
+/////////////////////////////////////////////
+// Methods from ESock::MUpperDataReceiver: //
+/////////////////////////////////////////////
+
+/*virtual*/
+void CMbufGobblerBinder::Process(RMBufChain& aData)
+	{
+	// EXAMPLE NOTE:
+	//  This is where your protocol will do its work on incoming data.
+
+    MBUFGOBBLER_TEST_POINT(KBinderReceive,KErrNone)
+
+	if (iUpperDataReceiver == NULL)
+		{
+		// Why is the guy below still sending data to me when I'm not bound above?
+		//   Try to ignore it
+		ASSERT(1); // so a breakpoint can be set if necessary
+		//__CFLOG_0(KLogTag1, KLogTag2,_L("CMbufGobblerBinder::Process: incoming traffic discarded as upper data receiver not (or no longer) set"));
+		return;
+		}
+	iUpperDataReceiver->Process(aData);
+	}
+
+
+//////////////////////////
+// and my own methods.. //
+//////////////////////////
+
+// called by layer above calling my flow's BindL
+void CMbufGobblerBinder::BindToUpperL(MUpperDataReceiver& aUpperDataReceiver, MUpperControl& aUpperControl)
+	{
+	if(iUpperDataReceiver || iUpperControl) {User::Leave(KErrInUse);}
+	iUpperDataReceiver=&aUpperDataReceiver;
+	iUpperControl=&aUpperControl;
+    MBUFGOBBLER_TEST_POINT(KBind,KErrNone)
+	}
+
+// called by layer above calling my flow's Unbind. Returns ETrue if unbind happened here, EFalse otherwise
+TBool CMbufGobblerBinder::UnbindFromUpper(MUpperDataReceiver& aUpperDataReceiver, MUpperControl& aUpperControl)
+	{
+	if(&aUpperDataReceiver == iUpperDataReceiver && &aUpperControl == iUpperControl)
+		{
+		iUpperDataReceiver=0;
+		iUpperControl=0;
+		return ETrue;
+		}
+	return EFalse;
+	}
+
+// called by my flow receiving a BinderRequest
+void CMbufGobblerBinder::BindToLowerFlowL(ESock::MFlowBinderControl& aLowerBinderControl)
+	{
+//	__CFLOG_0(KLogTag1, KLogTag2, _L("CMbufGobblerBinder::BindToLowerFlowL")); 
+	if(iLowerControl || iLowerDataSender)
+		{
+		User::Leave(KErrInUse);
+		}
+	
+	iBinderControl = &aLowerBinderControl;
+	iLowerControl = aLowerBinderControl.GetControlL(ProtocolName());
+	iLowerDataSender = aLowerBinderControl.BindL(ProtocolName(), this, this);
+	}
+
+void CMbufGobblerBinder::UnbindFromLowerFlow()
+    {
+    if (!iBinderControl)
+        return;
+    
+    iBinderControl->Unbind(this, this);
+    iBinderControl = NULL;
+
+    iLowerControl = NULL;
+    iLowerDataSender = NULL;
+    }
+
+const TDesC8& CMbufGobblerBinder::ProtocolName() const
+	{
+	return iProtocolName;
+	}
+
+CMBufGobbler::CMBufGobbler():
+    CActive(CActive::EPriorityStandard)
+    {
+    }   
+    
+CMBufGobbler* CMBufGobbler::NewL()
+    {
+    CMBufGobbler* inst = new(ELeave) CMBufGobbler;
+    CleanupStack::PushL(inst);
+    inst->ConstructL();
+    CleanupStack::Pop(inst);
+    return inst;
+    }
+
+void CMBufGobbler::ConstructL()
+    {
+    iChain.AllocL(128);
+    
+    CActiveScheduler::Add(this);
+
+    TInt result = RProperty::Define(TUid::Uid(EMBufGobbler), EAdjustNumberOfMBufsRemainingInPool, RProperty::EInt);
+    // Only want 1 instance of a MBufGobbler Layer, so just leave if KErrAlreadyExists returned
+    User::LeaveIfError(result);
+
+    // watch for incoming commands
+    User::LeaveIfError(iProperty.Attach(TUid::Uid(EMBufGobbler), EAdjustNumberOfMBufsRemainingInPool));
+
+    iProperty.Subscribe(iStatus);
+    SetActive();
+    }
+
+/*virtual*/ CMBufGobbler::~CMBufGobbler()
+    {
+    if (IsActive())
+        {
+        Cancel();   
+        }
+
+    iChain.Free();
+    
+    TInt result = RProperty::Delete(TUid::Uid(EMBufGobbler), EAdjustNumberOfMBufsRemainingInPool);  
+    if (result != KErrNone)
+        {
+        RDebug::Print(_L("CMBufGobbler::~CMBufGobbler() %d"), result);
+        }
+    }
+
+/*virtual*/ void CMBufGobbler::DoCancel()
+    {
+    iProperty.Cancel();
+    }
+
+/*virtual*/ void CMBufGobbler::RunL()
+    {
+    // Resubscribe to ensure that next pub/sub notification is picked up
+    iProperty.Subscribe(iStatus);
+    SetActive();
+    
+    TInt request=EGobbleAllMBufs;
+    TInt pubSubRet = iProperty.Get(request);
+    if (pubSubRet == KErrNone)
+        {
+        switch(request)
+            {
+            case EGobbleAllMBufs:
+                {
+                RMBufAllocator allocator;
+                RMBufChain chain;
+                TInt size = allocator.NextMBufSize(0);
+                while (size != KErrNotFound)
+                    {
+                    TInt ret = KErrNone;
+                    while (ret == KErrNone)
+                        {
+                        ret = chain.Alloc(size);
+                        if (ret==KErrNone )
+                            {
+                            iChain.Append(chain);
+                            }
+                        }
+                    size = allocator.NextMBufSize(size);
+                    }
+                TInt length = iChain.Length();
+                RDebug::Print(_L("Out of MBuf Memory... Total MBuf memory in use %d"), length);
+                TInt numBufs = iChain.NumBufs();
+                RDebug::Print(_L("Out of MBuf Memory... Total MBufs in use %d"), numBufs);
+                break;
+                }
+            case EReleaseAllMBufs:
+                {
+                if(!iChain.IsEmpty())
+                     {
+                     iChain.Free();
+                     ASSERT(!iChain.Length());
+                    }
+                break;
+                }
+            case EReleaseASingleMBuf:
+                {            
+                TInt length = iChain.Length();
+                if (length != 0)
+                    {
+                    TInt trimOffset = length - iChain.Last()->Size();
+                    iChain.TrimEnd(trimOffset);
+                    }
+    
+                length = iChain.Length();
+                RDebug::Print(_L("MBufMemory De-Allocated... Total MBuf memory in use %d"), length);
+                break;
+                }
+            default:
+                {
+                RDebug::Print(_L("CMBufGobbler::RunL(), invalid request %d"), request);
+                break;
+                }
+            }
+        }
+    else
+        {
+        RDebug::Print(_L("Attempt to process MBufGobbler publish/subscribe failed with value for  %d"), pubSubRet);
+        }
+    }
+
+
+	
+	
+	
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerflowfactory.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,65 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// The factory class which is used to instantiate the MbufGobbler flow.
+//  (data plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblerflowfactory.h"
+#include "mbufgobblerflow.h"
+#include "mbufgobblerlog.h"
+
+// =====================================================================================
+//
+// MbufGobbler Flow Factory
+//
+
+CMbufGobblerFlowFactory* CMbufGobblerFlowFactory::NewL(TAny* aConstructionParameters)
+/**
+Constructs a Default SubConnection Flow Factory
+
+@param aConstructionParameters construction data passed by ECOM
+
+@returns pointer to a constructed factory
+*/
+	{
+	CMbufGobblerFlowFactory* ptr = new (ELeave) CMbufGobblerFlowFactory(TUid::Uid(CMbufGobblerFlowFactory::EUid), *(reinterpret_cast<ESock::CSubConnectionFlowFactoryContainer*>(aConstructionParameters)));
+	
+	return ptr;
+	}
+
+
+CMbufGobblerFlowFactory::CMbufGobblerFlowFactory(TUid aFactoryId, ESock::CSubConnectionFlowFactoryContainer& aParentContainer)
+	: CSubConnectionFlowFactoryBase(aFactoryId, aParentContainer)
+/**
+Default SubConnection Flow Factory Constructor
+
+@param aFactoryId ECOM Implementation Id
+@param aParentContainer Object Owner
+*/
+	{
+	}
+
+
+ESock::CSubConnectionFlowBase* CMbufGobblerFlowFactory::DoCreateFlowL(ESock::CProtocolIntfBase* aProtocol, ESock::TFactoryQueryBase& aQuery)
+	{
+	const ESock::TDefaultFlowFactoryQuery& query = static_cast<const ESock::TDefaultFlowFactoryQuery&>(aQuery);
+	ESock::CSubConnectionFlowBase *temp = CMbufGobblerFlow::NewL(*this, query.iSCprId, aProtocol);
+	return temp;
+	}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerhelper.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,108 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Helper class supplying useful logging functions to the providers in the layer
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblerhelper.h"
+#include "mbufgobblerlog.h"
+#include <elements/mm_node.h>
+#include <comms-infras/ss_nodeinterfaces.h>
+
+
+void MbufGobblerHelper::LogCreateDestroy(const TDesC8& aSubTag, const TDesC8& aNodeName, TAny* aNodePtr, TBool aIsCreate)
+	{
+	// to eradicate warnings on builds for which the LOG macro does nothing (e.g. urel)
+	(void)(aSubTag); (void)(aNodeName); (void)(aNodePtr); (void)(aIsCreate);
+	
+	if(aIsCreate)
+		{
+		LOG(aSubTag,_L8("%S (0x%x) Created"), &aNodeName, aNodePtr);
+		}		
+	else
+		{
+		LOG(aSubTag,_L8("%S (0x%x) Destroyed"), &aNodeName, aNodePtr);
+		}		
+	}
+
+void MbufGobblerHelper::LogMessage(const TDesC8& aSubTag, const TDesC8& aNodeName, TAny* aNodePtr, const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage)
+	{
+	// to eradicate warnings on builds for which the LOG macro does nothing (e.g. urel)
+	(void)(aSubTag); (void)(aNodeName); (void)(aNodePtr);
+
+	TInt msgId = aMessage.MessageId().MessageId();
+	TInt realm = aMessage.MessageId().Realm();
+	
+	TUint32 threadid_of_sender = aSender.Thread();
+	Messages::TNodeId nid = Messages::address_cast<Messages::TNodeId>(aSender);
+	TAny* ptr = nid.Ptr(); //this seems to be the only hting that can be used to print out something to address the node
+	TAny* rptr = aRecipient.Ptr();
+	__CFLOG_VAR((KMbufGobblerComponentTag, aSubTag,_L8("Node %S(0x%x) message received (msgid=%d, realm=0x%x), sender(0x%x threadID=%d)"), &aNodeName, rptr, msgId, realm, ptr, threadid_of_sender));
+	}
+
+void MbufGobblerHelper::PrintClientNodes(const TDesC8& aSubTag, const TDesC8& aNodeName, MeshMachine::AMMNodeBase& aNode, TInt& aClientCount)
+	{
+	// to eradicate warnings on builds for which the LOG macro does nothing (e.g. urel)
+	(void)(aSubTag); (void)(aNodeName);
+
+	TUint type = ESock::TCFClientType::EData | ESock::TCFClientType::ECtrl | ESock::TCFClientType::EServProvider | ESock::TCFClientType::ECtrlProvider;
+	TInt totclients =  	aNode.CountClients<Messages::TDefaultClientMatchPolicy>(type);
+	//only print if count different than previous
+	if(aClientCount != totclients)
+		{
+		aClientCount = 	totclients;
+		LOG(aSubTag,_L8("Printing Node %S(0x%x) info..."), &aNodeName, aNode.Id().Ptr());
+		LOG(aSubTag, _L8("\tTotal Num clients = %d"), totclients);
+		
+		//enumerate through clients	
+		Messages::TClientIter<Messages::TDefaultClientMatchPolicy> clientIter(aNode.GetClientIter<Messages::TDefaultClientMatchPolicy>(type));
+		Messages::RNodeInterface* client = clientIter++;
+		while (client)
+			{
+			
+			Messages::TNodeId id = client->RecipientId();
+			//look up node type
+			TBuf8<20> typlu;
+			switch(client->Type())
+				{
+				case ESock::TCFClientType::EUnknown:
+					typlu = _L8("EUnknown");
+					break;
+				case ESock::TCFClientType::EData:
+					typlu = _L8("EData");
+					break;
+				case ESock::TCFClientType::ECtrl:
+					typlu = _L8("ECtrl");
+					break;
+				case ESock::TCFClientType::EServProvider:
+					typlu = _L8("EServProvider");
+					break;
+				case ESock::TCFClientType::ECtrlProvider:
+					typlu = _L8("ECtrlProvider");
+					break;
+				default:
+					typlu = _L8("Unknown");
+					break;
+				}
+			LOG(aSubTag, _L8("\t\tClientNode(0x%x) type=%d(%S), flags=%d"), id.Ptr(), client->Type(), &typlu, client->Flags());
+			client = clientIter++;
+			}
+		}
+		
+	}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblermetaconnprovider.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,67 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Meta Connection Provider
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblermetaconnprovider.h"
+#include "mbufgobblermetaconnprovideractivities.h"
+#include "mbufgobblerlog.h"
+#include "mbufgobblertestflags.h"
+
+_LIT8(KNodeName, "CMbufGobblerMetaConnectionProvider");
+
+CMbufGobblerMetaConnectionProvider* CMbufGobblerMetaConnectionProvider::NewL(ESock::CMetaConnectionProviderFactoryBase& aFactory,
+                                   const ESock::TProviderInfo& aProviderInfo)
+	{
+	CMbufGobblerMetaConnectionProvider* self = new (ELeave) CMbufGobblerMetaConnectionProvider(aFactory,aProviderInfo,MbufGobblerMCprActivities::MbufGobblerMCprActivitiesMap::Self());
+	CleanupStack::PushL(self);
+	self->ConstructL();
+	CleanupStack::Pop();
+	return self;
+	}
+
+CMbufGobblerMetaConnectionProvider::CMbufGobblerMetaConnectionProvider(ESock::CMetaConnectionProviderFactoryBase& aFactory,
+				const ESock::TProviderInfo& aProviderInfo, const MeshMachine::TNodeActivityMap& aActivityMap)
+	: CCoreMetaConnectionProvider(aFactory, aProviderInfo, aActivityMap)
+	{
+	MBUFGOBBLER_LOG_NODE_CREATE(KMbufGobblerMcprSubTag, CMbufGobblerMetaConnectionProvider, KNodeName, this->NodeId().Ptr());	
+	}
+
+void CMbufGobblerMetaConnectionProvider::ConstructL()
+	{
+	CCoreMetaConnectionProvider::ConstructL();
+	MBUFGOBBLER_TEST_DATA_INIT
+    MBUFGOBBLER_TEST_POINT(KMCPrUp,KErrNone)
+	}
+
+CMbufGobblerMetaConnectionProvider::~CMbufGobblerMetaConnectionProvider()
+	{
+	MBUFGOBBLER_LOG_NODE_DESTROY(KMbufGobblerMcprSubTag, CMbufGobblerMetaConnectionProvider, KNodeName, this->NodeId().Ptr());
+	}
+
+void CMbufGobblerMetaConnectionProvider::ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aCFMessage)
+	{   
+	LOGMESSAGE(KMbufGobblerMcprSubTag, KNodeName, this, aSender, aRecipient, aCFMessage);
+	LOG_NODE_INFO(KMbufGobblerMcprSubTag, KNodeName, *this, iClientCount);
+	MeshMachine::TNodeContext<CMbufGobblerMetaConnectionProvider> ctx(*this, aCFMessage, aSender, aRecipient);
+	CCoreMetaConnectionProvider::Received(ctx);
+	User::LeaveIfError(ctx.iReturn);
+	}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblermetaconnprovideractivities.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,35 @@
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Meta Connection Provider Mesh Activities
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblermetaconnprovideractivities.h"
+#include "mbufgobblerlog.h"
+
+#include <comms-infras/coremcpractivities.h>
+
+
+namespace MbufGobblerMCprActivities
+{
+DEFINE_ACTIVITY_MAP(MbufGobblerMCprActivitiesMap)
+	//no activities defiend here yet. This define is to show where to put activities
+	//so for now just inherit from core activities
+ACTIVITY_MAP_END_BASE(MCprActivities, coreMCprActivities)
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblermetaconnproviderfactory.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,57 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Factory which creates the Meta Connection Provider
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblermetaconnproviderfactory.h"
+#include "mbufgobblermetaconnprovider.h"
+#include "mbufgobblerlog.h"
+
+
+CMbufGobblerMetaConnectionProviderFactory* CMbufGobblerMetaConnectionProviderFactory::NewL(TAny* aParentContainer)
+	{
+ 	return new (ELeave) CMbufGobblerMetaConnectionProviderFactory(TUid::Uid(CMbufGobblerMetaConnectionProviderFactory::iUid), 
+ 			                         *(reinterpret_cast<ESock::CMetaConnectionFactoryContainer*>(aParentContainer)));
+	}
+
+CMbufGobblerMetaConnectionProviderFactory::CMbufGobblerMetaConnectionProviderFactory(TUid aFactoryUid, ESock::CMetaConnectionFactoryContainer& aParentContainer)
+	: CMetaConnectionProviderFactoryBase(aFactoryUid,aParentContainer)
+	{
+ 	//LOG_NODE_CREATE(KVccMCprFactoryTag, CVccMetaConnectionProviderFactory);
+	}
+
+ESock::ACommsFactoryNodeId* CMbufGobblerMetaConnectionProviderFactory::DoCreateObjectL(ESock::TFactoryQueryBase& aQuery)
+	{ 
+	//LOG1(_L8("CMbufGobblerMetaConnectionProviderFactory %08x:\tDoCreateObjectL()"), this);
+	const ESock::TMetaConnectionFactoryQuery& query = static_cast<const ESock::TMetaConnectionFactoryQuery&>(aQuery);
+	return CMbufGobblerMetaConnectionProvider::NewL (*this, query.iProviderInfo);
+	}
+
+void CMbufGobblerMetaConnectionProviderFactory::DoEnumerateConnectionsL (RPointerArray<TConnectionInfo>& /*aConnectionInfoPtrArray*/)
+	{
+	// Not supported
+	//User::Leave(KErrNotSupported);
+	}
+
+
+
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblermetaconnproviderstates.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,55 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Meta Connection Provider Mesh States
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblermetaconnproviderstates.h"
+#include "mbufgobblerlog.h"
+
+CMbufGobblerMetaConnectionProviderStates::CMbufGobblerMetaConnectionProviderStates()
+	{
+	// No implementation required
+	}
+
+CMbufGobblerMetaConnectionProviderStates::~CMbufGobblerMetaConnectionProviderStates()
+	{
+	}
+
+CMbufGobblerMetaConnectionProviderStates* CMbufGobblerMetaConnectionProviderStates::NewLC()
+	{
+	CMbufGobblerMetaConnectionProviderStates* self =
+			new (ELeave) CMbufGobblerMetaConnectionProviderStates();
+	CleanupStack::PushL(self);
+	self->ConstructL();
+	return self;
+	}
+
+CMbufGobblerMetaConnectionProviderStates* CMbufGobblerMetaConnectionProviderStates::NewL()
+	{
+	CMbufGobblerMetaConnectionProviderStates* self =
+			CMbufGobblerMetaConnectionProviderStates::NewLC();
+	CleanupStack::Pop(); // self;
+	return self;
+	}
+
+void CMbufGobblerMetaConnectionProviderStates::ConstructL()
+	{
+
+	}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblerproviderselector.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,115 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MbufGobbler selector. Used by the Tier Manager to select the access point below
+//  (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblerproviderselector.h"
+#include "mbufgobblerlog.h"
+
+//extra includes 
+#include <ss_select.h> //needed as declares MProviderSelector. Why is it in epoc32/ and not epoc32/comms-infras with all the other headers?
+#include <metadatabase.h> //needed for CommsDat::CMDBSession
+#include <ss_tiermanagerutils.h> //needed for ESock::TierManagerUtils
+#include <commsdattypesv1_1_partner.h> //needed for CCDTierRecord (iTierRecord)
+
+#include "mbufgobbler_panic.h" //needed for ASSERT_DEBUG
+#include "mbufgobblertiermanagerfactory.h" //needed for CMbufGobblerTierManagerFactory::iUid
+#include "mbufgobblermetaconnproviderfactory.h" //needed for CMbufGobblerMetaConnectionProviderFactory::iUid
+
+
+ESock::MProviderSelector* CMbufGobblerProviderSelector::NewL(const Meta::SMetaData& aSelectionPreferences)
+	{
+	//LOG_STATIC_FUNC
+	ASSERT_DEBUG(aSelectionPreferences.IsTypeOf(ESock::TSelectionPrefs::TypeId()), EUnexpectedTSelectionPrefsType);
+	
+	CMbufGobblerProviderSelector* self = NULL;
+	self = new(ELeave) CMbufGobblerProviderSelector(aSelectionPreferences);
+	CleanupStack::PushL(self);
+	
+	CommsDat::CMDBSession* dbs = CommsDat::CMDBSession::NewLC(KCDVersion1_2);
+	
+	self->iTierRecord = ESock::TierManagerUtils::LoadTierRecordL(TUid::Uid(CMbufGobblerTierManagerFactory::iUid), *dbs);
+	
+	ASSERT_DEBUG(static_cast<TUint32>(self->iTierRecord->iDefaultAccessPoint)!=0,EUnexpectedTSelectionPrefsType);
+	
+	CleanupStack::Pop(dbs);
+	CleanupStack::Pop(self);
+	ASSERT_DEBUG(self->iDbs == NULL, EInvalidNullPtr);
+	self->iDbs = dbs;
+	return self;
+	}
+
+CMbufGobblerProviderSelector::CMbufGobblerProviderSelector(const Meta::SMetaData& aSelectionPreferences)
+: ASimpleSelectorBase(aSelectionPreferences)
+	{
+	}
+
+CMbufGobblerProviderSelector::~CMbufGobblerProviderSelector()
+	{
+	}
+
+void CMbufGobblerProviderSelector::Destroy()
+	{
+	delete this;
+	}
+
+
+/**
+Find or create a Mbufgobbler Meta Connection Provider
+*/
+ESock::CMetaConnectionProviderBase* CMbufGobblerProviderSelector::FindOrCreateProviderL(TUint aAccessPoint)
+	{
+	return ASimpleSelectorBase::FindOrCreateProviderL(aAccessPoint); //use base ASimpleSelectorBase::FindOrCreateProviderL
+	
+	/*
+	//Find factory
+	TUid mcprUid(TUid::Uid(CMbufGobblerMetaConnectionProviderFactory::iUid));
+	ESock::CMetaConnectionProviderFactoryBase* factory = static_cast<ESock::CMetaConnectionProviderFactoryBase*> (iMetaContainer.FindOrCreateFactoryL(mcprUid));
+	
+	// Create the provider.
+	ESock::TProviderInfo providerInfo(TUid::Uid(CMbufGobblerTierManagerFactory::iUid), aAccessPoint);
+	ESock::TMetaConnectionFactoryQuery query(providerInfo);
+	
+	ESock::CMetaConnectionProviderBase* provider = static_cast<ESock::CMetaConnectionProviderBase*> (factory->FindOrCreateObjectL(query));
+	
+	ASSERT_DEBUG(provider, EInvalidNullPtr);
+	provider->IncrementBlockingDestroy();
+	return provider;*/
+	}
+
+
+/**
+Perform the selection of a Meta Connection Provider
+*/
+void CMbufGobblerProviderSelector::SelectL(ESock::ISelectionNotify& aSelectionNotify)
+	{
+	//LOG1(_L("CBtGenericProviderSelector %08x:\tSelectL()"), this);
+	
+	ASSERT_DEBUG(iDbs, EInvalidNullPtr);
+	ASSERT_DEBUG(iTierRecord, EInvalidNullPtr);
+	TUint32 defaultAccessPoint = iTierRecord->iDefaultAccessPoint;
+	
+	//Must be set
+	User::LeaveIfError(defaultAccessPoint!=0 ? KErrNone : KErrCorrupt);
+	
+	// Send select complete with the provider, and the final select complete
+	aSelectionNotify.SelectComplete(this, FindOrCreateProviderL(defaultAccessPoint));
+	aSelectionNotify.SelectComplete(this, NULL);
+	}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblersubconnprovider.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,68 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Sub Connection Provider
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblersubconnprovider.h"
+#include "mbufgobblersubconnprovideractivities.h"
+#include "mbufgobblerlog.h"
+#include "mbufgobblertestflags.h"
+
+using namespace MbufGobblerSCprActivities;
+
+_LIT8(KNodeName, "CMbufGobblerSubconnProvider");
+
+CMbufGobblerSubconnProvider* CMbufGobblerSubconnProvider::NewL(ESock::CSubConnectionProviderFactoryBase& aFactory)
+    {
+    CMbufGobblerSubconnProvider* prov = new (ELeave) CMbufGobblerSubconnProvider(aFactory);
+    CleanupStack::PushL(prov);
+    prov->ConstructL();
+    CleanupStack::Pop(prov);
+    return prov;
+    }
+
+CMbufGobblerSubconnProvider::CMbufGobblerSubconnProvider(ESock::CSubConnectionProviderFactoryBase& aFactory)
+:  CCoreSubConnectionProvider(aFactory, MbufGobblerSCprActivities::MbufGobblerSCprActivitiesMap::Self())
+	{
+	MBUFGOBBLER_LOG_NODE_CREATE(KMbufGobblerScprSubTag, CMbufGobblerSubconnProvider, KNodeName, this->NodeId().Ptr());
+	}
+
+
+
+void CMbufGobblerSubconnProvider::ConstructL()
+	{
+	CCoreSubConnectionProvider::ConstructL();
+	MBUFGOBBLER_TEST_DATA_INIT
+    MBUFGOBBLER_TEST_POINT(KSCPrUp,KErrNone)
+	}
+
+CMbufGobblerSubconnProvider::~CMbufGobblerSubconnProvider()
+    {
+    MBUFGOBBLER_LOG_NODE_DESTROY(KMbufGobblerScprSubTag, CMbufGobblerSubconnProvider, KNodeName, this->NodeId().Ptr());
+    }
+
+void CMbufGobblerSubconnProvider::ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage)
+	{
+	LOGMESSAGE(KMbufGobblerScprSubTag, KNodeName, this, aSender, aRecipient, aMessage);
+	LOG_NODE_INFO(KMbufGobblerScprSubTag, KNodeName, *this, iClientCount);
+	MeshMachine::TNodeContext<CMbufGobblerSubconnProvider> ctx(*this, aMessage, aSender, aRecipient);
+	Received(ctx);
+	User::LeaveIfError(ctx.iReturn);
+	}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblersubconnprovideractivities.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,37 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Sub Connection Provider Mesh Activities
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblersubconnprovideractivities.h"
+#include "mbufgobblerlog.h"
+
+//#include <comms-infras/ss_corepractivities.h>
+#include <comms-infras/corescpractivities.h>
+
+
+
+namespace MbufGobblerSCprActivities
+{
+DEFINE_ACTIVITY_MAP(MbufGobblerSCprActivitiesMap)
+	//no activities defiend here yet. This define is to show where to put activities
+	//so for now just inherit from core activities
+ACTIVITY_MAP_END_BASE(SCprActivities, coreSCprActivities)
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblersubconnproviderfactory.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,59 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Sub Connection Provider Factory
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblersubconnproviderfactory.h"
+#include "mbufgobblersubconnprovider.h"
+#include "mbufgobblerlog.h"
+
+CMbufGobblerSubconnProviderFactory* CMbufGobblerSubconnProviderFactory::NewL(TAny* aParentContainer)
+    {
+    return new (ELeave) CMbufGobblerSubconnProviderFactory(TUid::Uid(CMbufGobblerSubconnProviderFactory::iUid), 
+                                            *reinterpret_cast<ESock::CSubConnectionFactoryContainer*>(aParentContainer));
+    }
+    
+CMbufGobblerSubconnProviderFactory::CMbufGobblerSubconnProviderFactory(TUid aFactoryId, ESock::CSubConnectionFactoryContainer& aParentContainer)
+	: CSubConnectionProviderFactoryBase(aFactoryId, aParentContainer)
+    {
+    }
+
+ESock::ACommsFactoryNodeId* CMbufGobblerSubconnProviderFactory::DoCreateObjectL(ESock::TFactoryQueryBase& aQuery)
+    {
+    
+    const ESock::TDefaultSCPRFactoryQuery& query = static_cast<const ESock::TDefaultSCPRFactoryQuery&>(aQuery);
+    if (query.iSCPRType == RSubConnection::EAttachToDefault)
+        {
+        return CMbufGobblerSubconnProvider::NewL(*this);
+        }
+    else if(query.iSCPRType == RSubConnection::ECreateNew)
+    	{
+    	
+    	}
+    else if(query.iSCPRType == RSubConnection::EWaitIncoming)
+    	{
+    
+    	}
+    else //will never get here - should really assert
+        {
+        User::Leave(KErrNotSupported);
+        }
+    return NULL;
+    }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblersubconnproviderstates.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,55 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Connection Provider Declaration
+//  (control plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblersubconnproviderstates.h"
+#include "mbufgobblerlog.h"
+
+CMbufGobblerSubconnMeshStates::CMbufGobblerSubconnMeshStates()
+	{
+	// No implementation required
+	}
+
+CMbufGobblerSubconnMeshStates::~CMbufGobblerSubconnMeshStates()
+	{
+	}
+
+CMbufGobblerSubconnMeshStates* CMbufGobblerSubconnMeshStates::NewLC()
+	{
+	CMbufGobblerSubconnMeshStates* self =
+			new (ELeave) CMbufGobblerSubconnMeshStates();
+	CleanupStack::PushL(self);
+	self->ConstructL();
+	return self;
+	}
+
+CMbufGobblerSubconnMeshStates* CMbufGobblerSubconnMeshStates::NewL()
+	{
+	CMbufGobblerSubconnMeshStates* self =
+			CMbufGobblerSubconnMeshStates::NewLC();
+	CleanupStack::Pop(); // self;
+	return self;
+	}
+
+void CMbufGobblerSubconnMeshStates::ConstructL()
+	{
+
+	}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblertiermanager.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,80 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Tier Manager
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblertiermanager.h"
+#include "mbufgobblertiermanageractivities.h"
+#include "mbufgobblerlog.h"
+#include "mbufgobblertestflags.h"
+
+#include <comms-infras/coretiermanageractivities.h>
+
+#include "mbufgobblerproviderselector.h"
+
+_LIT8(KNodeName, "CMbufGobblerTierManager");
+
+CMbufGobblerTierManager* CMbufGobblerTierManager::NewL(ESock::CTierManagerFactoryBase& aFactory)
+	{
+	CMbufGobblerTierManager* self = new (ELeave) CMbufGobblerTierManager(aFactory);
+ 	CleanupStack::PushL(self);
+ 	self->ConstructL();
+ 	CleanupStack::Pop(self);
+ 	return self;
+	}
+
+CMbufGobblerTierManager::CMbufGobblerTierManager(ESock::CTierManagerFactoryBase& aFactory)                                   
+:	CCoreTierManager(aFactory,MbufGobblerTMActivities::MbufGobblerTMActivitiesMap::Self())
+	{
+	MBUFGOBBLER_LOG_NODE_CREATE(KMbufGobblerTierSubTag, CMbufGobblerTierManager, KNodeName, this->NodeId().Ptr());
+	}
+
+void CMbufGobblerTierManager::ConstructL()
+	{
+	CCoreTierManager::ConstructL();
+	MBUFGOBBLER_TEST_DATA_INIT
+    MBUFGOBBLER_TEST_POINT(KTierUp,KErrNone)
+	}
+
+CMbufGobblerTierManager::~CMbufGobblerTierManager()
+	{
+	MBUFGOBBLER_LOG_NODE_DESTROY(KMbufGobblerTierSubTag, CMbufGobblerTierManager, KNodeName, this->NodeId().Ptr());
+	}
+
+ESock::MProviderSelector* CMbufGobblerTierManager::DoCreateProviderSelectorL(const Meta::SMetaData& aSelectionPreferences)
+	{
+    return CMbufGobblerProviderSelector::NewL(aSelectionPreferences);
+	}
+
+void CMbufGobblerTierManager::ReceivedL(const Messages::TRuntimeCtxId& aSender, const Messages::TNodeId& aRecipient, Messages::TSignatureBase& aMessage)
+	{
+	LOGMESSAGE(KMbufGobblerTierSubTag, KNodeName, this, aSender, aRecipient, aMessage);
+	LOG_NODE_INFO(KMbufGobblerTierSubTag, KNodeName, *this, iClientCount);
+  	MeshMachine::TNodeContext<CMbufGobblerTierManager> ctx(*this, aMessage, aSender, aRecipient);
+   	CCoreTierManager::Received(ctx);
+    User::LeaveIfError(ctx.iReturn);
+	}
+
+
+
+
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblertiermanageractivities.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,41 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Tier Manager Mesh Activities
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblertiermanageractivities.h"
+#include "mbufgobblerlog.h"
+
+#include <comms-infras/ss_activities.h>
+#include <elements/mm_activities.h>
+
+//#include <comms-infras/ss_corepractivities.h>
+#include <comms-infras/coretiermanageractivities.h>
+
+
+
+namespace MbufGobblerTMActivities
+{
+DEFINE_ACTIVITY_MAP(MbufGobblerTMActivitiesMap)
+	//no activities defiend here yet. This define is to show where to put activities
+	//so for now just inherit from core activities
+ACTIVITY_MAP_END_BASE(TMActivities, coreTMActivities)
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblertiermanagerfactory.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,49 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Tier Manager Factory
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblertiermanagerfactory.h"
+#include "mbufgobblertiermanager.h"
+#include "mbufgobblerlog.h"
+
+
+
+CMbufGobblerTierManagerFactory* CMbufGobblerTierManagerFactory::NewL(TAny* aParentContainer)
+	{
+	//__CFLOG_VAR((KIPProtoTierMgrTag, KIPProtoTierMgrSubTag, _L8("CIPProtoTierManagerFactory::\tNewL(%08x)"), aParentContainer));
+ 	return new (ELeave) CMbufGobblerTierManagerFactory(TUid::Uid(CMbufGobblerTierManagerFactory::iUid),TUid::Uid(CMbufGobblerTierManagerFactory::iUid),*(reinterpret_cast<ESock::CTierManagerFactoryContainer*>(aParentContainer)));
+	}
+
+CMbufGobblerTierManagerFactory::CMbufGobblerTierManagerFactory(TUid aTierTypeId, TUid aFactoryUid, ESock::CTierManagerFactoryContainer& aParentContainer)
+:	CTierManagerFactoryBase(aTierTypeId,aFactoryUid,aParentContainer)
+	{
+	//MBUFGOBBLER_LOG_NODE_CREATE(KMbufGobblerTierFactorySubTag,CMbufGobblerTierManagerFactory, this);
+	
+	//__CFLOG_VAR((KIPProtoTierMgrTag, KIPProtoTierMgrSubTag, _L8("CIPProtoTierManagerFactory %08x:\tCIPProtoTierManagerFactory"), this));
+	}
+
+ESock::ACommsFactoryNodeId* CMbufGobblerTierManagerFactory::DoCreateObjectL(ESock::TFactoryQueryBase& /* aQuery */)
+	{
+	return CMbufGobblerTierManager::NewL(*this);
+	}
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/mbufgobblerlayer/src/mbufgobblertiermanagerstates.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,55 @@
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Tier Manager Mesh States
+//   (management plane)
+//
+
+/**
+ @file
+ @internalComponent
+*/
+
+#include "mbufgobblertiermanagerstates.h"
+#include "mbufgobblerlog.h"
+
+CMbufGobblerTierManagerMeshStates::CMbufGobblerTierManagerMeshStates()
+	{
+	// No implementation required
+	}
+
+CMbufGobblerTierManagerMeshStates::~CMbufGobblerTierManagerMeshStates()
+	{
+	}
+
+CMbufGobblerTierManagerMeshStates* CMbufGobblerTierManagerMeshStates::NewLC()
+	{
+	CMbufGobblerTierManagerMeshStates* self =
+			new (ELeave) CMbufGobblerTierManagerMeshStates();
+	CleanupStack::PushL(self);
+	self->ConstructL();
+	return self;
+	}
+
+CMbufGobblerTierManagerMeshStates* CMbufGobblerTierManagerMeshStates::NewL()
+	{
+	CMbufGobblerTierManagerMeshStates* self =
+			CMbufGobblerTierManagerMeshStates::NewLC();
+	CleanupStack::Pop(); // self;
+	return self;
+	}
+
+void CMbufGobblerTierManagerMeshStates::ConstructL()
+	{
+
+	}
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize.cfg	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1594 +0,0 @@
-############################################################
-## AUTO-GENERATED CONFIGURATION FILE
-## CommsDat Database Dump Utility
-## 1.1
-############################################################
-
-############################################################
-## Network
-## 
-[Network]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Intranet
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Intranet2
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=Intranet3
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=Intranet4
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=Intranet5
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=Intranet6
-	FIELD_COUNT=1
-END_ADD
-
-
-############################################################
-## ModemBearer
-## 
-[ModemBearer]
-ADD_TEMPLATE
-	Name=Default Loopback Modem
-	TSYName=SIM
-	CSYName=PKTLOOPBACK
-	LastSocketActivityTimeout=180
-	LastSessionClosedTimeout=4
-	LastSocketClosedTimeout=6
-	DataBits=8
-	StopBits=1
-	Parity=NONE
-	Rate=115200
-	Handshaking=0
-	SpecialRate=0
-	XonChar=0
-	XoffChar=0
-	FaxClassPref=AUTO
-	SpeakerPref=NEVER
-	SpeakerVolPref=QUIET
-	ModemInitString=AT
-	DataInitString=AT
-	FaxInitString=AT
-	DialPauseLength=S8=
-	SpeakerVolContorlLow=L0
-	SpeakerVolControlMedium=L1
-	SpeakerVolControlHigh=L2
-	SpeakerAlwaysOff=M0
-	SpeakerOnUntilCarrier=M1
-	SpeakerAlwaysOn=M2
-	SpeakerOnAfterUntilCarrier=M3
-	DialToneWaitModifier=W
-	CallProgress1=X1
-	CallProgress2=X2
-	CallProgress3=X3
-	CallProgress4=X4
-	EchoOff=E0
-	VerboseText=V1
-	QuietOff=Q0
-	QuietOn=Q1
-	DialCommandStateModifier=;
-	OnLine=O
-	ResetConfiguration=Z
-	ReturnToFactoryDefs=&F
-	DCDOnDuringLink=&C1
-	DTRHangUp=&D2
-	DSRAlwaysOn=&S0
-	RTSCTSHandshake=&K3
-	XonXoffHandshake=&K4
-	EscapeCharacter=+
-	EscapeGuardPeriod=S12
-	NoDialTone=NO DIAL TONE
-	Busy=BUSY
-	NoAnswer=NO ANSWER
-	Carrier=CARRIER
-	Connect=CONNECT
-	CompressionClass5=COMPRESSION:CLASS 5
-	CompressionV42bis=COMPRESSION:V.42 bis
-	CompressionNone=COMPRESSION:NONE
-	ProtocolLAPD=PROTOCOL:LAPD
-	ProtocolALT=PROTOCOL:ALT
-	ProtocolALTCELLULAR=PROTOCOL:ALT-CELLULAR
-	ProtocolNone=PROTOCOL:NONE
-	MessageValidityPeriod=0
-	MessageDeliveryReport=FALSE
-	CommRole=0
-	BCAStack=C32Bca
-	Agent=NULLAGT
-	FIELD_COUNT=65
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Loopback_RawIP_1
-	IfName=RAWIP
-	PortName=PKTLOOPBACK::501
-	FIELD_COUNT=3
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Loopback_SPUD_2
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=Loopback_RawIP_3
-	IfName=RAWIP
-	PortName=PKTLOOPBACK::502
-	FIELD_COUNT=3
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=Loopback_SPUD_4
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=WinTunnel_SPUD_5
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=Loopback_SPUD_5
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=Loopback_SPUD_6
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=Loopback_SPUD_7
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=Loopback_SPUD_8
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## Location
-## 
-[Location]
-ADD_TEMPLATE
-	Name=Default Location
-	IntlPrefixCode=+
-	NatPrefixCode=0
-	NatCode=44
-	Mobile=TRUE
-	UsePulseDial=FALSE
-	WaitForDialTone=FALSE
-	PauseAfterDialout=0
-	FIELD_COUNT=8
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Office
-	IntlPrefixCode=00
-	AreaCode=171
-	DialOutCode=9,
-	Mobile=FALSE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Mobile
-	FIELD_COUNT=1
-END_ADD
-
-
-############################################################
-## OutgoingGPRS
-## 
-[OutgoingGPRS]
-ADD_TEMPLATE
-	Name=Default Outgoing GPRS
-	APN=Test
-	PDPType=IPV4
-	ReqPrecedence=2
-	ReqDelay=4
-	ReqReliability=3
-	ReqPeakThroughput=3
-	ReqMeanThroughput=31
-	MinPrecedence=2
-	MinDelay=4
-	MinReliability=3
-	MinPeakThroughput=3
-	MinMeanThroughput=31
-	DataCompression=FALSE
-	HeaderCompression=FALSE
-	GprsUseEdge=FALSE
-	AnonymousAccess=FALSE
-	IfNetworks=ip
-	IfPromptForAuth=FALSE
-	IfAuthName=RasUser
-	AuthRetries=1
-	IpNetMask=255.255.255.0
-	IpGateway=0.0.0.1
-	IpAddrFromServer=FALSE
-	IpDNSAddrFromServer=FALSE
-	IpNameServer1=194.72.6.51
-	IpNameServer2=194.72.6.51
-	EnableLCPExtension=FALSE
-	DisablePlainTextAuth=FALSE
-	UmtsR99QoSAndOn=1
-	FIELD_COUNT=30
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=RawIP_Bounce_1
-	IpAddr=192.168.1.1
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=SPUD_Echo_2
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.2
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=RawIP_Bounce_3
-	IpAddr=192.168.2.3
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=SPUD_Echo_4
-	IfParams=lowernif=RAWIP
-	IpAddr=192.168.2.4
-	FIELD_COUNT=3
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=SPUD_Multi_1
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.10
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=SPUD_Multi_2
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.11
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=SPUD_Multi_3
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.12
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=SPUD_Multi_4
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.13
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=GPRS_BAD_QOS
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.2
-	IpDNSAddrFromServer=TRUE
-	UmtsR99QoSAndOn=5
-	FIELD_COUNT=6
-END_ADD
-
-
-############################################################
-## DefaultGPRS
-## 
-[DefaultGPRS]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Dummy Default GPRS Settings
-	Usage=1
-	APN=Access point name
-	PDPType=IPV6
-	PDPAddress=www.wid.com
-	Precedence=1
-	Delay=1
-	Reliability=1
-	PeakThroughput=1
-	MeanThroughput=1
-	MinPrecedence=1
-	MinDelay=1
-	MinReliability=1
-	MinPeakThroughput=1
-	MinMeanThroughput=1
-	DataCompression=TRUE
-	HeaderCompression=TRUE
-	GprsUseEdge=FALSE
-	AnonymousAccess=TRUE
-	FIELD_COUNT=19
-END_ADD
-
-
-############################################################
-## APPrioritySelectionPolicyTable
-## 
-[APPrioritySelectionPolicyTable]
-ADD_SECTION
-# COMMDB_ID = 254
-	Id=20000
-	Name=APSelPolNetworkDefault
-	AP1=Link.AccessPointTable.10004
-	APCOUNT=1
-	FIELD_COUNT=4
-END_ADD
-
-
-############################################################
-## TierTable
-## 
-[TierTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Id=2048
-	Name=Tier1
-	TierImplUid=271064536
-	TierThreadName=ESock_IP
-	TierManagerName=NetworkTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10000
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Id=271064560
-	Name=Tier2
-	TierImplUid=271064560
-	TierThreadName=ESock_IP
-	TierManagerName=ProtoTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10004
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Id=271064565
-	Name=Tier3
-	TierImplUid=271064565
-	TierThreadName=ESock_IP
-	TierManagerName=LinkTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10000
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Id=536887799
-	Name=Tier4
-	TierImplUid=536887799
-	TierThreadName=ESock_SIP
-	TierManagerName=SIPTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10002
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-
-############################################################
-## MCprTable
-## 
-[MCprTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=netmcpr
-	MCprUid=271009095
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipprotomcpr
-	MCprUid=271064558
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=pppmcpr
-	MCprUid=271064556
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=ethmcpr
-	MCprUid=271064572
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=rawipmcpr
-	MCprUid=271064576
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=tunnelmcpr
-	MCprUid=271064578
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=qospppmcpr
-	MCprUid=271064556
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=dummynifmcpr
-	MCprUid=271064580
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=hungrynifmcpr
-	MCprUid=271064580
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=pdpmcpr
-	MCprUid=271065840
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Name=sipmcpr
-	MCprUid=536887801
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 13
-	Name=panethermcpr
-	MCprUid=271070626
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## CprTable
-## 
-[CprTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=ipcpr
-	CprUid=270561519
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipprotocpr
-	CprUid=271064531
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=agentcpr
-	CprUid=271064552
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=vanillacpr
-	CprUid=271065843
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=sipcpr
-	CprUid=271010872
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=tunnelagentcpr
-	CprUid=271080968
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=pdpcpr
-	CprUid=271065826
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## SCprTable
-## 
-[SCprTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=qosipscpr
-	SCprUid=270549768
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipprotoscpr
-	SCprUid=271064529
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=agentscpr
-	SCprUid=271064554
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=pdpscpr
-	SCprUid=271065824
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=pppscpr
-	SCprUid=271065852
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=vanillascpr
-	SCprUid=271065844
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=qosscpr
-	SCprUid=271065811
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=sipscpr
-	SCprUid=271010839
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## ProtocolTable
-## 
-[ProtocolTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=sapshim
-	ProtocolUid=270496898
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipshim4
-	ProtocolUid=271064118
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=ppp
-	ProtocolUid=271064143
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=ethernet
-	ProtocolUid=271064539
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=rawip
-	ProtocolUid=271064562
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=tunnel
-	ProtocolUid=271064567
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=qosppp
-	ProtocolUid=271064148
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=dummynif
-	ProtocolUid=271064123
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=hungrynif
-	ProtocolUid=271064125
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=panether
-	ProtocolUid=271070627
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Name=rawip2
-	ProtocolUid=271084280
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## BearerTypeTable
-## 
-[BearerTypeTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=ppp
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.3
-	Cpr=CprTable.3
-	SCpr=SCprTable.5
-	Protocol=ProtocolTable.3
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ethint
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.4
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.4
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=rawip
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=tunnelnif
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.6
-	Cpr=CprTable.7
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.6
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=qosppp
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.7
-	Cpr=CprTable.3
-	SCpr=SCprTable.5
-	Protocol=ProtocolTable.7
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=dummynif
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.8
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.8
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=hungrynif
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.9
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.9
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=spud-ppp
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.3
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.3
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=spud-rawip
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.3
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=IPProtoDefaultTemplate
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Name=NetworkDefaultTemplate
-	Tier=Link.TierTable.2048
-	MCpr=MCprTable.1
-	Cpr=CprTable.1
-	SCpr=SCprTable.7
-	Protocol=ProtocolTable.1
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 12
-	Name=rawip2
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.11
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 13
-	Name=spud-rawip2
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.11
-	FIELD_COUNT=6
-END_ADD
-
-
-############################################################
-## AccessPointTable
-## 
-[AccessPointTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Id=1
-	Name=rawipMappedFromIAP1
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Id=10003
-	Name=IPProto_generated_10003
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=1
-	CustomSelectionPolicy=1
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Id=2
-	Name=spud-rawipMappedFromIAP2
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.3
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Id=10004
-	Name=IPProto_generated_10004
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=2
-	CustomSelectionPolicy=2
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Id=3
-	Name=rawipMappedFromIAP3
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Id=10005
-	Name=IPProto_generated_10005
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=3
-	CustomSelectionPolicy=3
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Id=4
-	Name=spud-rawipMappedFromIAP4
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Id=10006
-	Name=IPProto_generated_10006
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=4
-	CustomSelectionPolicy=4
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Id=5
-	Name=rawipMappedFromIAP5
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Id=10007
-	Name=IPProto_generated_10007
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=5
-	CustomSelectionPolicy=5
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Id=6
-	Name=spud-rawipMappedFromIAP6
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.3
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 12
-	Id=10008
-	Name=IPProto_generated_10008
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=6
-	CustomSelectionPolicy=6
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 13
-	Id=7
-	Name=spud-rawipMappedFromIAP7
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 14
-	Id=10009
-	Name=IPProto_generated_10009
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=7
-	CustomSelectionPolicy=7
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 15
-	Id=8
-	Name=spud-rawipMappedFromIAP8
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 16
-	Id=10010
-	Name=IPProto_generated_10010
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=8
-	CustomSelectionPolicy=8
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 17
-	Id=9
-	Name=spud-rawipMappedFromIAP9
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 18
-	Id=10011
-	Name=IPProto_generated_10011
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=9
-	CustomSelectionPolicy=9
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 19
-	Id=10
-	Name=spud-rawipMappedFromIAP10
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 20
-	Id=10012
-	Name=IPProto_generated_10012
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=10
-	CustomSelectionPolicy=10
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 252
-	Id=10002
-	Name=SIPDefault
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.536887799
-	MCpr=MCprTable.11
-	Cpr=CprTable.5
-	SCpr=SCprTable.8
-	Protocol=ProtocolTable.2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 254
-	Id=10000
-	Name=NetworkDefault
-	AccessPointSelectionPolicy=Link.APPrioritySelectionPolicyTable.20000
-	Tier=Link.TierTable.2048
-	MCpr=MCprTable.1
-	Cpr=CprTable.1
-	SCpr=SCprTable.7
-	Protocol=ProtocolTable.1
-	FIELD_COUNT=8
-END_ADD
-
-
-############################################################
-## GlobalSettings
-## 
-[GlobalSettings]
-ADD_TEMPLATE
-	DefaultTier=1
-	FIELD_COUNT=1
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=DefaultRecordName-1
-	ConnectionAttempts=2
-	RedialAttempts=3
-	SmsReceiveMode=2
-	GPRSAttachMode=1
-	AcceptIncomingGprs=1
-	GPRSClassCBearer=GSM
-	ModemForDataAndFax=2
-	ModemForPhoneServicesAndSMS=2
-	LocationForDataAndFax=2
-	LocationForPhoneServicesAndSMS=2
-	DefaultNetwork=1
-	BearerAvailabilityCheckTSY=mm
-	FIELD_COUNT=13
-END_ADD
-
-
-############################################################
-## IAP
-## 
-[IAP]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Loopback_GRPS_1
-	IAPServiceType=OutgoingGPRS
-	IAPService=1
-	IAPBearerType=ModemBearer
-	IAPBearer=1
-	IAPNetwork=1
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Loopback_GRPS_2
-	IAPServiceType=OutgoingGPRS
-	IAPService=2
-	IAPBearerType=ModemBearer
-	IAPBearer=2
-	IAPNetwork=1
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=Loopback_GRPS_3
-	IAPServiceType=OutgoingGPRS
-	IAPService=3
-	IAPBearerType=ModemBearer
-	IAPBearer=3
-	IAPNetwork=2
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=Loopback_GRPS_4
-	IAPServiceType=OutgoingGPRS
-	IAPService=4
-	IAPBearerType=ModemBearer
-	IAPBearer=4
-	IAPNetwork=2
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=Loopback_GRPS_5
-	IAPServiceType=OutgoingGPRS
-	IAPService=1
-	IAPBearerType=ModemBearer
-	IAPBearer=3
-	IAPNetwork=2
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=Loopback_GRPS_6
-	IAPServiceType=OutgoingGPRS
-	IAPService=1
-	IAPBearerType=ModemBearer
-	IAPBearer=1
-	IAPNetwork=3
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=Loopback_GRPS_7
-	IAPServiceType=OutgoingGPRS
-	IAPService=6
-	IAPBearerType=ModemBearer
-	IAPBearer=7
-	IAPNetwork=4
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=Loopback_GRPS_8
-	IAPServiceType=OutgoingGPRS
-	IAPService=7
-	IAPBearerType=ModemBearer
-	IAPBearer=8
-	IAPNetwork=5
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=Loopback_GRPS_9
-	IAPServiceType=OutgoingGPRS
-	IAPService=8
-	IAPBearerType=ModemBearer
-	IAPBearer=9
-	IAPNetwork=6
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=IAP_GRPS_BAD_QOS
-	IAPServiceType=OutgoingGPRS
-	IAPService=9
-	IAPBearerType=ModemBearer
-	IAPBearer=2
-	IAPNetwork=1
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-
-############################################################
-## ConnectionPreferences
-## 
-[ConnectionPreferences]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=DefaultRecordName-1
-	Ranking=1
-	Direction=OUTGOING
-	BearerSet=PSD
-	DialogPref=DONOTPROMPT
-	IAP=2
-	FIELD_COUNT=6
-END_ADD
-
-
-############################################################
-## UmtsR99QoSAndOn
-## 
-[UmtsR99QoSAndOn]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=PRIMARY1
-	ReqTrafficClass=1
-	MinTrafficClass=1
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=1
-	MinDeliverErroneousSDU=1
-	ReqMaxSDUSize=0
-	MinAcceptableMaxSDUSize=0
-	ReqMaxUplinkRate=0
-	ReqMinUplinkRate=0
-	ReqMaxDownlinkRate=0
-	ReqMinDownlinkRate=0
-	ReqBER=1
-	MaxBER=1
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=0
-	MaxTransferDelay=0
-	ReqGuaranteedUplinkRate=0
-	MinGuaranteedUplinkRat=0
-	ReqGuaranteedDownlinkRate=0
-	MinGuaranteedDownlinkRate=0
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=SECONDARY1
-	ReqTrafficClass=4
-	MinTrafficClass=4
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=8
-	MinDeliverErroneousSDU=8
-	ReqMaxSDUSize=768
-	MinAcceptableMaxSDUSize=512
-	ReqMaxUplinkRate=1024
-	ReqMinUplinkRate=1024
-	ReqMaxDownlinkRate=1024
-	ReqMinDownlinkRate=1024
-	ReqBER=0
-	MaxBER=0
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=250
-	MaxTransferDelay=250
-	ReqGuaranteedUplinkRate=1024
-	MinGuaranteedUplinkRat=1024
-	ReqGuaranteedDownlinkRate=1024
-	MinGuaranteedDownlinkRate=1024
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=PRIMARY2
-	ReqTrafficClass=1
-	MinTrafficClass=1
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=1
-	MinDeliverErroneousSDU=1
-	ReqMaxSDUSize=0
-	MinAcceptableMaxSDUSize=0
-	ReqMaxUplinkRate=0
-	ReqMinUplinkRate=0
-	ReqMaxDownlinkRate=0
-	ReqMinDownlinkRate=0
-	ReqBER=1
-	MaxBER=1
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=0
-	MaxTransferDelay=0
-	ReqGuaranteedUplinkRate=0
-	MinGuaranteedUplinkRat=0
-	ReqGuaranteedDownlinkRate=0
-	MinGuaranteedDownlinkRate=0
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=SECONDARY2
-	ReqTrafficClass=4
-	MinTrafficClass=4
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=8
-	MinDeliverErroneousSDU=8
-	ReqMaxSDUSize=768
-	MinAcceptableMaxSDUSize=512
-	ReqMaxUplinkRate=1024
-	ReqMinUplinkRate=1024
-	ReqMaxDownlinkRate=1024
-	ReqMinDownlinkRate=1024
-	ReqBER=0
-	MaxBER=0
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=250
-	MaxTransferDelay=250
-	ReqGuaranteedUplinkRate=1024
-	MinGuaranteedUplinkRat=1024
-	ReqGuaranteedDownlinkRate=1024
-	MinGuaranteedDownlinkRate=1024
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=BAD_QOS
-	MinTrafficClass=1
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=1
-	MinDeliverErroneousSDU=1
-	ReqMaxSDUSize=0
-	MinAcceptableMaxSDUSize=0
-	ReqMaxUplinkRate=0
-	ReqMinUplinkRate=0
-	ReqMaxDownlinkRate=0
-	ReqMinDownlinkRate=0
-	ReqBER=1
-	MaxBER=1
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=0
-	MaxTransferDelay=0
-	ReqGuaranteedUplinkRate=0
-	MinGuaranteedUplinkRat=0
-	ReqGuaranteedDownlinkRate=0
-	MinGuaranteedDownlinkRate=0
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=27
-END_ADD
-
-
-############################################################
-## PolicySelectorTable
-## 
-[PolicySelectorTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=DefaultRecordName-1
-	PolicyId=1
-	SrcAddress=0.0.0.0
-	SrcMask=255.255.255.255
-	DstAddress=192.168.1.1
-	DstMask=255.255.255.255
-	SrcPort=0
-	DstPort=3461
-	SrcPortMax=1031
-	DstPortMax=3461
-	ProtocolId=17
-	IAPid=2
-	Priority=1
-	FIELD_COUNT=13
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=DefaultRecordName-2
-	PolicyId=2
-	SrcPort=0
-	SrcPortMax=0
-	ProtocolId=1
-	IAPid=2
-	Priority=1
-	FIELD_COUNT=7
-END_ADD
-
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize.ini	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-[MMUInfo]
-SimTsyTestNum = 1
-PrimaryIapId1 = 2
-PrimaryIapId2 = 6
-TestMinMMU = 1
-TestMaxMMU = 2000
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize_config.txt	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,193 +0,0 @@
-############################################################################
-############################################################################
-###################              T E S T 1              ####################
-############################################################################
-############################################################################
-# Test case for success results
-############################################################################
-[test1]
-# DefaultContextparamGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge>
-# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, 
-# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>
-DefaultContextparamGPRS= 3, SYMBIAN EMPLOYEE INTRANET, A WAP PORTAL, 2, 1, 1, 1, USER2, PASSWORD2, NULL, NULL, PRIMARYSERVER2, SECONDARYSERVER2, 2
-
-# ContextConfigGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge>
-# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, 
-# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>
-SetContextConfigGPRS = 0,Test,,0,2,0,1,RasUser,,,,,,1
-# TRel99ContextConfig = <TName iContextName>,  <TUint iActivatePause>, <TUint iActivateErrorCode>, <TUint iDeactivatePause>, 
-# <TUint iDeactivateErrorCode>, <TUint iDeletionPause>, <TUint iDeletionErrorCode> <TBool iConnectToNtRas>
-R99ContextConfig = PRIMARY1, 0, 0, 0, 0, 0, 0, 0
-R99ContextConfig = PRIMARY2, 0, 0, 0, 0, 0, 0, 0
-R99ContextConfig = PRIMARY3, 0, 0, 0, 0, 0, 0, 0
-R99ContextConfig = PRIMARY4, 0, 0, 0, 0, 0, 0, 0
-R99ContextConfig = PRIMARY5, 0, 0, 0, 0, 0, 0, 0
-R99ContextConfig = SECONDARY1, 0, 0, 0, 0, 0, 0, 0
-R99ContextConfig = SECONDARY2, 0, 0, 0, 0, 0, 0, 0
-
-# TFTfilter = 0<id> 1<evaluationPrecedenceIndex> 2<srcAddr> 3<srcAddrSubnetMask>  4<protocolNumberOrNextHeader>
-#	      5<srcPortMin> 6<srcPortMax> 7<destPortMin> 8<destPortMax> 9<ipSecSPI> 10<toSorTrafficClass>
-#	      11<flowLabel>
-TFTfilter = 1, 96, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0
-TFTfilter = 1, 0, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0
-TFTfilter = 1, 1, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0
-
-#TProfileReqR99 = 0<contextName> 1<reqTraffic> 2<minTraffic> 3<reqDeliveryOrder> 4<minDeliveryOrder>
-#		  5<reqErroneousSDU> 6<minErroneousSDU> 7<maxSDUSize> 8<minSDUSize>
-#		 9<reqUpLinkBitRate> 10<reqDownLinkBitRate> 11<minUpLinkBitRate> 12<minDownLinkBitRate> 
-#		 
-#		 13<reqBitErrorRatio> 14<minBitErrorRatio> 15<reqSDUErrorRatio> 16<minSDUErrorRatio>
-#		 17<reqTrafficHandlingPriority> 18<minTrafficHandlingPriority>
-#		 19<reqTransferDelay> 20<minTransferDelay> 21<reqGuaranteedUpLinkBitRate> 22<reqGuaranteedDownLinkBitRate>
-#		 23<minGuaranteedUpLinkBitRate> 24<minGuaranteedDownLinkBitRate>
-QosProfileReqR99 = PRIMARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
-QosProfileReqR99 = PRIMARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
-QosProfileReqR99 = PRIMARY3,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
-QosProfileReqR99 = PRIMARY4,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
-QosProfileReqR99 = PRIMARY5,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
-QosProfileReqR99 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0
-QosProfileReqR99 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0
-QosProfileReqR99 = SECONDARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
-QosProfileReqR99 = SECONDARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
-
-QosProfileReqR5 = PRIMARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
-QosProfileReqR5 = PRIMARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
-QosProfileReqR5 = PRIMARY3,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
-QosProfileReqR5 = PRIMARY4,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
-QosProfileReqR5 = PRIMARY5,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
-QosProfileReqR5 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0, 0, 0
-QosProfileReqR5 = SECONDARY1,0x04, 0x04, 0x01, 0x01, 0x08, 0x08, -1, -1, -1, -1, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 250, 250, -1, -1, 0, 0, 0, 0
-QosProfileReqR5 = SECONDARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
-QosProfileReqR5 = SECONDARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
-
-#TProfileNegR99 =<contextName> <duration> <negTraffic> <negDeliveryOrder> <negErroneousSDUDelivery> <negMaxSDUSize>
-#		 <negBitErrorRatio> <negSDUErrorRatio> <negTrafficHandlingPriority>
-#		 <negTransferDelay> <negGuaranteedUpLinkBitRate> <negGuaranteedDownLinkBitRate>
-#		 <negMaxUpLinkRate> <negMaxDownLinkRate> 
-QosProfileNegR99 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-QosProfileNegR99 = PRIMARY2, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = PRIMARY3, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = PRIMARY4, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = PRIMARY5, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = SECONDARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
-QosProfileNegR99 = SECONDARY2, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-
-QosProfileNegR5 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-QosProfileNegR5 = PRIMARY2, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = PRIMARY3, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = PRIMARY4, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = PRIMARY5, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = SECONDARY1, 0x03, 0x01, 0x01, 0x01, 1501, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = SECONDARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
-QosProfileNegR5 = SECONDARY2, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-
-#TQosProfileCapsR99 = <trafficCap> <deliveryOrderReqCap> <deliverErroneousSDUCap>
-#		      <BERCap> <SDUErrorRatioCap> <trafficHandlingPriorityCap>
-QosProfileCapsR99= 0x08, 0x04, 0x02, 0x04, 0x02, 0x04
-
-QosNetworkNotificationType = PublishSubscribe
-# QosNetworkNotification = <contextName> <duration> <negTraffic> <negDeliveryOrder> <negErroneousSDUDelivery>
-#		 <negBitErrorRatio> <negSDUErrorRatio> <negTrafficHandlingPriority>
-#		 <negTransferDelay> <negGuaranteedUpLinkBitRate> <negGuaranteedDownLinkBitRate>
-#		 <negMaxUpLinkRate> <negMaxDownLinkRate> <negMaxSDUSize>
-QosNetworkNotification = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-QosNetworkNotification = PRIMARY2, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-QosNetworkNotification = PRIMARY3, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-QosNetworkNotification = PRIMARY4, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-QosNetworkNotification = PRIMARY5, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-QosNetworkNotification = SECONDARY1, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
-
-
-QosR5NetworkNotification = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-QosR5NetworkNotification = PRIMARY2, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-QosR5NetworkNotification = PRIMARY3, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-QosR5NetworkNotification = PRIMARY4, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-QosR5NetworkNotification = PRIMARY5, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-QosR5NetworkNotification = SECONDARY1, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
-
-
-#SetProfileFail= <contextName> <numberOfTimes> <errorCode> <setProfileDigit>
-SetProfileFail = NEG_99, 0x04, 0x02
-
-#QosprofileReqGPRS= <minPrecedence> <reqPrecedence> <minDelay> <reqDelay> <minReliability> <reqReliability> <minPeek> <reqPeek>
-#		    <minMean> <reqMean>
-QosProfileReqGPRS= 0x08, 0x04, 0x02, 0x04, 0x02, 0x04, 0x020, 0x080, 0x00004, 0x00020
-QosProfileReqGPRS= 0x04, 0x04, 0x02, 0x04, 0x02, 0x04, 0x020, 0x080, 0x00004, 0x00020
-
-#QosProfileNegGPRS=<negPrecedence> <negDelay><negReliability> <negPeek> <negMean>
-QosProfileNegGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002
-QosProfileNegGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002
-
-#QosProfileCapsGPRS=<negPrecedenceCap> <negDelayCap> <negReliabilityCap><negPeekCap> <negMeanCap>
-QosProfileCapsGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002 
-
-# QosProfileReq
-# = <TTrafficClass>, <TTrafficClass>, <TDeliveryOrder>, <TDeliveryOrder>
-# <TErroneousSDUDelivery>, <TErroneousSDUDelivery>
-# <TErroneousSDUDelivery>, <TInt iReqMaxSDUSize>, <TInt iMinAcceptableMaxSDUSize>
-# <TBitRate>, <TBitRate>, <TBitErrorRatio>, 
-# <TBitErrorRatio>, <TSDUErrorRatio>, <TSDUErrorRatio>, <TTrafficHandlingPriority>, <TTrafficHandlingPriority>
-# <TInt	iReqTransferDelay>, <TInt iMaxTransferDelay>, <TBitRate>, <TBitRate>
-
-# QosProfileNeg = <TQoSPrecedence>, <TQoSDelay>, <TQoSReliability>, <TQoSPeakThroughput>, <TQoSMeanThroughput>
-# <TTrafficClass>, <TDeliveryOrder>, <TErroneousSDUDelivery>, <TInt iMaxSDUSize>, <TBitRate>, 
-# <TBitErrorRatio>, <TSDUErrorRatio>, <TTrafficHandlingPriority>
-# <TInt iTransferDelay>, <TBitRate>		
-
-DefaultContextparamRel99= 3, ACME INTERNET PROVIDERS LTD, i-MODE GATEWAY, 1, 1, USER2, PASSWORD2, NULL, NULL, PRIMARYSERVER2, SECONDARYSERVER2, 2
-# DefaultContextparamRel99 = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <TUseEdge>
-# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, 
-# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>
-
-ReleaseMode = 5, 5
-# Packet Release mode = <Release> <Duration>
-
-#RegStatus=<duration> <regStat> <networkIndex> 
-RegStatus= 5,3
-RegStatus= 2,5,0
-RegStatus= 2,7,3
-RegStatus= 5,2
-RegStatus= 2,5,0
-
-# NetworkRegStatus = <Duration>, <RegistrationStatus>
-NetworkRegStatusType = PublishSubscribe
-NetworkRegStatus= 5,2
-NetworkRegStatus= 5,1
-NetworkRegStatus= 5,1
-
-# CommSetup = <CsyName> <portName> <datarate> <handshake> <contextName> 
-CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::502, 18, 0, PRIMARY1
-CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::501, 18, 0, PRIMARY2
-
-############################################################################
-# failure events
-# Configure the context's status to be changed using publish and subscribe
-NotifyContextStatusChangeType = PublishSubscribe
-# NotifyContextStatusChange <iContextName>, <iDuration>, <iStatus>
-
-# EStatusDeactivating = 4 EStatusInactive = 1 EStatusDeleted = 6
-NotifyContextStatusChange = PRIMARY1, 0, 6
-NotifyContextStatusChange = PRIMARY1, 0, 4
-NotifyContextStatusChange = PRIMARY1, 0, 1
-NotifyContextStatusChange = PRIMARY2, 0, 6
-NotifyContextStatusChange = PRIMARY3, 0, 6
-NotifyContextStatusChange = PRIMARY4, 0, 6
-NotifyContextStatusChange = PRIMARY5, 0, 6
-NotifyContextStatusChange = SECONDARY1, 0, 6
-NotifyContextStatusChange = SECONDARY1, 0, 4
-NotifyContextStatusChange = SECONDARY1, 0, 1
-
-# EStatusSuspended = 5 EStatusActive = 3
-NotifyContextStatusChange = PRIMARY1, 0, 5
-NotifyContextStatusChange = PRIMARY1, 0, 3
-NotifyContextStatusChange = PRIMARY2, 0, 5
-NotifyContextStatusChange = PRIMARY3, 0, 5
-NotifyContextStatusChange = PRIMARY4, 0, 5
-NotifyContextStatusChange = PRIMARY5, 0, 5
-NotifyContextStatusChange = SECONDARY1, 0, 5
-NotifyContextStatusChange = SECONDARY1, 0, 3
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/TE_RawIpSize_pdpcpr.cfg	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1594 +0,0 @@
-############################################################
-## AUTO-GENERATED CONFIGURATION FILE
-## CommsDat Database Dump Utility
-## 1.1
-############################################################
-
-############################################################
-## Network
-## 
-[Network]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Intranet
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Intranet2
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=Intranet3
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=Intranet4
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=Intranet5
-	FIELD_COUNT=1
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=Intranet6
-	FIELD_COUNT=1
-END_ADD
-
-
-############################################################
-## ModemBearer
-## 
-[ModemBearer]
-ADD_TEMPLATE
-	Name=Default Loopback Modem
-	TSYName=SIM
-	CSYName=PKTLOOPBACK
-	LastSocketActivityTimeout=180
-	LastSessionClosedTimeout=4
-	LastSocketClosedTimeout=6
-	DataBits=8
-	StopBits=1
-	Parity=NONE
-	Rate=115200
-	Handshaking=0
-	SpecialRate=0
-	XonChar=0
-	XoffChar=0
-	FaxClassPref=AUTO
-	SpeakerPref=NEVER
-	SpeakerVolPref=QUIET
-	ModemInitString=AT
-	DataInitString=AT
-	FaxInitString=AT
-	DialPauseLength=S8=
-	SpeakerVolContorlLow=L0
-	SpeakerVolControlMedium=L1
-	SpeakerVolControlHigh=L2
-	SpeakerAlwaysOff=M0
-	SpeakerOnUntilCarrier=M1
-	SpeakerAlwaysOn=M2
-	SpeakerOnAfterUntilCarrier=M3
-	DialToneWaitModifier=W
-	CallProgress1=X1
-	CallProgress2=X2
-	CallProgress3=X3
-	CallProgress4=X4
-	EchoOff=E0
-	VerboseText=V1
-	QuietOff=Q0
-	QuietOn=Q1
-	DialCommandStateModifier=;
-	OnLine=O
-	ResetConfiguration=Z
-	ReturnToFactoryDefs=&F
-	DCDOnDuringLink=&C1
-	DTRHangUp=&D2
-	DSRAlwaysOn=&S0
-	RTSCTSHandshake=&K3
-	XonXoffHandshake=&K4
-	EscapeCharacter=+
-	EscapeGuardPeriod=S12
-	NoDialTone=NO DIAL TONE
-	Busy=BUSY
-	NoAnswer=NO ANSWER
-	Carrier=CARRIER
-	Connect=CONNECT
-	CompressionClass5=COMPRESSION:CLASS 5
-	CompressionV42bis=COMPRESSION:V.42 bis
-	CompressionNone=COMPRESSION:NONE
-	ProtocolLAPD=PROTOCOL:LAPD
-	ProtocolALT=PROTOCOL:ALT
-	ProtocolALTCELLULAR=PROTOCOL:ALT-CELLULAR
-	ProtocolNone=PROTOCOL:NONE
-	MessageValidityPeriod=0
-	MessageDeliveryReport=FALSE
-	CommRole=0
-	BCAStack=C32Bca
-	Agent=NULLAGT
-	FIELD_COUNT=65
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Loopback_RawIP_1
-	IfName=RAWIP
-	PortName=PKTLOOPBACK::501
-	FIELD_COUNT=3
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Loopback_SPUD_2
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=Loopback_RawIP_3
-	IfName=RAWIP
-	PortName=PKTLOOPBACK::502
-	FIELD_COUNT=3
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=Loopback_SPUD_4
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=WinTunnel_SPUD_5
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=Loopback_SPUD_5
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=Loopback_SPUD_6
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=Loopback_SPUD_7
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=Loopback_SPUD_8
-	IfName=SPUD
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## Location
-## 
-[Location]
-ADD_TEMPLATE
-	Name=Default Location
-	IntlPrefixCode=+
-	NatPrefixCode=0
-	NatCode=44
-	Mobile=TRUE
-	UsePulseDial=FALSE
-	WaitForDialTone=FALSE
-	PauseAfterDialout=0
-	FIELD_COUNT=8
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Office
-	IntlPrefixCode=00
-	AreaCode=171
-	DialOutCode=9,
-	Mobile=FALSE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Mobile
-	FIELD_COUNT=1
-END_ADD
-
-
-############################################################
-## OutgoingGPRS
-## 
-[OutgoingGPRS]
-ADD_TEMPLATE
-	Name=Default Outgoing GPRS
-	APN=Test
-	PDPType=IPV4
-	ReqPrecedence=2
-	ReqDelay=4
-	ReqReliability=3
-	ReqPeakThroughput=3
-	ReqMeanThroughput=31
-	MinPrecedence=2
-	MinDelay=4
-	MinReliability=3
-	MinPeakThroughput=3
-	MinMeanThroughput=31
-	DataCompression=FALSE
-	HeaderCompression=FALSE
-	GprsUseEdge=FALSE
-	AnonymousAccess=FALSE
-	IfNetworks=ip
-	IfPromptForAuth=FALSE
-	IfAuthName=RasUser
-	AuthRetries=1
-	IpNetMask=255.255.255.0
-	IpGateway=0.0.0.1
-	IpAddrFromServer=FALSE
-	IpDNSAddrFromServer=FALSE
-	IpNameServer1=194.72.6.51
-	IpNameServer2=194.72.6.51
-	EnableLCPExtension=FALSE
-	DisablePlainTextAuth=FALSE
-	UmtsR99QoSAndOn=1
-	FIELD_COUNT=30
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=RawIP_Bounce_1
-	IpAddr=192.168.1.1
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=SPUD_Echo_2
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.2
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=RawIP_Bounce_3
-	IpAddr=192.168.2.3
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=SPUD_Echo_4
-	IfParams=lowernif=RAWIP
-	IpAddr=192.168.2.4
-	FIELD_COUNT=3
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=SPUD_Multi_1
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.10
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=SPUD_Multi_2
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.11
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=SPUD_Multi_3
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.12
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=SPUD_Multi_4
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.13
-	IpDNSAddrFromServer=TRUE
-	FIELD_COUNT=5
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=GPRS_BAD_QOS
-	IfParams=lowernif=RAWIP
-	IpAddrFromServer=TRUE
-	IpAddr=192.168.1.2
-	IpDNSAddrFromServer=TRUE
-	UmtsR99QoSAndOn=5
-	FIELD_COUNT=6
-END_ADD
-
-
-############################################################
-## DefaultGPRS
-## 
-[DefaultGPRS]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Dummy Default GPRS Settings
-	Usage=1
-	APN=Access point name
-	PDPType=IPV6
-	PDPAddress=www.wid.com
-	Precedence=1
-	Delay=1
-	Reliability=1
-	PeakThroughput=1
-	MeanThroughput=1
-	MinPrecedence=1
-	MinDelay=1
-	MinReliability=1
-	MinPeakThroughput=1
-	MinMeanThroughput=1
-	DataCompression=TRUE
-	HeaderCompression=TRUE
-	GprsUseEdge=FALSE
-	AnonymousAccess=TRUE
-	FIELD_COUNT=19
-END_ADD
-
-
-############################################################
-## APPrioritySelectionPolicyTable
-## 
-[APPrioritySelectionPolicyTable]
-ADD_SECTION
-# COMMDB_ID = 254
-	Id=20000
-	Name=APSelPolNetworkDefault
-	AP1=Link.AccessPointTable.10004
-	APCOUNT=1
-	FIELD_COUNT=4
-END_ADD
-
-
-############################################################
-## TierTable
-## 
-[TierTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Id=2048
-	Name=Tier1
-	TierImplUid=271064536
-	TierThreadName=ESock_IP
-	TierManagerName=NetworkTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10000
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Id=271064560
-	Name=Tier2
-	TierImplUid=271064560
-	TierThreadName=ESock_IP
-	TierManagerName=ProtoTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10004
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Id=271064565
-	Name=Tier3
-	TierImplUid=271064565
-	TierThreadName=ESock_IP
-	TierManagerName=LinkTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10000
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Id=536887799
-	Name=Tier4
-	TierImplUid=536887799
-	TierThreadName=ESock_SIP
-	TierManagerName=SIPTierManager
-	DefaultAccessPoint=Link.AccessPointTable.10002
-	PromptUser=0
-	FIELD_COUNT=7
-END_ADD
-
-
-############################################################
-## MCprTable
-## 
-[MCprTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=netmcpr
-	MCprUid=271009095
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipprotomcpr
-	MCprUid=271064558
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=pppmcpr
-	MCprUid=271064556
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=ethmcpr
-	MCprUid=271064572
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=rawipmcpr
-	MCprUid=271064576
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=tunnelmcpr
-	MCprUid=271064578
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=qospppmcpr
-	MCprUid=271064556
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=dummynifmcpr
-	MCprUid=271064580
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=hungrynifmcpr
-	MCprUid=271064580
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=pdpmcpr
-	MCprUid=271065840
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Name=sipmcpr
-	MCprUid=536887801
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 13
-	Name=panethermcpr
-	MCprUid=271070626
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## CprTable
-## 
-[CprTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=ipcpr
-	CprUid=270561519
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipprotocpr
-	CprUid=271064531
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=agentcpr
-	CprUid=271064552
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=vanillacpr
-	CprUid=271065843
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=sipcpr
-	CprUid=271010872
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=tunnelagentcpr
-	CprUid=271080968
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=pdpcpr
-	CprUid=271065826
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## SCprTable
-## 
-[SCprTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=qosipscpr
-	SCprUid=270549768
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipprotoscpr
-	SCprUid=271064529
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=agentscpr
-	SCprUid=271064554
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=pdpscpr
-	SCprUid=271065824
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=pppscpr
-	SCprUid=271065852
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=vanillascpr
-	SCprUid=271065844
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=qosscpr
-	SCprUid=271065811
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=sipscpr
-	SCprUid=271010839
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## ProtocolTable
-## 
-[ProtocolTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=sapshim
-	ProtocolUid=270496898
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ipshim4
-	ProtocolUid=271064118
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=ppp
-	ProtocolUid=271064143
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=ethernet
-	ProtocolUid=271064539
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=rawip
-	ProtocolUid=271064562
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=tunnel
-	ProtocolUid=271064567
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=qosppp
-	ProtocolUid=271064148
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=dummynif
-	ProtocolUid=271064123
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=hungrynif
-	ProtocolUid=271064125
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=panether
-	ProtocolUid=271070627
-	FIELD_COUNT=2
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Name=rawip2
-	ProtocolUid=271084280
-	FIELD_COUNT=2
-END_ADD
-
-
-############################################################
-## BearerTypeTable
-## 
-[BearerTypeTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=ppp
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.3
-	Cpr=CprTable.3
-	SCpr=SCprTable.5
-	Protocol=ProtocolTable.3
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=ethint
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.4
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.4
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=rawip
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=tunnelnif
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.6
-	Cpr=CprTable.7
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.6
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=qosppp
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.7
-	Cpr=CprTable.3
-	SCpr=SCprTable.5
-	Protocol=ProtocolTable.7
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=dummynif
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.8
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.8
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=hungrynif
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.9
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.9
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=spud-ppp
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.3
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.3
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=spud-rawip
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.3
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=IPProtoDefaultTemplate
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Name=NetworkDefaultTemplate
-	Tier=Link.TierTable.2048
-	MCpr=MCprTable.1
-	Cpr=CprTable.1
-	SCpr=SCprTable.7
-	Protocol=ProtocolTable.1
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 12
-	Name=rawip2
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.11
-	FIELD_COUNT=6
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 13
-	Name=spud-rawip2
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.11
-	FIELD_COUNT=6
-END_ADD
-
-
-############################################################
-## AccessPointTable
-## 
-[AccessPointTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Id=1
-	Name=rawipMappedFromIAP1
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Id=10003
-	Name=IPProto_generated_10003
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=1
-	CustomSelectionPolicy=1
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Id=2
-	Name=spud-rawipMappedFromIAP2
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Id=10004
-	Name=IPProto_generated_10004
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=2
-	CustomSelectionPolicy=2
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Id=3
-	Name=rawipMappedFromIAP3
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Id=10005
-	Name=IPProto_generated_10005
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=3
-	CustomSelectionPolicy=3
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Id=4
-	Name=spud-rawipMappedFromIAP4
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Id=10006
-	Name=IPProto_generated_10006
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=4
-	CustomSelectionPolicy=4
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Id=5
-	Name=rawipMappedFromIAP5
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.5
-	Cpr=CprTable.3
-	SCpr=SCprTable.3
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Id=10007
-	Name=IPProto_generated_10007
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=5
-	CustomSelectionPolicy=5
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 11
-	Id=6
-	Name=spud-rawipMappedFromIAP6
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 12
-	Id=10008
-	Name=IPProto_generated_10008
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=6
-	CustomSelectionPolicy=6
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 13
-	Id=7
-	Name=spud-rawipMappedFromIAP7
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 14
-	Id=10009
-	Name=IPProto_generated_10009
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=7
-	CustomSelectionPolicy=7
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 15
-	Id=8
-	Name=spud-rawipMappedFromIAP8
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 16
-	Id=10010
-	Name=IPProto_generated_10010
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=8
-	CustomSelectionPolicy=8
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 17
-	Id=9
-	Name=spud-rawipMappedFromIAP9
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 18
-	Id=10011
-	Name=IPProto_generated_10011
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=9
-	CustomSelectionPolicy=9
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 19
-	Id=10
-	Name=spud-rawipMappedFromIAP10
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064565
-	MCpr=MCprTable.10
-	Cpr=CprTable.8
-	SCpr=SCprTable.4
-	Protocol=ProtocolTable.5
-	CprConfig=0
-	AppSID=0
-	Priority=4294967295
-	FIELD_COUNT=11
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 20
-	Id=10012
-	Name=IPProto_generated_10012
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.271064560
-	MCpr=MCprTable.2
-	Cpr=CprTable.2
-	SCpr=SCprTable.2
-	Protocol=ProtocolTable.2
-	CprConfig=10
-	CustomSelectionPolicy=10
-	FIELD_COUNT=10
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 252
-	Id=10002
-	Name=SIPDefault
-	AccessPointSelectionPolicy=0
-	Tier=Link.TierTable.536887799
-	MCpr=MCprTable.11
-	Cpr=CprTable.5
-	SCpr=SCprTable.8
-	Protocol=ProtocolTable.2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 254
-	Id=10000
-	Name=NetworkDefault
-	AccessPointSelectionPolicy=Link.APPrioritySelectionPolicyTable.20000
-	Tier=Link.TierTable.2048
-	MCpr=MCprTable.1
-	Cpr=CprTable.1
-	SCpr=SCprTable.7
-	Protocol=ProtocolTable.1
-	FIELD_COUNT=8
-END_ADD
-
-
-############################################################
-## GlobalSettings
-## 
-[GlobalSettings]
-ADD_TEMPLATE
-	DefaultTier=1
-	FIELD_COUNT=1
-END_TEMPLATE
-
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=DefaultRecordName-1
-	ConnectionAttempts=2
-	RedialAttempts=3
-	SmsReceiveMode=2
-	GPRSAttachMode=1
-	AcceptIncomingGprs=1
-	GPRSClassCBearer=GSM
-	ModemForDataAndFax=2
-	ModemForPhoneServicesAndSMS=2
-	LocationForDataAndFax=2
-	LocationForPhoneServicesAndSMS=2
-	DefaultNetwork=1
-	BearerAvailabilityCheckTSY=mm
-	FIELD_COUNT=13
-END_ADD
-
-
-############################################################
-## IAP
-## 
-[IAP]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=Loopback_GRPS_1
-	IAPServiceType=OutgoingGPRS
-	IAPService=1
-	IAPBearerType=ModemBearer
-	IAPBearer=1
-	IAPNetwork=1
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=Loopback_GRPS_2
-	IAPServiceType=OutgoingGPRS
-	IAPService=2
-	IAPBearerType=ModemBearer
-	IAPBearer=2
-	IAPNetwork=1
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=Loopback_GRPS_3
-	IAPServiceType=OutgoingGPRS
-	IAPService=3
-	IAPBearerType=ModemBearer
-	IAPBearer=3
-	IAPNetwork=2
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=Loopback_GRPS_4
-	IAPServiceType=OutgoingGPRS
-	IAPService=4
-	IAPBearerType=ModemBearer
-	IAPBearer=4
-	IAPNetwork=2
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=Loopback_GRPS_5
-	IAPServiceType=OutgoingGPRS
-	IAPService=1
-	IAPBearerType=ModemBearer
-	IAPBearer=3
-	IAPNetwork=2
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 6
-	Name=Loopback_GRPS_6
-	IAPServiceType=OutgoingGPRS
-	IAPService=1
-	IAPBearerType=ModemBearer
-	IAPBearer=1
-	IAPNetwork=3
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 7
-	Name=Loopback_GRPS_7
-	IAPServiceType=OutgoingGPRS
-	IAPService=6
-	IAPBearerType=ModemBearer
-	IAPBearer=7
-	IAPNetwork=4
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 8
-	Name=Loopback_GRPS_8
-	IAPServiceType=OutgoingGPRS
-	IAPService=7
-	IAPBearerType=ModemBearer
-	IAPBearer=8
-	IAPNetwork=5
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 9
-	Name=Loopback_GRPS_9
-	IAPServiceType=OutgoingGPRS
-	IAPService=8
-	IAPBearerType=ModemBearer
-	IAPBearer=9
-	IAPNetwork=6
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 10
-	Name=IAP_GRPS_BAD_QOS
-	IAPServiceType=OutgoingGPRS
-	IAPService=9
-	IAPBearerType=ModemBearer
-	IAPBearer=2
-	IAPNetwork=1
-	IAPNetworkWeighting=0
-	Location=2
-	FIELD_COUNT=8
-END_ADD
-
-
-############################################################
-## ConnectionPreferences
-## 
-[ConnectionPreferences]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=DefaultRecordName-1
-	Ranking=1
-	Direction=OUTGOING
-	BearerSet=PSD
-	DialogPref=DONOTPROMPT
-	IAP=2
-	FIELD_COUNT=6
-END_ADD
-
-
-############################################################
-## UmtsR99QoSAndOn
-## 
-[UmtsR99QoSAndOn]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=PRIMARY1
-	ReqTrafficClass=1
-	MinTrafficClass=1
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=1
-	MinDeliverErroneousSDU=1
-	ReqMaxSDUSize=0
-	MinAcceptableMaxSDUSize=0
-	ReqMaxUplinkRate=0
-	ReqMinUplinkRate=0
-	ReqMaxDownlinkRate=0
-	ReqMinDownlinkRate=0
-	ReqBER=1
-	MaxBER=1
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=0
-	MaxTransferDelay=0
-	ReqGuaranteedUplinkRate=0
-	MinGuaranteedUplinkRat=0
-	ReqGuaranteedDownlinkRate=0
-	MinGuaranteedDownlinkRate=0
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=SECONDARY1
-	ReqTrafficClass=4
-	MinTrafficClass=4
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=8
-	MinDeliverErroneousSDU=8
-	ReqMaxSDUSize=768
-	MinAcceptableMaxSDUSize=512
-	ReqMaxUplinkRate=1024
-	ReqMinUplinkRate=1024
-	ReqMaxDownlinkRate=1024
-	ReqMinDownlinkRate=1024
-	ReqBER=0
-	MaxBER=0
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=250
-	MaxTransferDelay=250
-	ReqGuaranteedUplinkRate=1024
-	MinGuaranteedUplinkRat=1024
-	ReqGuaranteedDownlinkRate=1024
-	MinGuaranteedDownlinkRate=1024
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 3
-	Name=PRIMARY2
-	ReqTrafficClass=1
-	MinTrafficClass=1
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=1
-	MinDeliverErroneousSDU=1
-	ReqMaxSDUSize=0
-	MinAcceptableMaxSDUSize=0
-	ReqMaxUplinkRate=0
-	ReqMinUplinkRate=0
-	ReqMaxDownlinkRate=0
-	ReqMinDownlinkRate=0
-	ReqBER=1
-	MaxBER=1
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=0
-	MaxTransferDelay=0
-	ReqGuaranteedUplinkRate=0
-	MinGuaranteedUplinkRat=0
-	ReqGuaranteedDownlinkRate=0
-	MinGuaranteedDownlinkRate=0
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 4
-	Name=SECONDARY2
-	ReqTrafficClass=4
-	MinTrafficClass=4
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=8
-	MinDeliverErroneousSDU=8
-	ReqMaxSDUSize=768
-	MinAcceptableMaxSDUSize=512
-	ReqMaxUplinkRate=1024
-	ReqMinUplinkRate=1024
-	ReqMaxDownlinkRate=1024
-	ReqMinDownlinkRate=1024
-	ReqBER=0
-	MaxBER=0
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=250
-	MaxTransferDelay=250
-	ReqGuaranteedUplinkRate=1024
-	MinGuaranteedUplinkRat=1024
-	ReqGuaranteedDownlinkRate=1024
-	MinGuaranteedDownlinkRate=1024
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=28
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 5
-	Name=BAD_QOS
-	MinTrafficClass=1
-	ReqDeliveryOrder=1
-	MinDeliveryOrder=1
-	ReqDeliverErroneousSDU=1
-	MinDeliverErroneousSDU=1
-	ReqMaxSDUSize=0
-	MinAcceptableMaxSDUSize=0
-	ReqMaxUplinkRate=0
-	ReqMinUplinkRate=0
-	ReqMaxDownlinkRate=0
-	ReqMinDownlinkRate=0
-	ReqBER=1
-	MaxBER=1
-	ReqSDUErrorRatio=1
-	MaxSDUErrorRatio=1
-	ReqTrafficHandlingPriority=1
-	MinTrafficHandlingPriority=1
-	ReqTransferDelay=0
-	MaxTransferDelay=0
-	ReqGuaranteedUplinkRate=0
-	MinGuaranteedUplinkRat=0
-	ReqGuaranteedDownlinkRate=0
-	MinGuaranteedDownlinkRate=0
-	SignallingIndication=FALSE
-	ImCnSignallingIndication=FALSE
-	SourceStatisticsDescriptor=0
-	FIELD_COUNT=27
-END_ADD
-
-
-############################################################
-## PolicySelectorTable
-## 
-[PolicySelectorTable]
-ADD_SECTION
-# COMMDB_ID = 1
-	Name=DefaultRecordName-1
-	PolicyId=1
-	SrcAddress=0.0.0.0
-	SrcMask=255.255.255.255
-	DstAddress=192.168.1.1
-	DstMask=255.255.255.255
-	SrcPort=0
-	DstPort=3461
-	SrcPortMax=1031
-	DstPortMax=3461
-	ProtocolId=17
-	IAPid=2
-	Priority=1
-	FIELD_COUNT=13
-END_ADD
-
-ADD_SECTION
-# COMMDB_ID = 2
-	Name=DefaultRecordName-2
-	PolicyId=2
-	SrcPort=0
-	SrcPortMax=0
-	ProtocolId=1
-	IAPid=2
-	Priority=1
-	FIELD_COUNT=7
-END_ADD
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/te_spudnetworkside_mbufexhaust.ini	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,5 @@
+[MBufExhaustionRx]
+SimTsyTestNum = 1
+PrimaryIapId1 = 2
+PrimaryIapId2 = 6
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/te_spudnetworkside_mbufexhaustion.cfg	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,1665 @@
+############################################################
+## AUTO-GENERATED CONFIGURATION FILE
+## CommsDat Database Dump Utility
+## 1.1
+############################################################
+
+############################################################
+## Network
+## 
+[Network]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Intranet
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Intranet2
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Intranet3
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Intranet4
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=Intranet5
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=Intranet6
+	FIELD_COUNT=1
+END_ADD
+
+
+############################################################
+## ModemBearer
+## 
+[ModemBearer]
+ADD_TEMPLATE
+	Name=Default Loopback Modem
+	TSYName=SIM
+	CSYName=PKTLOOPBACK
+	LastSocketActivityTimeout=180
+	LastSessionClosedTimeout=4
+	LastSocketClosedTimeout=6
+	DataBits=8
+	StopBits=1
+	Parity=NONE
+	Rate=115200
+	Handshaking=0
+	SpecialRate=0
+	XonChar=0
+	XoffChar=0
+	FaxClassPref=AUTO
+	SpeakerPref=NEVER
+	SpeakerVolPref=QUIET
+	ModemInitString=AT
+	DataInitString=AT
+	FaxInitString=AT
+	DialPauseLength=S8=
+	SpeakerVolContorlLow=L0
+	SpeakerVolControlMedium=L1
+	SpeakerVolControlHigh=L2
+	SpeakerAlwaysOff=M0
+	SpeakerOnUntilCarrier=M1
+	SpeakerAlwaysOn=M2
+	SpeakerOnAfterUntilCarrier=M3
+	DialToneWaitModifier=W
+	CallProgress1=X1
+	CallProgress2=X2
+	CallProgress3=X3
+	CallProgress4=X4
+	EchoOff=E0
+	VerboseText=V1
+	QuietOff=Q0
+	QuietOn=Q1
+	DialCommandStateModifier=;
+	OnLine=O
+	ResetConfiguration=Z
+	ReturnToFactoryDefs=&F
+	DCDOnDuringLink=&C1
+	DTRHangUp=&D2
+	DSRAlwaysOn=&S0
+	RTSCTSHandshake=&K3
+	XonXoffHandshake=&K4
+	EscapeCharacter=+
+	EscapeGuardPeriod=S12
+	NoDialTone=NO DIAL TONE
+	Busy=BUSY
+	NoAnswer=NO ANSWER
+	Carrier=CARRIER
+	Connect=CONNECT
+	CompressionClass5=COMPRESSION:CLASS 5
+	CompressionV42bis=COMPRESSION:V.42 bis
+	CompressionNone=COMPRESSION:NONE
+	ProtocolLAPD=PROTOCOL:LAPD
+	ProtocolALT=PROTOCOL:ALT
+	ProtocolALTCELLULAR=PROTOCOL:ALT-CELLULAR
+	ProtocolNone=PROTOCOL:NONE
+	MessageValidityPeriod=0
+	MessageDeliveryReport=FALSE
+	CommRole=0
+	BCAStack=C32Bca
+	Agent=NULLAGT
+	FIELD_COUNT=65
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Loopback_RawIP_1
+	IfName=RAWIP
+	PortName=PKTLOOPBACK::504
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Loopback_SPUD_2
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Loopback_RawIP_3
+	IfName=RAWIP
+	PortName=PKTLOOPBACK::502
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Loopback_SPUD_4
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=WinTunnel_SPUD_5
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=Loopback_SPUD_5
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=Loopback_SPUD_6
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=Loopback_SPUD_7
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=Loopback_SPUD_8
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## Location
+## 
+[Location]
+ADD_TEMPLATE
+	Name=Default Location
+	IntlPrefixCode=+
+	NatPrefixCode=0
+	NatCode=44
+	Mobile=TRUE
+	UsePulseDial=FALSE
+	WaitForDialTone=FALSE
+	PauseAfterDialout=0
+	FIELD_COUNT=8
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Office
+	IntlPrefixCode=00
+	AreaCode=171
+	DialOutCode=9,
+	Mobile=FALSE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Mobile
+	FIELD_COUNT=1
+END_ADD
+
+
+############################################################
+## OutgoingGPRS
+## 
+[OutgoingGPRS]
+ADD_TEMPLATE
+	Name=Default Outgoing GPRS
+	APN=Test
+	PDPType=IPV4
+	ReqPrecedence=2
+	ReqDelay=4
+	ReqReliability=3
+	ReqPeakThroughput=3
+	ReqMeanThroughput=31
+	MinPrecedence=2
+	MinDelay=4
+	MinReliability=3
+	MinPeakThroughput=3
+	MinMeanThroughput=31
+	DataCompression=FALSE
+	HeaderCompression=FALSE
+	GprsUseEdge=FALSE
+	AnonymousAccess=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	IfAuthName=RasUser
+	AuthRetries=1
+	IpNetMask=255.255.255.0
+	IpGateway=0.0.0.1
+	IpAddrFromServer=FALSE
+	IpDNSAddrFromServer=FALSE
+	IpNameServer1=194.72.6.51
+	IpNameServer2=194.72.6.51
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	UmtsR99QoSAndOn=1
+	FIELD_COUNT=30
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=RawIP_Bounce_1
+	IpAddr=192.168.1.1
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=SPUD_Echo_2
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.2
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=RawIP_Bounce_3
+	IpAddr=192.168.2.3
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=SPUD_Echo_4
+	IfParams=lowernif=RAWIP
+	IpAddr=192.168.2.4
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=SPUD_Multi_1
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.10
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=SPUD_Multi_2
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.11
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=SPUD_Multi_3
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.12
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=SPUD_Multi_4
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.13
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=GPRS_BAD_QOS
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.2
+	IpDNSAddrFromServer=TRUE
+	UmtsR99QoSAndOn=5
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## DefaultGPRS
+## 
+[DefaultGPRS]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Dummy Default GPRS Settings
+	Usage=1
+	APN=Access point name
+	PDPType=IPV6
+	PDPAddress=www.wid.com
+	Precedence=1
+	Delay=1
+	Reliability=1
+	PeakThroughput=1
+	MeanThroughput=1
+	MinPrecedence=1
+	MinDelay=1
+	MinReliability=1
+	MinPeakThroughput=1
+	MinMeanThroughput=1
+	DataCompression=TRUE
+	HeaderCompression=TRUE
+	GprsUseEdge=FALSE
+	AnonymousAccess=TRUE
+	FIELD_COUNT=19
+END_ADD
+
+
+############################################################
+## APPrioritySelectionPolicyTable
+## 
+[APPrioritySelectionPolicyTable]
+ADD_SECTION
+# COMMDB_ID = 254
+	Id=20000
+	Name=APSelPolNetworkDefault
+	AP1=Link.AccessPointTable.10003
+	APCOUNT=1
+	FIELD_COUNT=4
+END_ADD
+
+
+############################################################
+## TierTable
+## 
+[TierTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Id=2048
+	Name=Tier1
+	TierImplUid=271064536
+	TierThreadName=ESock_IP
+	TierManagerName=NetworkTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Id=271064560
+	Name=Tier2
+	TierImplUid=271064560
+	TierThreadName=ESock_IP
+	TierManagerName=ProtoTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10004
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Id=271064565
+	Name=Tier3
+	TierImplUid=271064565
+	TierThreadName=ESock_IP
+	TierManagerName=LinkTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Id=536887799
+	Name=Tier4
+	TierImplUid=536887799
+	TierThreadName=ESock_SIP
+	TierManagerName=SIPTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10002
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new Tier by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 7
+	Id=0x10272F98 
+	Name=PassThroughTM
+	TierImplUid=0x10272F98
+	TierThreadName=ESock_IP
+	TierManagerName=mbufgobTierManager
+###### Set the default access point to F0 = 240 = PassThrough layer AP
+	DefaultAccessPoint=0x0E00F000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+
+############################################################
+## MCprTable
+## 
+[MCprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=netmcpr
+	MCprUid=271009095
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotomcpr
+	MCprUid=271064558
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=pppmcpr
+	MCprUid=271064556
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=ethmcpr
+	MCprUid=271064572
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=rawipmcpr
+	MCprUid=271064576
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=tunnelmcpr
+	MCprUid=271064578
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qospppmcpr
+	MCprUid=271064556
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=dummynifmcpr
+	MCprUid=271064580
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=hungrynifmcpr
+	MCprUid=271064580
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=pdpmcpr
+	MCprUid=271065840
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=sipmcpr
+	MCprUid=536887801
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Name=panethermcpr
+	MCprUid=271070626
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new MCPr by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 14
+	Name=mbufgobmcpr
+	MCprUid=0x10272F99 
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## CprTable
+## 
+[CprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=ipcpr
+	CprUid=270561519
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotocpr
+	CprUid=271064531
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=agentcpr
+	CprUid=271064552
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=vanillacpr
+	CprUid=271065843
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=sipcpr
+	CprUid=271010872
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=tunnelagentcpr
+	CprUid=271080968
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=pdpcpr
+	CprUid=271065826
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new CPr by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=mbufgobcpr
+	CprUid=0x10272F9A 
+	FIELD_COUNT=2
+END_ADD
+
+############################################################
+## SCprTable
+## 
+[SCprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=qosipscpr
+	SCprUid=270549768
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotoscpr
+	SCprUid=271064529
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=agentscpr
+	SCprUid=271064554
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=pdpscpr
+	SCprUid=271065824
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=pppscpr
+	SCprUid=271065852
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=vanillascpr
+	SCprUid=271065844
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qosscpr
+	SCprUid=271065811
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=sipscpr
+	SCprUid=271010839
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new SCPr by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=mbufgobscpr
+	SCprUid=0x10272F9B 
+	FIELD_COUNT=2
+END_ADD
+
+############################################################
+## ProtocolTable
+## 
+[ProtocolTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=sapshim
+	ProtocolUid=270496898
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipshim4
+	ProtocolUid=271064118
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=ppp
+	ProtocolUid=271064143
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=ethernet
+	ProtocolUid=271064539
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=rawip
+	ProtocolUid=271064562
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=tunnel
+	ProtocolUid=271064567
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qosppp
+	ProtocolUid=271064148
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=dummynif
+	ProtocolUid=271064123
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=hungrynif
+	ProtocolUid=271064125
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=panether
+	ProtocolUid=271070627
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=rawip2
+	ProtocolUid=271084280
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new Protocol by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 12
+	Name=mbufgobprot
+	ProtocolUid=0x10272F9C 
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## BearerTypeTable
+## 
+[BearerTypeTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=ppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ethint
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=rawip
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=tunnelnif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.6
+	Cpr=CprTable.7
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.6
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=qosppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.7
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.7
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=dummynif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.8
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.8
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=hungrynif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.9
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.9
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=spud-ppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.3
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.3
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=spud-rawip
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.3
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=IPProtoDefaultTemplate
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=NetworkDefaultTemplate
+	Tier=Link.TierTable.2048
+	MCpr=MCprTable.1
+	Cpr=CprTable.1
+	SCpr=SCprTable.7
+	Protocol=ProtocolTable.1
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 12
+	Name=rawip2
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.11
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Name=spud-rawip2
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.11
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## AccessPointTable
+## 
+[AccessPointTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Id=1
+	Name=rawipMappedFromIAP1
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+## mbufgob layer: The access point record for the new layer.
+##  Uses mbufgob tier, MCPr, CPr, SCPr and protocol
+ADD_SECTION
+# COMMDB_ID = 240
+	Id=20
+	Name=PassThroughLayer
+### Use record 7 in Tier table (MBufGobblerTierMgr, as defined by the second byte 07)
+	Tier=0x11800700
+### Use record 14 in MCPr table (MbufGobblerMcpr, as defined by the second byte 0E)
+	MCpr=0x12000E00
+### Use record 11 in CPr table (MbufGobblerCpr, as defined by the second byte 0B)
+	Cpr=0x12800B00
+### Use record 11 in SCPr table (MBufGobblerScpr, as defined by the second byte 0B)
+	SCpr=0x13000B00
+### Use record 12 in Protocol table (MBufGobblerFlow, as defined by the second byte in OC)
+	Protocol=0x13800C00
+	CprConfig=1
+	AppSID=0
+	CustomSelectionPolicy=1
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Id=10003
+	Name=IPProto_generated_10003
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=1
+	CustomSelectionPolicy=20
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Id=2
+	Name=spud-rawipMappedFromIAP2
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.3
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Id=10004
+	Name=IPProto_generated_10004
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=2
+	CustomSelectionPolicy=2
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Id=3
+	Name=rawipMappedFromIAP3
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Id=10005
+	Name=IPProto_generated_10005
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=3
+	CustomSelectionPolicy=3
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Id=4
+	Name=spud-rawipMappedFromIAP4
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Id=10006
+	Name=IPProto_generated_10006
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=4
+	CustomSelectionPolicy=4
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Id=5
+	Name=rawipMappedFromIAP5
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Id=10007
+	Name=IPProto_generated_10007
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=5
+	CustomSelectionPolicy=5
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Id=6
+	Name=spud-rawipMappedFromIAP6
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.3
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 12
+	Id=10008
+	Name=IPProto_generated_10008
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=6
+	CustomSelectionPolicy=6
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Id=7
+	Name=spud-rawipMappedFromIAP7
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 14
+	Id=10009
+	Name=IPProto_generated_10009
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=7
+	CustomSelectionPolicy=7
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 15
+	Id=8
+	Name=spud-rawipMappedFromIAP8
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 16
+	Id=10010
+	Name=IPProto_generated_10010
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=8
+	CustomSelectionPolicy=8
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 17
+	Id=9
+	Name=spud-rawipMappedFromIAP9
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 18
+	Id=10011
+	Name=IPProto_generated_10011
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=9
+	CustomSelectionPolicy=9
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 19
+	Id=10
+	Name=spud-rawipMappedFromIAP10
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 20
+	Id=10012
+	Name=IPProto_generated_10012
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=10
+	CustomSelectionPolicy=10
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 252
+	Id=10002
+	Name=SIPDefault
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.536887799
+	MCpr=MCprTable.11
+	Cpr=CprTable.5
+	SCpr=SCprTable.8
+	Protocol=ProtocolTable.2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 254
+	Id=10000
+	Name=NetworkDefault
+	AccessPointSelectionPolicy=Link.APPrioritySelectionPolicyTable.20000
+	Tier=Link.TierTable.2048
+	MCpr=MCprTable.1
+	Cpr=CprTable.1
+	SCpr=SCprTable.7
+	Protocol=ProtocolTable.1
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## GlobalSettings
+## 
+[GlobalSettings]
+ADD_TEMPLATE
+	DefaultTier=1
+	FIELD_COUNT=1
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	ConnectionAttempts=2
+	RedialAttempts=3
+	SmsReceiveMode=2
+	GPRSAttachMode=1
+	AcceptIncomingGprs=1
+	GPRSClassCBearer=GSM
+	ModemForDataAndFax=2
+	ModemForPhoneServicesAndSMS=2
+	LocationForDataAndFax=2
+	LocationForPhoneServicesAndSMS=2
+	DefaultNetwork=1
+	BearerAvailabilityCheckTSY=mm
+	FIELD_COUNT=13
+END_ADD
+
+
+############################################################
+## IAP
+## 
+[IAP]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Loopback_GRPS_1
+	IAPServiceType=OutgoingGPRS
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=1
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Loopback_GRPS_2
+	IAPServiceType=OutgoingGPRS
+	IAPService=2
+	IAPBearerType=ModemBearer
+	IAPBearer=2
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Loopback_GRPS_3
+	IAPServiceType=OutgoingGPRS
+	IAPService=3
+	IAPBearerType=ModemBearer
+	IAPBearer=3
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Loopback_GRPS_4
+	IAPServiceType=OutgoingGPRS
+	IAPService=4
+	IAPBearerType=ModemBearer
+	IAPBearer=4
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=Loopback_GRPS_5
+	IAPServiceType=OutgoingGPRS
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=3
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=Loopback_GRPS_6
+	IAPServiceType=OutgoingGPRS
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=1
+	IAPNetwork=3
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=Loopback_GRPS_7
+	IAPServiceType=OutgoingGPRS
+	IAPService=6
+	IAPBearerType=ModemBearer
+	IAPBearer=7
+	IAPNetwork=4
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=Loopback_GRPS_8
+	IAPServiceType=OutgoingGPRS
+	IAPService=7
+	IAPBearerType=ModemBearer
+	IAPBearer=8
+	IAPNetwork=5
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=Loopback_GRPS_9
+	IAPServiceType=OutgoingGPRS
+	IAPService=8
+	IAPBearerType=ModemBearer
+	IAPBearer=9
+	IAPNetwork=6
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=IAP_GRPS_BAD_QOS
+	IAPServiceType=OutgoingGPRS
+	IAPService=9
+	IAPBearerType=ModemBearer
+	IAPBearer=2
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## ConnectionPreferences
+## 
+[ConnectionPreferences]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	Ranking=1
+	Direction=OUTGOING
+	BearerSet=PSD
+	DialogPref=DONOTPROMPT
+	IAP=2
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## UmtsR99QoSAndOn
+## 
+[UmtsR99QoSAndOn]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=PRIMARY1
+	ReqTrafficClass=1
+	MinTrafficClass=1
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=1
+	MinDeliverErroneousSDU=1
+	ReqMaxSDUSize=0
+	MinAcceptableMaxSDUSize=0
+	ReqMaxUplinkRate=0
+	ReqMinUplinkRate=0
+	ReqMaxDownlinkRate=0
+	ReqMinDownlinkRate=0
+	ReqBER=1
+	MaxBER=1
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=0
+	MaxTransferDelay=0
+	ReqGuaranteedUplinkRate=0
+	MinGuaranteedUplinkRat=0
+	ReqGuaranteedDownlinkRate=0
+	MinGuaranteedDownlinkRate=0
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=SECONDARY1
+	ReqTrafficClass=4
+	MinTrafficClass=4
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=8
+	MinDeliverErroneousSDU=8
+	ReqMaxSDUSize=768
+	MinAcceptableMaxSDUSize=512
+	ReqMaxUplinkRate=1024
+	ReqMinUplinkRate=1024
+	ReqMaxDownlinkRate=1024
+	ReqMinDownlinkRate=1024
+	ReqBER=0
+	MaxBER=0
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=250
+	MaxTransferDelay=250
+	ReqGuaranteedUplinkRate=1024
+	MinGuaranteedUplinkRat=1024
+	ReqGuaranteedDownlinkRate=1024
+	MinGuaranteedDownlinkRate=1024
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=PRIMARY2
+	ReqTrafficClass=1
+	MinTrafficClass=1
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=1
+	MinDeliverErroneousSDU=1
+	ReqMaxSDUSize=0
+	MinAcceptableMaxSDUSize=0
+	ReqMaxUplinkRate=0
+	ReqMinUplinkRate=0
+	ReqMaxDownlinkRate=0
+	ReqMinDownlinkRate=0
+	ReqBER=1
+	MaxBER=1
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=0
+	MaxTransferDelay=0
+	ReqGuaranteedUplinkRate=0
+	MinGuaranteedUplinkRat=0
+	ReqGuaranteedDownlinkRate=0
+	MinGuaranteedDownlinkRate=0
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=SECONDARY2
+	ReqTrafficClass=4
+	MinTrafficClass=4
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=8
+	MinDeliverErroneousSDU=8
+	ReqMaxSDUSize=768
+	MinAcceptableMaxSDUSize=512
+	ReqMaxUplinkRate=1024
+	ReqMinUplinkRate=1024
+	ReqMaxDownlinkRate=1024
+	ReqMinDownlinkRate=1024
+	ReqBER=0
+	MaxBER=0
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=250
+	MaxTransferDelay=250
+	ReqGuaranteedUplinkRate=1024
+	MinGuaranteedUplinkRat=1024
+	ReqGuaranteedDownlinkRate=1024
+	MinGuaranteedDownlinkRate=1024
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=BAD_QOS
+	MinTrafficClass=1
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=1
+	MinDeliverErroneousSDU=1
+	ReqMaxSDUSize=0
+	MinAcceptableMaxSDUSize=0
+	ReqMaxUplinkRate=0
+	ReqMinUplinkRate=0
+	ReqMaxDownlinkRate=0
+	ReqMinDownlinkRate=0
+	ReqBER=1
+	MaxBER=1
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=0
+	MaxTransferDelay=0
+	ReqGuaranteedUplinkRate=0
+	MinGuaranteedUplinkRat=0
+	ReqGuaranteedDownlinkRate=0
+	MinGuaranteedDownlinkRate=0
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=27
+END_ADD
+
+
+############################################################
+## PolicySelectorTable
+## 
+[PolicySelectorTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	PolicyId=1
+	SrcAddress=0.0.0.0
+	SrcMask=255.255.255.255
+	DstAddress=192.168.1.1
+	DstMask=255.255.255.255
+	SrcPort=0
+	DstPort=3461
+	SrcPortMax=1031
+	DstPortMax=3461
+	ProtocolId=17
+	IAPid=2
+	Priority=1
+	FIELD_COUNT=13
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=DefaultRecordName-2
+	PolicyId=2
+	SrcPort=0
+	SrcPortMax=0
+	ProtocolId=1
+	IAPid=2
+	Priority=1
+	FIELD_COUNT=7
+END_ADD
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/te_spudnetworkside_mbufexhaustion_config.txt	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,153 @@
+############################################################################
+############################################################################
+###################              T E S T 1              ####################
+############################################################################
+############################################################################
+# Test case for success results
+############################################################################
+[test1]
+# DefaultContextparamGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge>
+# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, 
+# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>
+DefaultContextparamGPRS= 3, SYMBIAN EMPLOYEE INTRANET, A WAP PORTAL, 2, 1, 1, 1, USER2, PASSWORD2, NULL, NULL, PRIMARYSERVER2, SECONDARYSERVER2, 2
+
+# ContextConfigGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge>
+# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, 
+# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>
+SetContextConfigGPRS = 0,Test,,0,2,0,1,RasUser,,,,,,1
+# TRel99ContextConfig = <TName iContextName>,  <TUint iActivatePause>, <TUint iActivateErrorCode>, <TUint iDeactivatePause>, 
+# <TUint iDeactivateErrorCode>, <TUint iDeletionPause>, <TUint iDeletionErrorCode> <TBool iConnectToNtRas>
+R99ContextConfig = PRIMARY1, 0, 0, 0, 0, 0, 0, 0
+R99ContextConfig = PRIMARY2, 0, 0, 0, 0, 0, 0, 0
+R99ContextConfig = PRIMARY3, 0, 0, 0, 0, 0, 0, 0
+R99ContextConfig = PRIMARY4, 0, 0, 0, 0, 0, 0, 0
+R99ContextConfig = PRIMARY5, 0, 0, 0, 0, 0, 0, 0
+
+# TFTfilter = 0<id> 1<evaluationPrecedenceIndex> 2<srcAddr> 3<srcAddrSubnetMask>  4<protocolNumberOrNextHeader>
+#	      5<srcPortMin> 6<srcPortMax> 7<destPortMin> 8<destPortMax> 9<ipSecSPI> 10<toSorTrafficClass>
+#	      11<flowLabel>
+TFTfilter = 1, 96, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0
+TFTfilter = 1, 0, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0
+TFTfilter = 1, 1, 0.0.0.0.0.0.0.0.0.0.255.255.192.168.1.1, 255.255.255.255.255.255.255.255.255.255.255.255.255.255.255.255, 17, 3461, 3461, 1031, 1031, 0, 0, 0
+
+#TProfileReqR99 = 0<contextName> 1<reqTraffic> 2<minTraffic> 3<reqDeliveryOrder> 4<minDeliveryOrder>
+#		  5<reqErroneousSDU> 6<minErroneousSDU> 7<maxSDUSize> 8<minSDUSize>
+#		 9<reqUpLinkBitRate> 10<reqDownLinkBitRate> 11<minUpLinkBitRate> 12<minDownLinkBitRate> 
+#		 
+#		 13<reqBitErrorRatio> 14<minBitErrorRatio> 15<reqSDUErrorRatio> 16<minSDUErrorRatio>
+#		 17<reqTrafficHandlingPriority> 18<minTrafficHandlingPriority>
+#		 19<reqTransferDelay> 20<minTransferDelay> 21<reqGuaranteedUpLinkBitRate> 22<reqGuaranteedDownLinkBitRate>
+#		 23<minGuaranteedUpLinkBitRate> 24<minGuaranteedDownLinkBitRate>
+QosProfileReqR99 = PRIMARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
+QosProfileReqR99 = PRIMARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
+QosProfileReqR99 = PRIMARY3,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
+QosProfileReqR99 = PRIMARY4,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
+QosProfileReqR99 = PRIMARY5,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0
+
+QosProfileReqR5 = PRIMARY1,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
+QosProfileReqR5 = PRIMARY2,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
+QosProfileReqR5 = PRIMARY3,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
+QosProfileReqR5 = PRIMARY4,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
+QosProfileReqR5 = PRIMARY5,0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0, 0, 0, 0, 0, 0, 0, 0
+
+#TProfileNegR99 =<contextName> <duration> <negTraffic> <negDeliveryOrder> <negErroneousSDUDelivery> <negMaxSDUSize>
+#		 <negBitErrorRatio> <negSDUErrorRatio> <negTrafficHandlingPriority>
+#		 <negTransferDelay> <negGuaranteedUpLinkBitRate> <negGuaranteedDownLinkBitRate>
+#		 <negMaxUpLinkRate> <negMaxDownLinkRate> 
+QosProfileNegR99 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
+QosProfileNegR99 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
+QosProfileNegR99 = PRIMARY2, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
+QosProfileNegR99 = PRIMARY3, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
+QosProfileNegR99 = PRIMARY4, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
+QosProfileNegR99 = PRIMARY5, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3
+
+QosProfileNegR5 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
+QosProfileNegR5 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
+QosProfileNegR5 = PRIMARY2, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
+QosProfileNegR5 = PRIMARY3, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
+QosProfileNegR5 = PRIMARY4, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
+QosProfileNegR5 = PRIMARY5, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
+
+#TQosProfileCapsR99 = <trafficCap> <deliveryOrderReqCap> <deliverErroneousSDUCap>
+#		      <BERCap> <SDUErrorRatioCap> <trafficHandlingPriorityCap>
+QosProfileCapsR99= 0x08, 0x04, 0x02, 0x04, 0x02, 0x04
+
+QosNetworkNotificationType = PublishSubscribe
+# QosNetworkNotification = <contextName> <duration> <negTraffic> <negDeliveryOrder> <negErroneousSDUDelivery>
+#		 <negBitErrorRatio> <negSDUErrorRatio> <negTrafficHandlingPriority>
+#		 <negTransferDelay> <negGuaranteedUpLinkBitRate> <negGuaranteedDownLinkBitRate>
+#		 <negMaxUpLinkRate> <negMaxDownLinkRate> <negMaxSDUSize>
+QosNetworkNotification = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
+QosNetworkNotification = PRIMARY2, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
+QosNetworkNotification = PRIMARY3, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
+QosNetworkNotification = PRIMARY4, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
+QosNetworkNotification = PRIMARY5, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4
+
+
+QosR5NetworkNotification = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
+QosR5NetworkNotification = PRIMARY2, 0x04, 0x02, 0x04, 0x02, 1, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
+QosR5NetworkNotification = PRIMARY3, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
+QosR5NetworkNotification = PRIMARY4, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
+QosR5NetworkNotification = PRIMARY5, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 0, 0
+
+
+#SetProfileFail= <contextName> <numberOfTimes> <errorCode> <setProfileDigit>
+SetProfileFail = NEG_99, 0x04, 0x02
+
+#QosprofileReqGPRS= <minPrecedence> <reqPrecedence> <minDelay> <reqDelay> <minReliability> <reqReliability> <minPeek> <reqPeek>
+#		    <minMean> <reqMean>
+QosProfileReqGPRS= 0x08, 0x04, 0x02, 0x04, 0x02, 0x04, 0x020, 0x080, 0x00004, 0x00020
+QosProfileReqGPRS= 0x04, 0x04, 0x02, 0x04, 0x02, 0x04, 0x020, 0x080, 0x00004, 0x00020
+
+#QosProfileNegGPRS=<negPrecedence> <negDelay><negReliability> <negPeek> <negMean>
+QosProfileNegGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002
+QosProfileNegGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002
+
+#QosProfileCapsGPRS=<negPrecedenceCap> <negDelayCap> <negReliabilityCap><negPeekCap> <negMeanCap>
+QosProfileCapsGPRS= 0x04, 0x04, 0x04, 0x080, 0x00002 
+
+# QosProfileReq
+# = <TTrafficClass>, <TTrafficClass>, <TDeliveryOrder>, <TDeliveryOrder>
+# <TErroneousSDUDelivery>, <TErroneousSDUDelivery>
+# <TErroneousSDUDelivery>, <TInt iReqMaxSDUSize>, <TInt iMinAcceptableMaxSDUSize>
+# <TBitRate>, <TBitRate>, <TBitErrorRatio>, 
+# <TBitErrorRatio>, <TSDUErrorRatio>, <TSDUErrorRatio>, <TTrafficHandlingPriority>, <TTrafficHandlingPriority>
+# <TInt	iReqTransferDelay>, <TInt iMaxTransferDelay>, <TBitRate>, <TBitRate>
+
+# QosProfileNeg = <TQoSPrecedence>, <TQoSDelay>, <TQoSReliability>, <TQoSPeakThroughput>, <TQoSMeanThroughput>
+# <TTrafficClass>, <TDeliveryOrder>, <TErroneousSDUDelivery>, <TInt iMaxSDUSize>, <TBitRate>, 
+# <TBitErrorRatio>, <TSDUErrorRatio>, <TTrafficHandlingPriority>
+# <TInt iTransferDelay>, <TBitRate>		
+
+DefaultContextparamRel99= 3, ACME INTERNET PROVIDERS LTD, i-MODE GATEWAY, 1, 1, USER2, PASSWORD2, NULL, NULL, PRIMARYSERVER2, SECONDARYSERVER2, 2
+# DefaultContextparamRel99 = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <TUseEdge>
+# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>, 
+# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>
+
+ReleaseMode = 5, 5
+# Packet Release mode = <Release> <Duration>
+
+#RegStatus=<duration> <regStat> <networkIndex> 
+RegStatus= 5,3
+RegStatus= 2,5,0
+RegStatus= 2,7,3
+RegStatus= 5,2
+RegStatus= 2,5,0
+
+# NetworkRegStatus = <Duration>, <RegistrationStatus>
+NetworkRegStatusType = PublishSubscribe
+NetworkRegStatus= 5,2
+NetworkRegStatus= 5,1
+NetworkRegStatus= 5,1
+
+# CommSetup = <CsyName> <portName> <datarate> <handshake> <contextName> 
+CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::502, 18, 0, PRIMARY1
+CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::501, 18, 0, PRIMARY2
+CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::504, 18, 0, PRIMARY3
+
+############################################################################
+# failure events
+# Configure the context's status to be changed using publish and subscribe
+NotifyContextStatusChangeType = PublishSubscribe
+# NotifyContextStatusChange <iContextName>, <iDuration>, <iStatus>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/te_spudnetworkside_mbufexhaustion_loopbackcsy.ini	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,13 @@
+# Defining a loopback between port A and B is as follows:
+# Port = <PortA>,<PortB>,<delay>,<queue size>,<element (packet) size>
+
+[Defaults]
+Port= 0,1,1,10,1500
+Port= 501,502,1050,10,1500
+Port= 503,504,0,10,1500
+Port= 505,506,0,10,1500
+Port= 507,508,0,10,1500
+Port= 509,510,0,10,1500
+Port= 511,512,0,10,1500
+Port= 513,514,0,10,1500
+Port= 515,516,0,10,1500
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/configs/te_spudnetworkside_mbufexhaustion_pdpcpr.cfg	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,1663 @@
+############################################################
+## AUTO-GENERATED CONFIGURATION FILE
+## CommsDat Database Dump Utility
+## 1.1
+############################################################
+
+############################################################
+## Network
+## 
+[Network]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Intranet
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Intranet2
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Intranet3
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Intranet4
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=Intranet5
+	FIELD_COUNT=1
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=Intranet6
+	FIELD_COUNT=1
+END_ADD
+
+
+############################################################
+## ModemBearer
+## 
+[ModemBearer]
+ADD_TEMPLATE
+	Name=Default Loopback Modem
+	TSYName=SIM
+	CSYName=PKTLOOPBACK
+	LastSocketActivityTimeout=180
+	LastSessionClosedTimeout=4
+	LastSocketClosedTimeout=6
+	DataBits=8
+	StopBits=1
+	Parity=NONE
+	Rate=115200
+	Handshaking=0
+	SpecialRate=0
+	XonChar=0
+	XoffChar=0
+	FaxClassPref=AUTO
+	SpeakerPref=NEVER
+	SpeakerVolPref=QUIET
+	ModemInitString=AT
+	DataInitString=AT
+	FaxInitString=AT
+	DialPauseLength=S8=
+	SpeakerVolContorlLow=L0
+	SpeakerVolControlMedium=L1
+	SpeakerVolControlHigh=L2
+	SpeakerAlwaysOff=M0
+	SpeakerOnUntilCarrier=M1
+	SpeakerAlwaysOn=M2
+	SpeakerOnAfterUntilCarrier=M3
+	DialToneWaitModifier=W
+	CallProgress1=X1
+	CallProgress2=X2
+	CallProgress3=X3
+	CallProgress4=X4
+	EchoOff=E0
+	VerboseText=V1
+	QuietOff=Q0
+	QuietOn=Q1
+	DialCommandStateModifier=;
+	OnLine=O
+	ResetConfiguration=Z
+	ReturnToFactoryDefs=&F
+	DCDOnDuringLink=&C1
+	DTRHangUp=&D2
+	DSRAlwaysOn=&S0
+	RTSCTSHandshake=&K3
+	XonXoffHandshake=&K4
+	EscapeCharacter=+
+	EscapeGuardPeriod=S12
+	NoDialTone=NO DIAL TONE
+	Busy=BUSY
+	NoAnswer=NO ANSWER
+	Carrier=CARRIER
+	Connect=CONNECT
+	CompressionClass5=COMPRESSION:CLASS 5
+	CompressionV42bis=COMPRESSION:V.42 bis
+	CompressionNone=COMPRESSION:NONE
+	ProtocolLAPD=PROTOCOL:LAPD
+	ProtocolALT=PROTOCOL:ALT
+	ProtocolALTCELLULAR=PROTOCOL:ALT-CELLULAR
+	ProtocolNone=PROTOCOL:NONE
+	MessageValidityPeriod=0
+	MessageDeliveryReport=FALSE
+	CommRole=0
+	BCAStack=C32Bca
+	Agent=NULLAGT
+	FIELD_COUNT=65
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Loopback_RawIP_1
+	IfName=RAWIP
+	PortName=PKTLOOPBACK::504
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Loopback_SPUD_2
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Loopback_RawIP_3
+	IfName=RAWIP
+	PortName=PKTLOOPBACK::502
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Loopback_SPUD_4
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=WinTunnel_SPUD_5
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=Loopback_SPUD_5
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=Loopback_SPUD_6
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=Loopback_SPUD_7
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=Loopback_SPUD_8
+	IfName=SPUD
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## Location
+## 
+[Location]
+ADD_TEMPLATE
+	Name=Default Location
+	IntlPrefixCode=+
+	NatPrefixCode=0
+	NatCode=44
+	Mobile=TRUE
+	UsePulseDial=FALSE
+	WaitForDialTone=FALSE
+	PauseAfterDialout=0
+	FIELD_COUNT=8
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Office
+	IntlPrefixCode=00
+	AreaCode=171
+	DialOutCode=9,
+	Mobile=FALSE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Mobile
+	FIELD_COUNT=1
+END_ADD
+
+
+############################################################
+## OutgoingGPRS
+## 
+[OutgoingGPRS]
+ADD_TEMPLATE
+	Name=Default Outgoing GPRS
+	APN=Test
+	PDPType=IPV4
+	ReqPrecedence=2
+	ReqDelay=4
+	ReqReliability=3
+	ReqPeakThroughput=3
+	ReqMeanThroughput=31
+	MinPrecedence=2
+	MinDelay=4
+	MinReliability=3
+	MinPeakThroughput=3
+	MinMeanThroughput=31
+	DataCompression=FALSE
+	HeaderCompression=FALSE
+	GprsUseEdge=FALSE
+	AnonymousAccess=FALSE
+	IfNetworks=ip
+	IfPromptForAuth=FALSE
+	IfAuthName=RasUser
+	AuthRetries=1
+	IpNetMask=255.255.255.0
+	IpGateway=0.0.0.1
+	IpAddrFromServer=FALSE
+	IpDNSAddrFromServer=FALSE
+	IpNameServer1=194.72.6.51
+	IpNameServer2=194.72.6.51
+	EnableLCPExtension=FALSE
+	DisablePlainTextAuth=FALSE
+	UmtsR99QoSAndOn=1
+	FIELD_COUNT=30
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=RawIP_Bounce_1
+	IpAddr=192.168.1.1
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=SPUD_Echo_2
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.2
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=RawIP_Bounce_3
+	IpAddr=192.168.2.3
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=SPUD_Echo_4
+	IfParams=lowernif=RAWIP
+	IpAddr=192.168.2.4
+	FIELD_COUNT=3
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=SPUD_Multi_1
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.10
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=SPUD_Multi_2
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.11
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=SPUD_Multi_3
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.12
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=SPUD_Multi_4
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.13
+	IpDNSAddrFromServer=TRUE
+	FIELD_COUNT=5
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=GPRS_BAD_QOS
+	IfParams=lowernif=RAWIP
+	IpAddrFromServer=TRUE
+	IpAddr=192.168.1.2
+	IpDNSAddrFromServer=TRUE
+	UmtsR99QoSAndOn=5
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## DefaultGPRS
+## 
+[DefaultGPRS]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Dummy Default GPRS Settings
+	Usage=1
+	APN=Access point name
+	PDPType=IPV6
+	PDPAddress=www.wid.com
+	Precedence=1
+	Delay=1
+	Reliability=1
+	PeakThroughput=1
+	MeanThroughput=1
+	MinPrecedence=1
+	MinDelay=1
+	MinReliability=1
+	MinPeakThroughput=1
+	MinMeanThroughput=1
+	DataCompression=TRUE
+	HeaderCompression=TRUE
+	GprsUseEdge=FALSE
+	AnonymousAccess=TRUE
+	FIELD_COUNT=19
+END_ADD
+
+
+############################################################
+## APPrioritySelectionPolicyTable
+## 
+[APPrioritySelectionPolicyTable]
+ADD_SECTION
+# COMMDB_ID = 254
+	Id=20000
+	Name=APSelPolNetworkDefault
+	AP1=Link.AccessPointTable.10003
+	APCOUNT=1
+	FIELD_COUNT=4
+END_ADD
+
+
+############################################################
+## TierTable
+## 
+[TierTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Id=2048
+	Name=Tier1
+	TierImplUid=271064536
+	TierThreadName=ESock_IP
+	TierManagerName=NetworkTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Id=271064560
+	Name=Tier2
+	TierImplUid=271064560
+	TierThreadName=ESock_IP
+	TierManagerName=ProtoTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10004
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Id=271064565
+	Name=Tier3
+	TierImplUid=271064565
+	TierThreadName=ESock_IP
+	TierManagerName=LinkTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Id=536887799
+	Name=Tier4
+	TierImplUid=536887799
+	TierThreadName=ESock_SIP
+	TierManagerName=SIPTierManager
+	DefaultAccessPoint=Link.AccessPointTable.10002
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new Tier by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 7
+	Id=0x10272F98 
+	Name=PassThroughTM
+	TierImplUid=0x10272F98
+	TierThreadName=ESock_IP
+	TierManagerName=PassThroughTierManager
+###### Set the default access point to F0 = 240 = PassThrough layer AP
+	DefaultAccessPoint=0x0E00F000
+	PromptUser=0
+	FIELD_COUNT=7
+END_ADD
+
+
+############################################################
+## MCprTable
+## 
+[MCprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=netmcpr
+	MCprUid=271009095
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotomcpr
+	MCprUid=271064558
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=pppmcpr
+	MCprUid=271064556
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=ethmcpr
+	MCprUid=271064572
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=rawipmcpr
+	MCprUid=271064576
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=tunnelmcpr
+	MCprUid=271064578
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qospppmcpr
+	MCprUid=271064556
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=dummynifmcpr
+	MCprUid=271064580
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=hungrynifmcpr
+	MCprUid=271064580
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=pdpmcpr
+	MCprUid=271065840
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=sipmcpr
+	MCprUid=536887801
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Name=panethermcpr
+	MCprUid=271070626
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new MCPr by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 14
+	Name=mbufgobmcpr
+	MCprUid=0x10272F99 
+	FIELD_COUNT=2
+END_ADD
+
+############################################################
+## CprTable
+## 
+[CprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=ipcpr
+	CprUid=270561519
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotocpr
+	CprUid=271064531
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=agentcpr
+	CprUid=271064552
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=vanillacpr
+	CprUid=271065843
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=sipcpr
+	CprUid=271010872
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=tunnelagentcpr
+	CprUid=271080968
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=pdpcpr
+	CprUid=271065826
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new CPr by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=mbufgobcpr
+	CprUid=0x10272F9A 
+	FIELD_COUNT=2
+END_ADD
+
+############################################################
+## SCprTable
+## 
+[SCprTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=qosipscpr
+	SCprUid=270549768
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipprotoscpr
+	SCprUid=271064529
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=agentscpr
+	SCprUid=271064554
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=pdpscpr
+	SCprUid=271065824
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=pppscpr
+	SCprUid=271065852
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=vanillascpr
+	SCprUid=271065844
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qosscpr
+	SCprUid=271065811
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=sipscpr
+	SCprUid=271010839
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new SCPr by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=mbufgobscpr
+	SCprUid=0x10272F9B 
+	FIELD_COUNT=2
+END_ADD
+
+############################################################
+## ProtocolTable
+## 
+[ProtocolTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=sapshim
+	ProtocolUid=270496898
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ipshim4
+	ProtocolUid=271064118
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=ppp
+	ProtocolUid=271064143
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=ethernet
+	ProtocolUid=271064539
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=rawip
+	ProtocolUid=271064562
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=tunnel
+	ProtocolUid=271064567
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=qosppp
+	ProtocolUid=271064148
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=dummynif
+	ProtocolUid=271064123
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=hungrynif
+	ProtocolUid=271064125
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=panether
+	ProtocolUid=271070627
+	FIELD_COUNT=2
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=rawip2
+	ProtocolUid=271084280
+	FIELD_COUNT=2
+END_ADD
+
+## mbufgob layer: this is where we refer to our
+##  new Protocol by its factory implementation UId
+ADD_SECTION
+# COMMDB_ID = 12
+	Name=mbufgob
+	ProtocolUid=0x10272F9C 
+	FIELD_COUNT=2
+END_ADD
+
+
+############################################################
+## BearerTypeTable
+## 
+[BearerTypeTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=ppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.3
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.3
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=ethint
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.4
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.4
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=rawip
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=tunnelnif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.6
+	Cpr=CprTable.7
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.6
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=qosppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.7
+	Cpr=CprTable.3
+	SCpr=SCprTable.5
+	Protocol=ProtocolTable.7
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=dummynif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.8
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.8
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=hungrynif
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.9
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.9
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=spud-ppp
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.3
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.3
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=spud-rawip
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.3
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=IPProtoDefaultTemplate
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Name=NetworkDefaultTemplate
+	Tier=Link.TierTable.2048
+	MCpr=MCprTable.1
+	Cpr=CprTable.1
+	SCpr=SCprTable.7
+	Protocol=ProtocolTable.1
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 12
+	Name=rawip2
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.11
+	FIELD_COUNT=6
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Name=spud-rawip2
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.11
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## AccessPointTable
+## 
+[AccessPointTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Id=1
+	Name=rawipMappedFromIAP1
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+## mbufgob layer: The access point record for the new layer.
+##  Uses mbufgob tier, MCPr, CPr, SCPr and protocol
+ADD_SECTION
+# COMMDB_ID = 240
+	Id=20
+	Name=PassThroughLayer
+### Use record 7 in Tier table (MBufGobblerTierMgr, as defined by the second byte 07)
+	Tier=0x11800700
+### Use record 14 in MCPr table (MbufGobblerMcpr, as defined by the second byte 0E)
+	MCpr=0x12000E00
+### Use record 11 in CPr table (MbufGobblerCpr, as defined by the second byte 0B)
+	Cpr=0x12800B00
+### Use record 11 in SCPr table (MBufGobblerScpr, as defined by the second byte 0B)
+	SCpr=0x13000B00
+### Use record 12 in Protocol table (MBufGobblerFlow, as defined by the second byte in OC)
+	Protocol=0x13800C00
+	CprConfig=1
+	AppSID=0
+	CustomSelectionPolicy=1
+	FIELD_COUNT=10
+END_ADD
+ADD_SECTION
+# COMMDB_ID = 2
+	Id=10003
+	Name=IPProto_generated_10003
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=1
+	CustomSelectionPolicy=20
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Id=2
+	Name=spud-rawipMappedFromIAP2
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Id=10004
+	Name=IPProto_generated_10004
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=2
+	CustomSelectionPolicy=2
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Id=3
+	Name=rawipMappedFromIAP3
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Id=10005
+	Name=IPProto_generated_10005
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=3
+	CustomSelectionPolicy=3
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Id=4
+	Name=spud-rawipMappedFromIAP4
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Id=10006
+	Name=IPProto_generated_10006
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=4
+	CustomSelectionPolicy=4
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Id=5
+	Name=rawipMappedFromIAP5
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.5
+	Cpr=CprTable.3
+	SCpr=SCprTable.3
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Id=10007
+	Name=IPProto_generated_10007
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=5
+	CustomSelectionPolicy=5
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 11
+	Id=6
+	Name=spud-rawipMappedFromIAP6
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 12
+	Id=10008
+	Name=IPProto_generated_10008
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=6
+	CustomSelectionPolicy=6
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 13
+	Id=7
+	Name=spud-rawipMappedFromIAP7
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 14
+	Id=10009
+	Name=IPProto_generated_10009
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=7
+	CustomSelectionPolicy=7
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 15
+	Id=8
+	Name=spud-rawipMappedFromIAP8
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 16
+	Id=10010
+	Name=IPProto_generated_10010
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=8
+	CustomSelectionPolicy=8
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 17
+	Id=9
+	Name=spud-rawipMappedFromIAP9
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 18
+	Id=10011
+	Name=IPProto_generated_10011
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=9
+	CustomSelectionPolicy=9
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 19
+	Id=10
+	Name=spud-rawipMappedFromIAP10
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064565
+	MCpr=MCprTable.10
+	Cpr=CprTable.8
+	SCpr=SCprTable.4
+	Protocol=ProtocolTable.5
+	CprConfig=0
+	AppSID=0
+	Priority=4294967295
+	FIELD_COUNT=11
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 20
+	Id=10012
+	Name=IPProto_generated_10012
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.271064560
+	MCpr=MCprTable.2
+	Cpr=CprTable.2
+	SCpr=SCprTable.2
+	Protocol=ProtocolTable.2
+	CprConfig=10
+	CustomSelectionPolicy=10
+	FIELD_COUNT=10
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 252
+	Id=10002
+	Name=SIPDefault
+	AccessPointSelectionPolicy=0
+	Tier=Link.TierTable.536887799
+	MCpr=MCprTable.11
+	Cpr=CprTable.5
+	SCpr=SCprTable.8
+	Protocol=ProtocolTable.2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 254
+	Id=10000
+	Name=NetworkDefault
+	AccessPointSelectionPolicy=Link.APPrioritySelectionPolicyTable.20000
+	Tier=Link.TierTable.2048
+	MCpr=MCprTable.1
+	Cpr=CprTable.1
+	SCpr=SCprTable.7
+	Protocol=ProtocolTable.1
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## GlobalSettings
+## 
+[GlobalSettings]
+ADD_TEMPLATE
+	DefaultTier=1
+	FIELD_COUNT=1
+END_TEMPLATE
+
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	ConnectionAttempts=2
+	RedialAttempts=3
+	SmsReceiveMode=2
+	GPRSAttachMode=1
+	AcceptIncomingGprs=1
+	GPRSClassCBearer=GSM
+	ModemForDataAndFax=2
+	ModemForPhoneServicesAndSMS=2
+	LocationForDataAndFax=2
+	LocationForPhoneServicesAndSMS=2
+	DefaultNetwork=1
+	BearerAvailabilityCheckTSY=mm
+	FIELD_COUNT=13
+END_ADD
+
+
+############################################################
+## IAP
+## 
+[IAP]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=Loopback_GRPS_1
+	IAPServiceType=OutgoingGPRS
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=1
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=Loopback_GRPS_2
+	IAPServiceType=OutgoingGPRS
+	IAPService=2
+	IAPBearerType=ModemBearer
+	IAPBearer=2
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=Loopback_GRPS_3
+	IAPServiceType=OutgoingGPRS
+	IAPService=3
+	IAPBearerType=ModemBearer
+	IAPBearer=3
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=Loopback_GRPS_4
+	IAPServiceType=OutgoingGPRS
+	IAPService=4
+	IAPBearerType=ModemBearer
+	IAPBearer=4
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=Loopback_GRPS_5
+	IAPServiceType=OutgoingGPRS
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=3
+	IAPNetwork=2
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 6
+	Name=Loopback_GRPS_6
+	IAPServiceType=OutgoingGPRS
+	IAPService=1
+	IAPBearerType=ModemBearer
+	IAPBearer=1
+	IAPNetwork=3
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 7
+	Name=Loopback_GRPS_7
+	IAPServiceType=OutgoingGPRS
+	IAPService=6
+	IAPBearerType=ModemBearer
+	IAPBearer=7
+	IAPNetwork=4
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 8
+	Name=Loopback_GRPS_8
+	IAPServiceType=OutgoingGPRS
+	IAPService=7
+	IAPBearerType=ModemBearer
+	IAPBearer=8
+	IAPNetwork=5
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 9
+	Name=Loopback_GRPS_9
+	IAPServiceType=OutgoingGPRS
+	IAPService=8
+	IAPBearerType=ModemBearer
+	IAPBearer=9
+	IAPNetwork=6
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 10
+	Name=IAP_GRPS_BAD_QOS
+	IAPServiceType=OutgoingGPRS
+	IAPService=9
+	IAPBearerType=ModemBearer
+	IAPBearer=2
+	IAPNetwork=1
+	IAPNetworkWeighting=0
+	Location=2
+	FIELD_COUNT=8
+END_ADD
+
+
+############################################################
+## ConnectionPreferences
+## 
+[ConnectionPreferences]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	Ranking=1
+	Direction=OUTGOING
+	BearerSet=PSD
+	DialogPref=DONOTPROMPT
+	IAP=2
+	FIELD_COUNT=6
+END_ADD
+
+
+############################################################
+## UmtsR99QoSAndOn
+## 
+[UmtsR99QoSAndOn]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=PRIMARY1
+	ReqTrafficClass=1
+	MinTrafficClass=1
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=1
+	MinDeliverErroneousSDU=1
+	ReqMaxSDUSize=0
+	MinAcceptableMaxSDUSize=0
+	ReqMaxUplinkRate=0
+	ReqMinUplinkRate=0
+	ReqMaxDownlinkRate=0
+	ReqMinDownlinkRate=0
+	ReqBER=1
+	MaxBER=1
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=0
+	MaxTransferDelay=0
+	ReqGuaranteedUplinkRate=0
+	MinGuaranteedUplinkRat=0
+	ReqGuaranteedDownlinkRate=0
+	MinGuaranteedDownlinkRate=0
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=SECONDARY1
+	ReqTrafficClass=4
+	MinTrafficClass=4
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=8
+	MinDeliverErroneousSDU=8
+	ReqMaxSDUSize=768
+	MinAcceptableMaxSDUSize=512
+	ReqMaxUplinkRate=1024
+	ReqMinUplinkRate=1024
+	ReqMaxDownlinkRate=1024
+	ReqMinDownlinkRate=1024
+	ReqBER=0
+	MaxBER=0
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=250
+	MaxTransferDelay=250
+	ReqGuaranteedUplinkRate=1024
+	MinGuaranteedUplinkRat=1024
+	ReqGuaranteedDownlinkRate=1024
+	MinGuaranteedDownlinkRate=1024
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 3
+	Name=PRIMARY2
+	ReqTrafficClass=1
+	MinTrafficClass=1
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=1
+	MinDeliverErroneousSDU=1
+	ReqMaxSDUSize=0
+	MinAcceptableMaxSDUSize=0
+	ReqMaxUplinkRate=0
+	ReqMinUplinkRate=0
+	ReqMaxDownlinkRate=0
+	ReqMinDownlinkRate=0
+	ReqBER=1
+	MaxBER=1
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=0
+	MaxTransferDelay=0
+	ReqGuaranteedUplinkRate=0
+	MinGuaranteedUplinkRat=0
+	ReqGuaranteedDownlinkRate=0
+	MinGuaranteedDownlinkRate=0
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 4
+	Name=SECONDARY2
+	ReqTrafficClass=4
+	MinTrafficClass=4
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=8
+	MinDeliverErroneousSDU=8
+	ReqMaxSDUSize=768
+	MinAcceptableMaxSDUSize=512
+	ReqMaxUplinkRate=1024
+	ReqMinUplinkRate=1024
+	ReqMaxDownlinkRate=1024
+	ReqMinDownlinkRate=1024
+	ReqBER=0
+	MaxBER=0
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=250
+	MaxTransferDelay=250
+	ReqGuaranteedUplinkRate=1024
+	MinGuaranteedUplinkRat=1024
+	ReqGuaranteedDownlinkRate=1024
+	MinGuaranteedDownlinkRate=1024
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=28
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 5
+	Name=BAD_QOS
+	MinTrafficClass=1
+	ReqDeliveryOrder=1
+	MinDeliveryOrder=1
+	ReqDeliverErroneousSDU=1
+	MinDeliverErroneousSDU=1
+	ReqMaxSDUSize=0
+	MinAcceptableMaxSDUSize=0
+	ReqMaxUplinkRate=0
+	ReqMinUplinkRate=0
+	ReqMaxDownlinkRate=0
+	ReqMinDownlinkRate=0
+	ReqBER=1
+	MaxBER=1
+	ReqSDUErrorRatio=1
+	MaxSDUErrorRatio=1
+	ReqTrafficHandlingPriority=1
+	MinTrafficHandlingPriority=1
+	ReqTransferDelay=0
+	MaxTransferDelay=0
+	ReqGuaranteedUplinkRate=0
+	MinGuaranteedUplinkRat=0
+	ReqGuaranteedDownlinkRate=0
+	MinGuaranteedDownlinkRate=0
+	SignallingIndication=FALSE
+	ImCnSignallingIndication=FALSE
+	SourceStatisticsDescriptor=0
+	FIELD_COUNT=27
+END_ADD
+
+
+############################################################
+## PolicySelectorTable
+## 
+[PolicySelectorTable]
+ADD_SECTION
+# COMMDB_ID = 1
+	Name=DefaultRecordName-1
+	PolicyId=1
+	SrcAddress=0.0.0.0
+	SrcMask=255.255.255.255
+	DstAddress=192.168.1.1
+	DstMask=255.255.255.255
+	SrcPort=0
+	DstPort=3461
+	SrcPortMax=1031
+	DstPortMax=3461
+	ProtocolId=17
+	IAPid=2
+	Priority=1
+	FIELD_COUNT=13
+END_ADD
+
+ADD_SECTION
+# COMMDB_ID = 2
+	Name=DefaultRecordName-2
+	PolicyId=2
+	SrcPort=0
+	SrcPortMax=0
+	ProtocolId=1
+	IAPid=2
+	Priority=1
+	FIELD_COUNT=7
+END_ADD
+
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/BLD.INF	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/BLD.INF	Fri Oct 22 16:04:25 2010 +0100
@@ -45,9 +45,6 @@
 //sip tests
 ../scripts/te_spudnetworkside_sipaddress.script				z:/testdata/scripts/te_spudnetworkside_sipaddress.script
 
-//Min Max MMU tests
-../scripts/TE_RawIpSize.script			z:/testdata/scripts/te_rawipsize.script
-
 #endif
 
 ../scripts/TE_spudNetworkSide_ppp_9x.script			z:/testdata/scripts/te_spudnetworkside_ppp.script
@@ -119,13 +116,15 @@
 ../configs/te_spudnetworkside_sipaddress.ini				z:/testdata/configs/te_spudnetworkside_sipaddress.ini
 ../configs/te_spudnetworkside_sipaddress_config.txt			z:/testdata/configs/te_spudnetworkside_sipaddress_config.txt
 
-//Min Max MMU tests
-../configs/TE_RawIpSize.ini				z:/testdata/configs/te_rawipsize.ini
-../configs/TE_RawIpSize_config.txt			z:/testdata/configs/te_rawipsize_config.txt
+// MBuf Exhaustion Tests
+../configs/te_spudnetworkside_mbufexhaust.ini			z:/testdata/configs/te_spudnetworkside_mbufexhaust.ini
+../configs/te_spudnetworkside_mbufexhaustion_config.txt		z:/testdata/configs/te_spudnetworkside_mbufexhaustion_config.txt
+../configs/te_spudnetworkside_mbufexhaustion_loopbackcsy.ini	z:/testdata/configs/te_spudnetworkside_mbufexhaustion_loopbackcsy.ini
+../scripts/te_spudmbufexhaustion.script				z:/testdata/scripts/te_spudmbufexhaustion.script
 #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
-../configs/TE_RawIpSize_pdpcpr.cfg			z:/testdata/configs/te_rawipsize.cfg
+../configs/te_spudnetworkside_mbufexhaustion_pdpcpr.cfg		z:/testdata/configs/te_spudnetworkside_mbufexhaustion.cfg
 #else
-../configs/TE_RawIpSize.cfg			z:/testdata/configs/te_rawipsize.cfg
+../configs/te_spudnetworkside_mbufexhaustion.cfg		z:/testdata/configs/te_spudnetworkside_mbufexhaustion.cfg
 #endif
 
 #endif // SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/TE_spudNetworkSide.iby	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/group/TE_spudNetworkSide.iby	Fri Oct 22 16:04:25 2010 +0100
@@ -20,60 +20,59 @@
 REM Feature QoS is not included in this ROM
 REM Temporary patch
 #else
-file=ABI_DIR\DEBUG_DIR\te_spudnetworkside.exe		System\Libs\te_spudnetworkside.exe
+file=ABI_DIR\DEBUG_DIR\TE_SpudNetworkSide.exe		System\Libs\TE_SpudNetworkSide.exe
 #endif
 
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudnetworkside.script 		testdata\scripts\te_spudnetworkside.script 
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudnetworkside_ppp.script 	testdata\scripts\te_spudnetworkside_ppp.script 
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudnetworkside_nifman.script 	testdata\scripts\te_spudnetworkside_nifman.script
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_pppsize_spud.script 			testdata\scripts\te_pppsize_spud.script
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudnetworkside_channel.script 	testdata\scripts\te_spudnetworkside_channel.script
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudnetworkside_r4_and_r5.script 		testdata\scripts\te_spudnetworkside_r4_and_r5.script
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_config.txt 	testdata\configs\te_spudnetworkside_config.txt
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_ppp_config.txt 	testdata\configs\te_spudnetworkside_ppp_config.txt
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_ppp_config2.txt 	testdata\configs\te_spudnetworkside_ppp_config2.txt
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_nifman_config.txt 	testdata\configs\te_spudnetworkside_nifman_config.txt
+data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_SpudNetworkSide.script 		testdata\scripts\TE_SpudNetworkSide.script 
+data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_SpudNetworkSide_ppp.script 	testdata\scripts\TE_SpudNetworkSide_ppp.script 
+data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_SpudNetworkSide_nifman.script 	testdata\scripts\TE_SpudNetworkSide_nifman.script
+data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_PppSize_spud.script 			testdata\scripts\TE_PppSize_spud.script
+data=EPOCROOT##epoc32\data\z\testdata\scripts\Te_SpudNetworkside_Channel.script 	testdata\scripts\Te_SpudNetworkside_Channel.script
+data=EPOCROOT##epoc32\data\z\testdata\scripts\TE_SpudNetworkSide_r4_and_r5.script 		testdata\scripts\TE_SpudNetworkSide_r4_and_r5.script
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_config.txt 	testdata\configs\TE_SpudNetworkSide_config.txt
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_ppp_config.txt 	testdata\configs\TE_SpudNetworkSide_ppp_config.txt
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_ppp_config2.txt 	testdata\configs\TE_SpudNetworkSide_ppp_config2.txt
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_nifman_config.txt 	testdata\configs\TE_SpudNetworkSide_nifman_config.txt
 data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudNetworkSide_config_r4_and_r5.txt   testdata\configs\te_spudNetworkSide_config_r4_and_r5.txt
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside.xml 			testdata\configs\te_spudnetworkside.xml
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_ppp.xml		testdata\configs\te_spudnetworkside_ppp.xml
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_PppLoopback.xml		testdata\configs\te_spudnetworkside_PppLoopback.xml
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_nifman.xml		testdata\configs\te_spudnetworkside_nifman.xml
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_r4_and_r5.xml 			testdata\configs\te_spudnetworkside_r4_and_r5.xml
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_promptforauth.xml	testdata\configs\te_spudnetworkside_promptforauth.xml
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside.ini 			testdata\configs\te_spudnetworkside.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_nifman.ini		testdata\configs\te_spudnetworkside_nifman.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_platsec.ini 	testdata\configs\te_spudnetworkside_platsec.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworksideLoopbackcsy.ini testdata\configs\te_spudnetworksideLoopbackcsy.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworksideLoopbackcsy_serial.ini	testdata\configs\te_spudnetworksideLoopbackcsy_serial.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_r4_and_r5.ini 			testdata\configs\te_spudnetworkside_r4_and_r5.ini
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide.xml 			testdata\configs\TE_SpudNetworkSide.xml
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_ppp.xml		testdata\configs\TE_SpudNetworkSide_ppp.xml
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_PppLoopback.xml		testdata\configs\TE_SpudNetworkSide_PppLoopback.xml
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_nifman.xml		testdata\configs\TE_SpudNetworkSide_nifman.xml
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_r4_and_r5.xml 			testdata\configs\TE_SpudNetworkSide_r4_and_r5.xml
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide.ini 			testdata\configs\TE_SpudNetworkSide.ini
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_nifman.ini		testdata\configs\TE_SpudNetworkSide_nifman.ini
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_platsec.ini 	testdata\configs\TE_SpudNetworkSide_platsec.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_SpudNetworkSideLoopbackCSY.ini testdata\configs\TE_SpudNetworkSideLoopbackCSY.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_SpudNetworkSideLoopbackCSY_serial.ini	testdata\configs\TE_SpudNetworkSideLoopbackCSY_serial.ini
+data=EPOCROOT##epoc32\data\z\testdata\configs\TE_SpudNetworkSide_r4_and_r5.ini 			testdata\configs\TE_SpudNetworkSide_r4_and_r5.ini
 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
-data=EPOCROOT##epoc32\data\z\testdata\configs\qospolicies.ini 					testdata\configs\qospolicies.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\qospolicies.ini 					testdata\configs\qospolicies.ini
 #endif
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pppsize_spud.ini								testdata\configs\te_pppsize_spud.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pppsize_spud.xml								testdata\configs\te_pppsize_spud.xml
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pppsize_config.txt								testdata\configs\te_pppsize_config.txt
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_channel_config.txt			testdata\configs\te_spudnetworkside_channel_config.txt
+data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_PPPSize_spud.ini								testdata\configs\TE_PPPSize_spud.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_PPPSize_spud.xml								testdata\configs\TE_PPPSize_spud.xml
+data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_PPPSize_config.txt								testdata\configs\TE_PPPSize_config.txt
+data=EPOCROOT##epoc32\data\z\TestData\Configs\TE_SpudNetworkSide_Channel_config.txt			testdata\configs\TE_SpudNetworkSide_Channel_config.txt
 
 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_pdplayer_ip6.script 		testdata\scripts\te_pdplayer_ip6.script
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pdplayer_ip6.ini								testdata\configs\te_pdplayer_ip6.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pdplayer_ip6.cfg								testdata\configs\te_pdplayer_ip6.cfg
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pdplayer_ip6_loopbackcsy.ini								testdata\configs\te_pdplayer_ip6_loopbackcsy.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pdplayer_ip6_simtsy_config.txt			testdata\configs\te_pdplayer_ip6_simtsy_config.txt
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_pdplayer_ip6.ini								testdata\configs\te_pdplayer_ip6.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_pdplayer_ip6.cfg								testdata\configs\te_pdplayer_ip6.cfg
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_pdplayer_ip6_loopbackcsy.ini								testdata\configs\te_pdplayer_ip6_loopbackcsy.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_pdplayer_ip6_simtsy_config.txt			testdata\configs\te_pdplayer_ip6_simtsy_config.txt
 
 //stress tests
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_pdpstresstestsparam.ini						testdata\configs\te_pdpstresstestsparam.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_pdpstresstestsparam.ini						testdata\configs\te_pdpstresstestsparam.ini
 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_pdpstresstest1.script 							testdata\scripts\te_pdpstresstest1.script
 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_pdpstresstests.script 							testdata\scripts\te_pdpstresstests.script
 
 //sip tests
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_sipaddress_config.txt			testdata\configs\te_spudnetworkside_sipaddress_config.txt
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_sipaddress.ini					testdata\configs\te_spudnetworkside_sipaddress.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_spudnetworkside_sipaddress_config.txt			testdata\configs\te_spudnetworkside_sipaddress_config.txt
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_spudnetworkside_sipaddress.ini					testdata\configs\te_spudnetworkside_sipaddress.ini
 data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudnetworkside_sipaddress.script 		testdata\scripts\te_spudnetworkside_sipaddress.script
 
-//Min Max MMU tests
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_rawipsize.ini			testdata\configs\te_rawipsize.ini
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_rawipsize_config.txt					testdata\configs\te_rawipsize_config.txt
-data=EPOCROOT##epoc32\data\z\testdata\configs\te_rawipsize.cfg					testdata\configs\te_rawipsize.cfg
-data=EPOCROOT##epoc32\data\z\testdata\scripts\te_rawipsize.script 		testdata\scripts\te_rawipsize.script
-
+//MBufExhaustion Tests
+data=EPOCROOT##epoc32\data\z\testdata\configs\te_spudnetworkside_mbufexhaust.ini			testdata\configs\te_spudnetworkside_mbufexhaust.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_spudnetworkside_mbufexhaustion_loopbackcsy.ini		testdata\configs\te_spudnetworkside_mbufexhaustion_loopbackCSY.ini
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_spudnetworkside_mbufexhaustion_config.txt		testdata\configs\te_spudnetworkside_mbufexhaustion_config.txt
+data=EPOCROOT##epoc32\data\z\TestData\Configs\te_spudnetworkside_mbufexhaustion.cfg			testdata\configs\te_spudnetworkside_mbufexhaustion.cfg
+data=EPOCROOT##epoc32\data\z\testdata\scripts\te_spudmbufexhaustion.script 				testdata\scripts\te_spudmbufexhaustion.script
 #endif // TE_SPUD_NETWORK_SIDE_IBY
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/TE_RawIpSize.script	Fri Sep 17 17:35:51 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-//
-// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-RUN_UTILS  MkDir c:\simtsy\
-RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
-RUN_UTILS  MakeReadWrite c:\config.txt
-RUN_UTILS  MakeReadWrite c:\loopback.ini
-RUN_UTILS  DeleteFile c:\simtsy\config.txt
-RUN_UTILS  DeleteFile c:\config.txt
-RUN_UTILS  DeleteFile c:\loopback.ini
-
-RUN_UTILS  CopyFile z:\TestData\Configs\te_rawipsize_config.txt c:\simtsy\config.txt
-RUN_UTILS  CopyFile z:\TestData\Configs\te_rawipsize_config.txt c:\config.txt
-RUN_UTILS  CopyFile z:\TestData\Configs\TE_SpudNetworkSideLoopbackCSY.ini c:\loopback.ini
-
-run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
-ced -i z:\testdata\configs\te_rawipsize.cfg
-run_script z:\TestData\scripts\te_esock_test_loadesock.script
-
-LOAD_SUITE TE_SpudNetworkSide
-
-START_TESTCASE          CBS-RAWIP-0001
-//! @SYMTestCaseID      CBS-RAWIP-0001
-//! @SYMTestCaseDesc Sanity check: Sends & receives the packets of different size.
-//! @SYMTestActions Open two sockets. Sends & receives data frame of configured size.
-//! @SYMTestExpectedResults  Successfully sends & receives the packet.
-//! @SYMTestPriority Critical
-//! @SYMTestStatus Implemented
-//! @SYMTestType CIT
-RUN_TEST_STEP 2000 TE_SpudNetworkSide CRawIpMinMaxMMU z:\testdata\configs\te_rawipsize.ini MMUInfo
-END_TESTCASE            CBS-RAWIP-0001
-
-run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
-
-RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
-RUN_UTILS  MakeReadWrite c:\config.txt
-RUN_UTILS  MakeReadWrite c:\loopback.ini
-RUN_UTILS  DeleteFile c:\simtsy\config.txt
-RUN_UTILS  DeleteFile c:\config.txt
-RUN_UTILS  DeleteFile c:\loopback.ini
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/scripts/te_spudmbufexhaustion.script	Fri Oct 22 16:04:25 2010 +0100
@@ -0,0 +1,53 @@
+//
+// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+RUN_UTILS  MkDir c:\simtsy\
+RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
+RUN_UTILS  MakeReadWrite c:\config.txt
+RUN_UTILS  MakeReadWrite c:\loopback.ini
+RUN_UTILS  DeleteFile c:\simtsy\config.txt
+RUN_UTILS  DeleteFile c:\config.txt
+RUN_UTILS  DeleteFile c:\loopback.ini
+
+RUN_UTILS  CopyFile z:\TestData\Configs\te_spudnetworkside_mbufexhaustion_config.txt c:\simtsy\config.txt
+RUN_UTILS  CopyFile z:\TestData\Configs\te_spudnetworkside_mbufexhaustion_config.txt c:\config.txt
+RUN_UTILS  CopyFile z:\TestData\Configs\te_spudnetworkside_mbufexhaustion_loopbackCSY.ini c:\loopback.ini
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+ced -i z:\testdata\configs\te_spudnetworkside_mbufexhaustion.cfg
+run_script z:\TestData\scripts\te_esock_test_loadesock.script
+
+LOAD_SUITE TE_SpudNetworkSide
+
+START_TESTCASE          CBS-RAWIP-0002
+//! @SYMTestCaseID      CBS-RAWIP-0002
+//! @SYMTestCaseDesc Checks that the PDP flow is robust when MBufs are exhausted.
+//! @SYMTestActions Connect 2 sockets using loopback, PDP flow receives a packet when MBufs are exhausted, PDP flow subsequently receives a packet when MBufs available.  
+//! @SYMTestExpectedResults  No packet received when MBufs are exhausted, packet received when MBufs available.
+//! @SYMTestPriority Critical
+//! @SYMTestStatus Implemented
+//! @SYMTestType CIT
+RUN_TEST_STEP 2000 TE_SpudNetworkSide CRawIpMBufExhaustionRx z:\testdata\configs\te_spudnetworkside_mbufexhaust.ini MBufExhaustionRx
+END_TESTCASE            CBS-RAWIP-0002
+
+run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
+
+RUN_UTILS  MakeReadWrite c:\simtsy\config.txt
+RUN_UTILS  MakeReadWrite c:\config.txt
+RUN_UTILS  MakeReadWrite c:\loopback.ini
+RUN_UTILS  DeleteFile c:\simtsy\config.txt
+RUN_UTILS  DeleteFile c:\config.txt
+RUN_UTILS  DeleteFile c:\loopback.ini
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideServer.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideServer.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -245,9 +245,20 @@
             {
             step = new CIoctlAddressRetrieve;
             }
-      else if (aStepName == KCRawIpMinMaxMMU)
+      else if (aStepName == KCRawIpMBufExhaustionRx)
           {
-          step = new CRawIpMinMaxMMU;
-          }
+          step = new CRawIpMBufExhaustionRx;
+          }		
 	return step;	
 	}
+
+
+
+
+
+
+
+
+
+
+
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -31,6 +31,7 @@
 #include <es_enum.h> 
 #include <comms-infras/es_config.h>
 #include <nifman.h>
+#include <comms-infras/mbufgobblerpubsub.h>
 
 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
 #include <networking/qoslib.h>
@@ -97,18 +98,7 @@
 	TestL(RProperty::Set(KUidPSCsyWriteResultCategory, aPortNum, aErrorCode), _L("Set PSCsy write result"));
   	INFO_PRINTF3(_L("Next write on [PKTLOOPBACK::%d] is going to fail with [%d]"), aPortNum, aErrorCode);
   	}
-
-void CSpudNetSideTestBase::ClearNextPktLoopbackCsyWriteL(TInt aPortNum)
-    {
-    TInt dummy(0);
-    TInt ret = RProperty::Get(KUidPSCsyWriteResultCategory, aPortNum, dummy);
-    if(ret != KErrNotFound)
-        {
-        RProperty::Set(KUidPSCsyWriteResultCategory, aPortNum, KErrNone);
-        }
-    INFO_PRINTF2(_L("Reset to KErrNone for the next write on [PKTLOOPBACK::%d] port"), aPortNum);
-    }
-
+	
 /**
 Blocks until Nifman progress notification is received.
 
@@ -1646,8 +1636,7 @@
 	StopInterfaceL();
 	
 	StopSecondaryL();
-
-	ClearNextPktLoopbackCsyWriteL(loopbackPort);
+	
 	return EPass;
 	}
 
@@ -1720,7 +1709,7 @@
 		User::Leave(KErrNotFound);
 		}
 	FailNextPktLoopbackCsyWriteL(loopbackPort, KErrCompletion);
-
+		
 	TRequestStatus sendStatus;
 	iSocket.Send(KCommWriteData, 0, sendStatus);
 	User::WaitForRequest(sendStatus);
@@ -1731,8 +1720,6 @@
 	// In the meanwhile, we sneak in and stop the interface.
 	
 	StopInterfaceL();
-
-	ClearNextPktLoopbackCsyWriteL(loopbackPort);
 	return EPass;	
 	};
 
@@ -2152,17 +2139,10 @@
 	CConnectionStart *primaryIfStart = CConnectionStart::NewLC(iEsock, *this, primaryIapId);
 	CConnectionStart *secondaryIfStart = CConnectionStart::NewLC(iEsock, *this, secondaryIapId);
 
-    TRequestStatus progressReqSt;   
-    primaryIfStart->iInterface.ProgressNotification(iProgressBuf, progressReqSt, KConnectionUp);
-
-    WaitForProgressNotificationL(progressReqSt, KConnectionUp, 0); // We can wait here forever. Set timeout on test step.
-
-    secondaryIfStart->iInterface.ProgressNotification(iProgressBuf, progressReqSt, KConnectionUp);
-    WaitForProgressNotificationL(progressReqSt, KConnectionUp, 0); // We can wait here forever. Set timeout on test step.
-
 #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
 	WaitForQoSEventL(_L("SecondaryActivationEvent2"), _L("SecondaryActivationEvent2Reason"));
 #else
+	User::After(2*KTimeToStartSecondary);
 	VerifySubconnectionCountL(_L("SubConnectionCount2"), PDPIAP);
 #endif
 
@@ -2369,8 +2349,36 @@
     return EPass;
     }
 
-enum TVerdict CRawIpMinMaxMMU::RunTestStepL()
-    {
+enum TVerdict CRawIpMBufExhaustionRx::RunTestStepL()
+    {    
+    /*
+      * This test checks that the PDP flow can handle the scenario when it receives a packet but finds that
+      * the MBuf pool is exhausted.
+      * 
+      * The test has the following form:
+      * 
+      *  1) Initialisation
+      *  1.1) Connections conn1 and conn2 are started.
+      *  1.2) Socket sock1 is opened against conn1 and socket sock2 is opened against conn2;
+      *     The sockets are logically joined by the packet loopback csy; data which is written by 
+      *     sock1 is read by sock2.
+      *  1.3) Connection conn3 is started. It creates a stack within ESOCK which contains the MBufGobbler layer;
+      *     this is a layer which contains a publish and subscribe function which allows the ESOCK client to control the 
+      *     number of MBufs that are available in the MBuf pool.
+      *  
+      *  2) Test Scenario
+      *  2.1) The client writes data to sock1 successfully; the packetloopback csy delays forwarding the data to sock2.
+      *  2.2) The client configures a publish and subscribe attribute which exhausts ESOCK's MBuf pool. 
+      *       It uses the MBufGobbler publish / subscribe function contained in the MBufGobbler layer started by conn3.
+      *  2.3) The packet loopback csy forwards the data to the flow associated with sock2. 
+      *  2.4) The flow is unable to obtain a MBuf from the MBuf pool as the pool is exhausted, so it discards the packet
+      *       and posts a request to receive the next packet.  
+      *  2.5) The client cancels the read request from sock2.
+      *  2.6) The client configures a publish and subscribe attribute to replenish ESocks's MBuf pool.
+      *  2.7) The client writes data to sock1 successfully and reads data from sock2 successfully.
+      *  
+      */
+     
     //Start 1st context
     RConnection* conn1 = new (ELeave) RConnection();
     CleanupClosePushL<RConnection>(*conn1);
@@ -2384,7 +2392,7 @@
     TCommDbConnPref conn1Pref;
     conn1Pref.SetIapId(primaryIapId);
     
-    INFO_PRINTF2(_L("Test starting Interface IAP ID == %d"), primaryIapId); 
+    INFO_PRINTF2(_L("Test starting Interface IAP ID == %d"), primaryIapId);  
     TestL(conn1->Open(iEsock), _L("RConnection::Open the interface"));
     TestL(conn1->Start(conn1Pref), _L("RConnection::Start the interface"));
 
@@ -2403,7 +2411,15 @@
     INFO_PRINTF2(_L("Test starting Interface IAP ID == %d"), primaryIapId);     
     TestL(conn2->Open(iEsock), _L("RConnection::Open the interface"));
     TestL(conn2->Start(conn2Pref), _L("RConnection::Start the interface"));
-
+    
+    TRequestStatus status;
+    RConnection* conn3 = new (ELeave) RConnection();
+    CleanupClosePushL<RConnection>(*conn3);   
+    TestL(conn3->Open(iEsock), _L("RConnection::Open the interface"));
+    conn3->Start(status);
+    User::WaitForRequest(status);
+    TestL(status.Int(), _L("RConnection::Start - start connection containing MBuf Gobbler layer"));
+    
     //Open & Connect 1st Socket
     RSocket sock1;
     TestL(sock1.Open(iEsock, KAfInet, KSockDatagram, KProtocolInetUdp, *conn1), _L("RSocket::Open"));
@@ -2415,8 +2431,6 @@
     TInetAddr dstAddr;
     dstAddr.SetPort(KConfiguredTftFilter1SrcPort);
     dstAddr.Input(KConfiguredTftFilter1SrcAddr);
-
-    TRequestStatus status;
     sock1.Connect(dstAddr, status);
     User::WaitForRequest(status);
     TestL(status.Int(), _L("RSocket::Connect status opening 1st socket"));
@@ -2439,55 +2453,72 @@
     TBuf8<KMaxMMU> *recvBuf2 = new(ELeave) TBuf8<KMaxMMU>();
     CleanupStack::PushL(recvBuf2);
 
-    TInt end;
-    if (!GetIntFromConfig(ConfigSection(), _L("TestMaxMMU"), end))
-        {
-        User::Leave(KErrNotFound);
-        }
-    
-    TInt begin;
-    if (!GetIntFromConfig(ConfigSection(), _L("TestMinMMU"), begin))
-        {
-        User::Leave(KErrNotFound);
-        }
-
-    if (begin > end)
-        {
-        User::Leave(KErrArgument);
-        }
-
-    INFO_PRINTF3(_L("Sending data frame size from (%d) to (%d)"), begin, end); 
     TRequestStatus readStatus;
 
-    for(TInt j=begin;j<=end;j++)
-        {
-        sendBuf->Zero();
-        for (TInt i=0;i<j;i++)
-            {
-            sendBuf->Append(Math::Random() & 0x7f);
-            }
-
-        recvBuf->Zero();
-        sock2.Read(*recvBuf, readStatus);
-        sock1.Write(*sendBuf, status);
+    const TInt KOneSecond = 1000000;
+    const TInt KOneUs     = 1;
+    
+    sendBuf->Zero();
+    sendBuf->Append(Math::Random() & 0x7f); // add a token character
+        
+    sock1.Write(*sendBuf, status); // Allow packet to be sent
+    User::After( KOneSecond ); // Wait for a second to allow time for server/protocol to send
         
-        User::WaitForRequest(status);
-        TESTL(status.Int() == 0);
-        User::WaitForRequest(readStatus);
-        TESTL(readStatus.Int() == 0);
-        if (sendBuf->Length() > recvBuf->Length())
-            {
-            recvBuf2->Zero();
-            sock2.Read(*recvBuf2, readStatus);
-            User::WaitForRequest(readStatus);
-            TESTL(readStatus.Int() == 0);
-            recvBuf->Append(*recvBuf2);
-            TESTL(sendBuf->Length() == recvBuf->Length());
-            }
-        TESTL(recvBuf->Compare(*sendBuf) == 0);
+    sock1.CancelSend();
+
+    User::WaitForRequest(status);
+    
+    TInt result = RProperty::Set(TUid::Uid(EMBufGobbler ), EAdjustNumberOfMBufsRemainingInPool , EGobbleAllMBufs); // Allocate all MBuffs
+    if (result != KErrNone)
+        {
+        INFO_PRINTF2(_L("Unable to set gobber publish/subscribe %d"), result);
+        User::Leave(result);
+        }
+    User::After(KOneUs); // Relinquish CPU, to give time for        
+    
+    sock2.Read(*recvBuf, readStatus);    
+    User::After( KOneSecond ); 
+
+    sock2.CancelRecv();
+            
+    User::WaitForRequest( readStatus );
+    
+    if ((status != KErrNone) && (readStatus != KErrCancel))         
+        {
+        INFO_PRINTF3(_L("Unexpected error status tx= %d, rx = %d"), status.Int(), readStatus.Int());
+        User::Leave(readStatus.Int());
         }
+   
+    result = RProperty::Set(TUid::Uid(EMBufGobbler), EAdjustNumberOfMBufsRemainingInPool, EReleaseAllMBufs);  // Free all buffers
+    if (result != KErrNone)
+        {
+        INFO_PRINTF2(_L("Unable to set gobber publish/subscribe %d"), result);
+        User::Leave(result);
+        }
+    User::After(KOneUs); // Relinquish CPU to allow time for MBufs to be returned to the pool.
 
-    CleanupStack::PopAndDestroy(7); //conn1, conn2, sock1, sock2, sendBuf, recvBuf, recvBuf2
+    sock1.Write(*sendBuf, status);        
+    
+    User::After( KOneSecond ); // Wait for a second to allow time for server/protocol to send
+        
+    sock1.CancelSend();
+
+    User::WaitForRequest(status);
+    
+    sock2.Read(*recvBuf, readStatus);    
+    User::After( KOneSecond ); 
 
+    sock2.CancelRecv();
+            
+    User::WaitForRequest( readStatus );
+    
+    if ((status != KErrNone) && (readStatus != KErrNone))         
+        {
+        INFO_PRINTF3(_L("Unexpected error status tx = %d rx = %d"), status.Int(), readStatus.Int());
+        User::Leave(readStatus.Int());
+        }     
+        
+    CleanupStack::PopAndDestroy(8); //conn1, conn2, conn3, sock1, sock2, sendBuf, recvBuf, recvBuf2
+    
     return EPass;
     }
--- a/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.h	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/pdplayer/umts/test/te_spudNetworkSide/src/te_spudNetworkSideSteps.h	Fri Oct 22 16:04:25 2010 +0100
@@ -147,7 +147,6 @@
 #endif
 		
 		void FailNextPktLoopbackCsyWriteL(TInt aPortNum, TInt aErrorCode);
-		void ClearNextPktLoopbackCsyWriteL(TInt aPortNum);
 		TEtelRequestType RetrieveNetSideEventRequestFromConfigL(const TDesC& aEventName);
 		void EtelRequestL(TEtelRequestType aEtelCommand, TInt aNewValue);
 		TInt RetrieveNetSideEventValFromConfigL(const TDesC& aEventValName);
@@ -243,7 +242,8 @@
 	
 	//SIP server address retrieve
 	SYMBIAN_SPUD_TEST_CLASS(CIoctlAddressRetrieve)
-	SYMBIAN_SPUD_TEST_CLASS(CRawIpMinMaxMMU)
-	}
-
+	//MBuf Exhaustion
+	SYMBIAN_SPUD_TEST_CLASS(CRawIpMBufExhaustionRx)
+	} 
+	
 #endif 
--- a/telephonyprotocols/qos3gppcpr/group/bld.inf	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/qos3gppcpr/group/bld.inf	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -18,7 +18,7 @@
 PRJ_EXPORTS
 ../inc/Qos3GPP_subconparams.h          SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(networking/qos3gpp_subconparams.h)
 ../inc/Qos3GPP_subconparams.inl        SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(networking/qos3gpp_subconparams.inl)
-../inc/Qos3GPP_subconparams_factory.h  SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(networking/qos3gpp_subconparams_factory.h)
+../inc/Qos3GPP_subconparams_factory.h  SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(networking/qos3GPP_subconparams_factory.h)
 
 ../group/Qos3GPP.iby /epoc32/rom/include/qos3gpp.iby
 
--- a/telephonyprotocols/qos3gppcpr/inc/Qos3GPP_subconparams.h	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/qos3gppcpr/inc/Qos3GPP_subconparams.h	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -253,7 +253,7 @@
 	};
 
 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include <networking/qos3gpp_subconparams_factory.h>
+#include <networking/qos3GPP_subconparams_factory.h>
 #endif
 
 #include <networking/qos3gpp_subconparams.inl>
--- a/telephonyprotocols/qos3gppcpr/src/Qos3GPP_subconnExtFactory.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/qos3gppcpr/src/Qos3GPP_subconnExtFactory.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -22,7 +22,7 @@
 
 #include <networking/qos3gpp_subconparams.h>
 #include <ecom/implementationproxy.h>
-#include <networking/qos3gpp_subconparams_factory.h>
+#include <networking/qos3GPP_subconparams_factory.h>
 
 /**
 Data required for instantiating ECOM Plugin
--- a/telephonyprotocols/qos3gppcpr/src/Qos3GPP_subconparams.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/qos3gppcpr/src/Qos3GPP_subconparams.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -28,7 +28,7 @@
 #include <ecom/implementationproxy.h>
 #include <networking/qos3gpp_subconparams.h>
 #include <comms-infras/metatypearray.h>
-#include <networking/qos3gpp_subconparams_factory.h>
+#include <networking/qos3GPP_subconparams_factory.h>
 
 START_ATTRIBUTE_TABLE( CSubConQosR99ParamSet, KSubCon3GPPExtParamsFactoryUid, KSubConQosR99ParamsType )
 	REGISTER_ATTRIBUTE( CSubConQosR99ParamSet, iTrafficClass, TMetaNumber )
--- a/telephonyprotocols/rawipnif/group/BLD.INF	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/rawipnif/group/BLD.INF	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -37,8 +37,8 @@
 PRJ_TESTEXPORTS
 
 // epoc.ini alternative and batchfile for replacement
-../data/epocrawip.ini z:/testdata/configs/epocrawip.ini
-../data/replaceepocrawipini.bat z:/testdata/configs/replaceepocrawipini.bat
+../DATA/epocrawip.ini z:/testdata/configs/epocrawip.ini
+../DATA/replaceepocrawipini.bat z:/testdata/configs/replaceepocrawipini.bat
 
 PRJ_MMPFILES
 
--- a/telephonyprotocols/rawipnif/src/Receiver.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/rawipnif/src/Receiver.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -124,25 +124,36 @@
 	else
 	    {
         _LOG_L1C1(_L8("CReceiver: Data Packet Received"));
-    
-        iRMBufPacket.CreateL(iData);
         
-        // Immediately execute new read request.
+        // Trap the leave to prevent the flow from being stopped if 
+        // the MBuf pool is temporarily exhausted.
+        TRAPD(err,iRMBufPacket.CreateL(iData));
+        
+        // Immediately execute new read request, regardless of whether MBufs are
+        // exhausted or not.
         (iObserver.Bca())->Read(iStatus, iData);
-    
+     
         SetActive();
-        
-        iRMBufPacket.Pack();
     
-#ifdef RAWIP_HEADER_APPENDED_TO_PACKETS
-        TUint16 protocolCode = iObserver.RemoveHeader(iRMBufPacket);
-#else
-        TUint16 protocolCode = 0;
-#endif // RAWIP_HEADER_APPENDED_TO_PACKETS
-    
-        // Process the packet
-        iObserver.GetObserver().Process(iRMBufPacket, protocolCode);
-        iRMBufPacket.Free();
+        if (err == KErrNone)
+             {
+             iRMBufPacket.Pack();
+     
+    #ifdef RAWIP_HEADER_APPENDED_TO_PACKETS
+             TUint16 protocolCode = iObserver.RemoveHeader(iRMBufPacket);
+    #else
+             TUint16 protocolCode = 0;
+    #endif // RAWIP_HEADER_APPENDED_TO_PACKETS
+     
+             // Process the packet
+             iObserver.GetObserver().Process(iRMBufPacket, protocolCode);
+             iRMBufPacket.Free();
+             }
+        else
+             {
+             // If MBuff Allocation failed then dont process the packet, rely on layers above for recovery
+             _LOG_L2C2(_L8("CReceiver::RunL MBuff Allocation Failure [err=%d]"), err);
+             }
 	    }
 	}
 
--- a/telephonyprotocols/secondarypdpcontextumtsdriver/te_spudNetworkSide/group/BLD.INF	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyprotocols/secondarypdpcontextumtsdriver/te_spudNetworkSide/group/BLD.INF	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -28,13 +28,13 @@
 ../scripts/version1/TE_spudNetworkSide.script				z:/testdata/scripts/te_spudnetworkside.script
 ../scripts/version1/TE_spudNetworkSide_nifman.script			z:/testdata/scripts/te_spudnetworkside_nifman.script
 ../scripts/version1/TE_PppSize_spud.script					z:/testdata/scripts/te_pppsize_spud.script
-../scripts/version1/TE_SpudNetworkside_Channel.script					z:/testdata/scripts/te_spudnetworkside_channel.script
+../scripts/version1/TE_SpudNetworkside_Channel.script					z:/testdata/scripts/Te_SpudNetworkside_Channel.script
 #else
 // script files
 ../scripts/TE_spudNetworkSide.script				z:/testdata/scripts/te_spudnetworkside.script
 ../scripts/TE_spudNetworkSide_nifman.script			z:/testdata/scripts/te_spudnetworkside_nifman.script
 ../scripts/TE_PppSize_spud.script					z:/testdata/scripts/te_pppsize_spud.script
-../scripts/TE_SpudNetworkside_Channel.script					z:/testdata/scripts/te_spudnetworkside_channel.script
+../scripts/TE_SpudNetworkside_Channel.script					z:/testdata/scripts/Te_SpudNetworkside_Channel.script
 ../scripts/TE_spudNetworkSide_R4_and_R5.script				z:/testdata/scripts/te_spudnetworkside_r4_and_r5.script
 #endif
 
@@ -59,7 +59,7 @@
 ../configs/version1/TE_PppSize_spud.xml						z:/testdata/configs/te_pppsize_spud.xml
 ../configs/version1/TE_PppSize_config.txt					z:/testdata/configs/te_pppsize_config.txt
 
-../configs/version1/TE_SpudNetworkSide_Channel_config.txt		z:/testdata/configs/te_spudnetworkside_channel_config.txt
+../configs/version1/TE_SpudNetworkSide_Channel_config.txt		z:/testdata/configs/TE_SpudNetworkSide_Channel_config.txt
 
 // Some error codes are platsec dependent
 ../configs/version1/TE_SpudNetworkSide_9x.ini 	z:/testdata/configs/te_spudnetworkside_platsec.ini
@@ -81,7 +81,7 @@
 ../configs/TE_PppSize_spud.xml						z:/testdata/configs/te_pppsize_spud.xml
 ../configs/TE_PppSize_config.txt					z:/testdata/configs/te_pppsize_config.txt
 
-../configs/TE_SpudNetworkSide_Channel_config.txt		z:/testdata/configs/te_spudnetworkside_channel_config.txt
+../configs/TE_SpudNetworkSide_Channel_config.txt		z:/testdata/configs/TE_SpudNetworkSide_Channel_config.txt
 
 // Some error codes are platsec dependent
 ../configs/TE_SpudNetworkSide_9x.ini 	z:/testdata/configs/te_spudnetworkside_platsec.ini
--- a/telephonyserver/etelmultimode/TETEL/te_EtelMM/TE_EtelMM.script	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserver/etelmultimode/TETEL/te_EtelMM/TE_EtelMM.script	Fri Oct 22 16:04:25 2010 +0100
@@ -39,7 +39,7 @@
 //!                mobile signal, mobile auto redial etc.  
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT
-RUN_TEST_STEP 600 Te_EtelMM TestPhone
+RUN_TEST_STEP 300 Te_EtelMM TestPhone
 
 END_TESTCASE TEL-ETEL-NA-2001
 
--- a/telephonyserver/etelpacketdata/dtsy/dpcktlog.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserver/etelpacketdata/dtsy/dpcktlog.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -42,7 +42,7 @@
  *	In debug mode the logfile will not be deleted at start of new session
  */
 	{
-	User::LeaveIfError(iFs.Connect());
+	iFs.Connect();
 	TInt ret=KErrNone;
 	ret=iFile.Open(iFs,KLogFileName,EFileShareAny|EFileWrite);
 	if(ret!=KErrNone)
--- a/telephonyserver/etelsimtoolkit/dtsy/Dsatlog.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserver/etelsimtoolkit/dtsy/Dsatlog.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -46,7 +46,7 @@
  * In debug mode the logfile will not be deleted at start of new session
  */
 	{
-	User::LeaveIfError(iFs.Connect());
+	iFs.Connect();
 	TInt ret=KErrNone;
 	ret=iFile.Open(iFs,KLogFileName,EFileShareAny|EFileWrite);
 	if(ret!=KErrNone)
--- a/telephonyserver/etelsimtoolkit/tetel/TSatLog.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserver/etelsimtoolkit/tetel/TSatLog.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -44,7 +44,7 @@
 
 void CTestLogger::ConstructL()
 	{
-	User::LeaveIfError(iFs.Connect());
+	iFs.Connect();
 	TInt ret=iFile.Open(iFs,KLogFileName,EFileShareAny|EFileWrite);
 	if(ret!=KErrNone)
 		ret=iFile.Create(iFs,KLogFileName,EFileShareAny|EFileWrite);
--- a/telephonyserver/etelsimtoolkit/tetel/Te_EtelSat/TE_EtelSat.script	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserver/etelsimtoolkit/tetel/Te_EtelSat/TE_EtelSat.script	Fri Oct 22 16:04:25 2010 +0100
@@ -31,7 +31,7 @@
 //!@SYMTestActions Tests RSat functions
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatFns
+RUN_TEST_STEP 30 Te_EtelSat TestSatFns
 
 END_TESTCASE TEL-ETEL-NA-4000
 
@@ -43,7 +43,7 @@
 //!@SYMTestActions Tests RSat Envelope Cmds functions
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatEnvelopeCmds
+RUN_TEST_STEP 30 Te_EtelSat TestSatEnvelopeCmds
 
 END_TESTCASE TEL-ETEL-NA-4001
 
@@ -55,7 +55,7 @@
 //!@SYMTestActions Tests RSat control functions
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatControl
+RUN_TEST_STEP 30 Te_EtelSat TestSatControl
 
 END_TESTCASE TEL-ETEL-NA-4002
 
@@ -67,7 +67,7 @@
 //!@SYMTestActions Calls RSat Proactive Commands
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatPCmds1a
+RUN_TEST_STEP 30 Te_EtelSat TestSatPCmds1a
 
 END_TESTCASE TEL-ETEL-NA-4003
 
@@ -79,7 +79,7 @@
 //!@SYMTestActions Calls RSat Proactive Commands
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatPCmds1b
+RUN_TEST_STEP 30 Te_EtelSat TestSatPCmds1b
 
 END_TESTCASE TEL-ETEL-NA-4004
 
@@ -91,7 +91,7 @@
 //!@SYMTestActions Calls RSat Proactive Commands
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatPCmds1c
+RUN_TEST_STEP 30 Te_EtelSat TestSatPCmds1c
 
 END_TESTCASE TEL-ETEL-NA-4005
 
@@ -103,7 +103,7 @@
 //!@SYMTestActions Calls RSat Proactive Commands
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatPCmds1d
+RUN_TEST_STEP 30 Te_EtelSat TestSatPCmds1d
 
 END_TESTCASE TEL-ETEL-NA-4006
 
@@ -115,7 +115,7 @@
 //!@SYMTestActions Calls RSat Proactive Commands
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatPCmds1e
+RUN_TEST_STEP 30 Te_EtelSat TestSatPCmds1e
 END_TESTCASE TEL-ETEL-NA-4007
 
 START_TESTCASE TEL-ETEL-NA-4008
@@ -126,7 +126,7 @@
 //!@SYMTestActions Calls RSat Proactive Commands
 //!@SYMTestExpectedResults Pass, if any APIs fail the step will leave
 //!@SYMTestType CT 
-RUN_TEST_STEP 300 Te_EtelSat TestSatPCmds1f
+RUN_TEST_STEP 30 Te_EtelSat TestSatPCmds1f
 END_TESTCASE TEL-ETEL-NA-4008
 
 START_TESTCASE TEL-ETEL-NA-4009
@@ -137,5 +137,5 @@
 //!@SYMTestActions Calls RSat Proactive Commands
 //!@SYMTestExpectedResults Pass, client and TSY data is consistent.
 //!@SYMTestType CT
-RUN_TEST_STEP 300 Te_EtelSat TestSatPCmds1g
+RUN_TEST_STEP 30 Te_EtelSat TestSatPCmds1g
 END_TESTCASE TEL-ETEL-NA-4009
--- a/telephonyserverplugins/common_tsy/commontsy/inc/mmtsy/cmmsecuritytsy.h	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/commontsy/inc/mmtsy/cmmsecuritytsy.h	Fri Oct 22 16:04:25 2010 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -241,12 +241,10 @@
          * Delivers current lock information
          *          
          *
-         * @param aTsyReqHandle
          * @param aPackage Parameters where lock information is stored
          * @return KErrNone or KErrArgument
          */
-        virtual TInt GetLockInfoL( const TTsyReqHandle aTsyReqHandle,
-                const TDataPackage& aPackage );
+        virtual TInt GetLockInfoL( const TDataPackage& aPackage );
 
         /**
          * Sets TSY notify if lock information changes
--- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmdatacalltsy.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmdatacalltsy.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -1932,7 +1932,7 @@
         {
         CAcquireEntry* entry = NULL;
         // Call is owned, add this req handle to acquire list
-
+// coverity [resource_leak]
 // TRAP macro releases memory while exception caught and trapError != KErrNone
         TRAP( trapError, ( entry = CAcquireEntry::NewL( aTsyReqHandle ) ) );
         if ( trapError != KErrNone )
@@ -1944,7 +1944,6 @@
             {
             iList->iAcquireList.AddLast( *entry );
             }
-        // coverity[leaked_storage]
         }
 
     return KErrNone;
--- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmfaxcalltsy.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmfaxcalltsy.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -1464,8 +1464,8 @@
         {
         CAcquireEntry* entry = NULL;
         // Call is owned, add this req handle to acquire list
-
-        // TRAP macro releases memory while exception caught and trapError != KErrNone
+// coverity [resource_leak]
+// TRAP macro releases memory while exception caught and trapError != KErrNone
         TRAP( trapError,
             entry = CAcquireEntry::NewL( aTsyReqHandle );
             );
@@ -1478,7 +1478,6 @@
             {
             iList->iAcquireList.AddLast( *entry );
             }
-        // coverity[leaked_storage]
         }
 
     return KErrNone;
--- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmnettsy.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmnettsy.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -3247,11 +3247,17 @@
 			
 			// if iGetPrefPLMNList, iClientIdGetPrefPLMN, and/or iBufSizeGetPrefPLMN are not NULL, phase 1 is called twice without calling phase 2.
 			// In this case, we should ignore the previous phase 1 and delete buffers.
-			delete iGetPrefPLMNList;
-			iGetPrefPLMNList = NULL;
+			if(iGetPrefPLMNList != NULL)
+				{
+				delete iGetPrefPLMNList;
+				iGetPrefPLMNList = NULL;
+				}
 			iBufSizeGetPrefPLMN = aBufSize;
-			delete iClientIdGetPrefPLMN;
-			iClientIdGetPrefPLMN = NULL;
+			if(iClientIdGetPrefPLMN != NULL)
+				{
+				delete iClientIdGetPrefPLMN;
+				iClientIdGetPrefPLMN = NULL;
+				}
 			// Copy client id (session and subsession handle). it's used for
             // matching phase 1 and 2 of a request
 			iClientIdGetPrefPLMN = new ( ELeave ) RMobilePhone::TClientId( *aId ); 
@@ -3378,10 +3384,16 @@
 	if(CMmPhoneTsy::EMultimodePhoneReqHandleUnknown != reqHandle)
 		{
 		iBufSizeGetPrefPLMN = NULL;
-		delete iClientIdGetPrefPLMN;
-		iClientIdGetPrefPLMN = NULL;
-		delete iGetPrefPLMNList;
-		iGetPrefPLMNList = NULL;
+		if(iClientIdGetPrefPLMN)
+			{
+			delete iClientIdGetPrefPLMN;
+			iClientIdGetPrefPLMN = NULL;
+			}
+		if(iGetPrefPLMNList)
+			{
+			delete iGetPrefPLMNList;
+			iGetPrefPLMNList = NULL;
+			}
         iMmPhoneTsy->ReqCompleted( reqHandle, KErrCancel );        
 		}
 	//if reqHandle is 0, it means  phase 1 has completed and the list retrieval cannot be cancelled
@@ -3440,8 +3452,11 @@
 	if(CMmPhoneTsy::EMultimodePhoneReqHandleUnknown == reqHandle)
 		{
 		TFLOGSTRING("TSY CompleteGetPreferredNetworksListPhase1: reqHandle is 0, cannot complete Phase1 list retrieval request!!");
-		delete iClientIdGetPrefPLMN;
-		iClientIdGetPrefPLMN = NULL;
+		if(iClientIdGetPrefPLMN)
+			{
+			delete iClientIdGetPrefPLMN;
+			iClientIdGetPrefPLMN = NULL;
+			}
 		}
 	else if(KErrNone == aError)
 		{
@@ -3464,6 +3479,7 @@
 				TFLOGSTRING2("TSY CompleteGetPreferredNetworksListPhase1: failed to stream the list into the buffer, error = %d!!", trapError);
 				completeError = trapError;
 				}
+			delete list;
 			}
 		else
 			{
@@ -3480,8 +3496,11 @@
 	if(completeError != KErrNone)
 		{
 		iMmPhoneTsy->ReqCompleted( reqHandle, aError );
-		delete iClientIdGetPrefPLMN;
-		iClientIdGetPrefPLMN = NULL;
+		if(iClientIdGetPrefPLMN)
+			{
+			delete iClientIdGetPrefPLMN;
+			iClientIdGetPrefPLMN = NULL;
+			}
 		}
 	
 	iBufSizeGetPrefPLMN = NULL;
--- a/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmsecuritytsy.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmsecuritytsy.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -105,7 +105,7 @@
                 REINTERPRET_CAST( TUint32*, dataPtr ) );
             break;
                 case EMobilePhoneGetLockInfo:
-            ret = GetLockInfoL( aTsyReqHandle, aPackage );
+            ret = GetLockInfoL( aPackage );
             break;
         // Notify Change of Lock Information
         case EMobilePhoneNotifyLockInfoChange:
@@ -288,7 +288,7 @@
 // (other items were commented in a header).
 // ---------------------------------------------------------------------------
 //
-TInt CMmSecurityTsy::GetLockInfoL( const TTsyReqHandle aTsyReqHandle, const TDataPackage& aPackage ) 
+TInt CMmSecurityTsy::GetLockInfoL( const TDataPackage& aPackage ) 
     {
 TFLOGSTRING("LTSY: CMmSecurityTsy::GetLockInfoL - Client call");
     
@@ -302,18 +302,13 @@
         //save pointer to client side for completion
         iRetGetLockInfo = data;
 
-#ifdef REQHANDLE_TIMER
-        iMmPhoneTsy->SetTypeOfResponse( CMmPhoneTsy::EMultimodePhoneGetLockInfo, aTsyReqHandle );
-#else
-        iMmPhoneTsy->iTsyReqHandleStore->SetTsyReqHandle( 
-                    CMmPhoneTsy::EMultimodePhoneGetLockInfo, aTsyReqHandle );
-#endif //REQHANDLE_TIMER
-
         ret = iMmPhoneTsy->iMmPhoneExtInterface->GetLockInfoL( aPackage );
          
-        if ( KErrNone != ret )
+        if ( KErrNone == ret )
             {
-            iMmPhoneTsy->iTsyReqHandleStore->ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneGetLockInfo );
+            //save req handle type
+            iMmPhoneTsy->iReqHandleType = 
+                CMmPhoneTsy::EMultimodePhoneGetLockInfo;
             }
         }
 
--- a/telephonyserverplugins/common_tsy/customapi/bwins/CUSTOMAPIU.def	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/customapi/bwins/CUSTOMAPIU.def	Fri Oct 22 16:04:25 2010 +0100
@@ -4,8 +4,8 @@
 	??0TGprsInformation@RMmCustomAPI@@QAE@XZ @ 3 NONAME ; public: __thiscall RMmCustomAPI::TGprsInformation::TGprsInformation(void)
 	??0TLifeTimeData@RMmCustomAPI@@QAE@XZ @ 4 NONAME ; public: __thiscall RMmCustomAPI::TLifeTimeData::TLifeTimeData(void)
 	??0TSimFileInfo@RMmCustomAPI@@QAE@XZ @ 5 NONAME ; public: __thiscall RMmCustomAPI::TSimFileInfo::TSimFileInfo(void)
-	?ActivateSimLock@RMmCustomAPI@@QBEHABV?$TBuf@$0BO@@@W4TLockNumber@1@@Z @ 6 NONAME ; int RMmCustomAPI::ActivateSimLock(class TBuf<30> const &, enum RMmCustomAPI::TLockNumber) const 
-	?ActivateSimLock@RMmCustomAPI@@QBEXAAVTRequestStatus@@ABV?$TBuf@$0BO@@@W4TLockNumber@1@@Z @ 7 NONAME ; void RMmCustomAPI::ActivateSimLock(class TRequestStatus &, class TBuf<30> const &, enum RMmCustomAPI::TLockNumber) const 
+	?ActivateSimLock@RMmCustomAPI@@QBEHABV?$TBuf@$0P@@@W4TLockNumber@1@@Z @ 6 NONAME ; public: int __thiscall RMmCustomAPI::ActivateSimLock(class TBuf<15> const &,enum RMmCustomAPI::TLockNumber)const 
+	?ActivateSimLock@RMmCustomAPI@@QBEXAAVTRequestStatus@@ABV?$TBuf@$0P@@@W4TLockNumber@1@@Z @ 7 NONAME ; public: void __thiscall RMmCustomAPI::ActivateSimLock(class TRequestStatus &,class TBuf<15> const &,enum RMmCustomAPI::TLockNumber)const 
 	?CallOrigin@RMmCustomAPI@@QBEHAAV?$TBuf@$0IA@@@AAW4TCallOrigin@1@@Z @ 8 NONAME ; public: int __thiscall RMmCustomAPI::CallOrigin(class TBuf<128> &,enum RMmCustomAPI::TCallOrigin &)const 
 	?CancelUssdSession@RMmCustomAPI@@QAEXAAVTRequestStatus@@@Z @ 9 NONAME ; public: void __thiscall RMmCustomAPI::CancelUssdSession(class TRequestStatus &)
 	?CancelUssdSession@RMmCustomAPI@@QBEHXZ @ 10 NONAME ; public: int __thiscall RMmCustomAPI::CancelUssdSession(void)const 
@@ -21,8 +21,8 @@
 	?ClearCallBlackList@RMmCustomAPI@@QBEHXZ @ 20 NONAME ; public: int __thiscall RMmCustomAPI::ClearCallBlackList(void)const 
 	?Close@RMmCustomAPI@@QAEXXZ @ 21 NONAME ; public: void __thiscall RMmCustomAPI::Close(void)
 	?ConstructL@RMmCustomAPI@@IAEXXZ @ 22 NONAME ; protected: void __thiscall RMmCustomAPI::ConstructL(void)
-	?DeActivateSimLock@RMmCustomAPI@@QBEHABV?$TBuf@$0BO@@@W4TLockNumber@1@@Z @ 23 NONAME ; int RMmCustomAPI::DeActivateSimLock(class TBuf<30> const &, enum RMmCustomAPI::TLockNumber) const 
-	?DeActivateSimLock@RMmCustomAPI@@QBEXAAVTRequestStatus@@ABV?$TBuf@$0BO@@@W4TLockNumber@1@@Z @ 24 NONAME ; void RMmCustomAPI::DeActivateSimLock(class TRequestStatus &, class TBuf<30> const &, enum RMmCustomAPI::TLockNumber) const 
+	?DeActivateSimLock@RMmCustomAPI@@QBEHABV?$TBuf@$0P@@@W4TLockNumber@1@@Z @ 23 NONAME ; public: int __thiscall RMmCustomAPI::DeActivateSimLock(class TBuf<15> const &,enum RMmCustomAPI::TLockNumber)const 
+	?DeActivateSimLock@RMmCustomAPI@@QBEXAAVTRequestStatus@@ABV?$TBuf@$0P@@@W4TLockNumber@1@@Z @ 24 NONAME ; public: void __thiscall RMmCustomAPI::DeActivateSimLock(class TRequestStatus &,class TBuf<15> const &,enum RMmCustomAPI::TLockNumber)const 
 	?DeleteSimCbTopic@RMmCustomAPI@@QAEHABI@Z @ 25 NONAME ; public: int __thiscall RMmCustomAPI::DeleteSimCbTopic(unsigned int const &)
 	?DeleteSimCbTopic@RMmCustomAPI@@QAEXAAVTRequestStatus@@ABI@Z @ 26 NONAME ; public: void __thiscall RMmCustomAPI::DeleteSimCbTopic(class TRequestStatus &,unsigned int const &)
 	?Destruct@RMmCustomAPI@@IAEXXZ @ 27 NONAME ; protected: void __thiscall RMmCustomAPI::Destruct(void)
--- a/telephonyserverplugins/common_tsy/customapi/eabi/customapiU.def	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/customapi/eabi/customapiU.def	Fri Oct 22 16:04:25 2010 +0100
@@ -65,13 +65,13 @@
 	_ZNK12RMmCustomAPI13SetAlsBlockedENS_12TSetAlsBlockE @ 64 NONAME
 	_ZNK12RMmCustomAPI13TerminateCallER4TBufILi128EE @ 65 NONAME
 	_ZNK12RMmCustomAPI14ResetNetServerEv @ 66 NONAME
-	_ZNK12RMmCustomAPI15ActivateSimLockER14TRequestStatusRK4TBufILi30EENS_11TLockNumberE @ 67 NONAME
-	_ZNK12RMmCustomAPI15ActivateSimLockERK4TBufILi30EENS_11TLockNumberE @ 68 NONAME	
+	_ZNK12RMmCustomAPI15ActivateSimLockER14TRequestStatusRK4TBufILi15EENS_11TLockNumberE @ 67 NONAME
+	_ZNK12RMmCustomAPI15ActivateSimLockERK4TBufILi15EENS_11TLockNumberE @ 68 NONAME
 	_ZNK12RMmCustomAPI16DisablePhoneLockER14TRequestStatusR4TBufILi10EE @ 69 NONAME
 	_ZNK12RMmCustomAPI17CancelUssdSessionEv @ 70 NONAME
 	_ZNK12RMmCustomAPI17CheckAlsPpSupportERNS_11TAlsSupportE @ 71 NONAME
-	_ZNK12RMmCustomAPI17DeActivateSimLockER14TRequestStatusRK4TBufILi30EENS_11TLockNumberE @ 72 NONAME
-	_ZNK12RMmCustomAPI17DeActivateSimLockERK4TBufILi30EENS_11TLockNumberE @ 73 NONAME
+	_ZNK12RMmCustomAPI17DeActivateSimLockER14TRequestStatusRK4TBufILi15EENS_11TLockNumberE @ 72 NONAME
+	_ZNK12RMmCustomAPI17DeActivateSimLockERK4TBufILi15EENS_11TLockNumberE @ 73 NONAME
 	_ZNK12RMmCustomAPI17GetPndCacheStatusER14TRequestStatusRNS_15TPndCacheStatusERK4TBufILi128EE @ 74 NONAME
 	_ZNK12RMmCustomAPI18ClearCallBlackListEv @ 75 NONAME
 	_ZNK12RMmCustomAPI18GetAirTimeDurationER20TTimeIntervalSeconds @ 76 NONAME
@@ -113,15 +113,15 @@
 	_ZNK12RMmCustomAPI23SetSimMessageStatusReadER5TTimeRi @ 112 NONAME
 	_ZNK12RMmCustomAPI31WriteViagHomeZoneUHZIUESettingsER14TRequestStatusRNS_19TViagUHZIUESettingsE @ 113 NONAME
 	_ZNK12RMmCustomAPI31WriteViagHomeZoneUHZIUESettingsERNS_19TViagUHZIUESettingsE @ 114 NONAME
-	_ZTI18CMmCustomPtrHolder @ 115 NONAME ; #<TI>#
-	_ZTV18CMmCustomPtrHolder @ 116 NONAME ; #<VT>#
+	_ZTI18CMmCustomPtrHolder @ 115 NONAME DATA 12 ; #<TI>#
+	_ZTV18CMmCustomPtrHolder @ 116 NONAME DATA 20 ; #<VT>#
 	_ZNK12RMmCustomAPI11SetAlwaysOnER14TRequestStatusRNS_16TSetAlwaysOnModeE @ 117 NONAME
 	_ZN12RMmCustomAPI14NotifyRauEventER14TRequestStatusRNS_15TRauEventStatusE @ 118 NONAME
 	_ZN12RMmCustomAPI15ReadHSxPAStatusER14TRequestStatusRNS_12THSxPAStatusE @ 119 NONAME
 	_ZN12RMmCustomAPI16WriteHSxPAStatusER14TRequestStatusRNS_12THSxPAStatusE @ 120 NONAME
 	_ZN12RMmCustomAPI17NotifyHSxPAStatusER14TRequestStatusRNS_12THSxPAStatusE @ 121 NONAME
 	_ZNK12RMmCustomAPI35GetIccCallForwardingIndicatorStatusER14TRequestStatusR5TDes8 @ 122 NONAME
-	_ZN12RMmCustomAPI35NotifyIccCallForwardingStatusChangeER14TRequestStatusR5TDes8 @ 123 NONAME
+ 	_ZN12RMmCustomAPI35NotifyIccCallForwardingStatusChangeER14TRequestStatusR5TDes8 @ 123 NONAME
 	_ZN12RMmCustomAPI13TCFIndicatorsC1Ev @ 124 NONAME
 	_ZN12RMmCustomAPI13TCFIndicatorsC2Ev @ 125 NONAME
 	_ZNK12RMmCustomAPI11GetCellInfoER14TRequestStatusR5TDes8 @ 126 NONAME
@@ -146,4 +146,3 @@
 	_ZN12RMmCustomAPI36TSimAuthenticationGbaBootstrapUpdateC2Ev @ 145 NONAME
 	_ZNK12RMmCustomAPI21GetUSIMServiceSupportER14TRequestStatusRNS_11TAppSupportE @ 146 NONAME
 	_ZN12RMmCustomAPI36NotifyRemoteAlertingToneStatusChangeER14TRequestStatusRNS_25TRemoteAlertingToneStatusE @ 147 NONAME
-	
--- a/telephonyserverplugins/common_tsy/customapi/inc/RMmCustomAPI.h	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/customapi/inc/RMmCustomAPI.h	Fri Oct 22 16:04:25 2010 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -38,7 +38,7 @@
 
 _LIT(KCustomAPIName,"CUSTOMAPI");
 _LIT(KTerminateAllCalls,"ALL_CALLS");
-const TInt KSimLockMaxPasswordSize = 30;
+const TInt KSimLockMaxPasswordSize = 15;
 const TInt KSimCbTopicNameLength = 20;
 const TInt KSubAddressSize = 20;
 const TInt KBearerCapabilitySize = 14;
--- a/telephonyserverplugins/common_tsy/test/component/inc/cctsynetworkcontrolfu.h	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/inc/cctsynetworkcontrolfu.h	Fri Oct 22 16:04:25 2010 +0100
@@ -108,20 +108,17 @@
     void TestStorePreferredNetworksListL0001aL();
     void TestStorePreferredNetworksListL0001bL();
     void TestStorePreferredNetworksListL0002L();
-    void TestStorePreferredNetworksListL0004L();    
 	void TestRetrieveMobilePhonePreferredNetworks0001L();
 	void TestRetrieveMobilePhonePreferredNetworks0001aL();
 	void TestRetrieveMobilePhonePreferredNetworks0001bL();
 	void TestRetrieveMobilePhonePreferredNetworks0001cL();
-	void TestRetrieveMobilePhonePreferredNetworks0002L();
-    void TestRetrieveMobilePhonePreferredNetworks0004L();	
+	void TestRetrieveMobilePhonePreferredNetworks0002L();			
 	void TestGetNetworkRegistrationStatus0001L();
 	void TestGetNetworkRegistrationStatus0002L();
 	void TestGetNetworkRegistrationStatus0004L();
 	void TestGetNetworkRegistrationStatus0005L();
 	void TestNotifyPreferredNetworksListChange0001L();
-    void TestNotifyPreferredNetworksListChange0002L();
-    void TestNotifyPreferredNetworksListChange0004L();    
+    void TestNotifyPreferredNetworksListChange0002L();  
 	void TestNotifyNetworkSelectionSettingChange0001L();
 	void TestNotifyNetworkSelectionSettingChange0002L();
 	void TestNotifyNetworkSelectionSettingChange0004L();
--- a/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsy/eabi/licenseetsyu.def	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsy/eabi/licenseetsyu.def	Fri Oct 22 16:04:25 2010 +0100
@@ -14,7 +14,7 @@
 	_ZTI14TMockLtsyData1I31TMmMbmsMonitorServiceListParamsE @ 13 NONAME
 	_ZTI14TMockLtsyData1I4TBufILi10EEE @ 14 NONAME
 	_ZTI14TMockLtsyData1I4TBufILi128EEE @ 15 NONAME
-	_ZTI14TMockLtsyData1I4TBufILi30EEE @ 16 NONAME
+	_ZTI14TMockLtsyData1I4TBufILi15EEE @ 16 NONAME
 	_ZTI14TMockLtsyData1I4TBufILi16EEE @ 17 NONAME
 	_ZTI14TMockLtsyData1I4TBufILi32EEE @ 18 NONAME
 	_ZTI14TMockLtsyData1I4TBufILi6EEE @ 19 NONAME
@@ -125,7 +125,7 @@
 	_ZTI14TMockLtsyData2I14TContextParamsN10RPacketQoS19TQoSR99_R4RequestedEE @ 124 NONAME
 	_ZTI14TMockLtsyData2I21TContextConfigurationP13CArrayPtrFlatIN14RPacketContext24CTFTMediaAuthorizationV3EEE @ 125 NONAME
 	_ZTI14TMockLtsyData2I4TBufILi128EEN20RMobileUssdMessaging23TMobileUssdAttributesV1EE @ 126 NONAME
-	_ZTI14TMockLtsyData2I4TBufILi30EEN12RMmCustomAPI11TLockNumberEE @ 127 NONAME
+	_ZTI14TMockLtsyData2I4TBufILi15EEN12RMmCustomAPI11TLockNumberEE @ 127 NONAME
 	_ZTI14TMockLtsyData2I4TBufILi16EE12TContextMiscE @ 128 NONAME
 	_ZTI14TMockLtsyData2I4TBufILi16EE30TMmMbmsActiveServiceListParamsE @ 129 NONAME
 	_ZTI14TMockLtsyData2I4TBufILi16EE5TBuf8ILi1EEE @ 130 NONAME
@@ -197,7 +197,7 @@
 	_ZTI17TMockLtsyData1BufI31TMmMbmsMonitorServiceListParamsE @ 196 NONAME
 	_ZTI17TMockLtsyData1BufI4TBufILi10EEE @ 197 NONAME
 	_ZTI17TMockLtsyData1BufI4TBufILi128EEE @ 198 NONAME
-	_ZTI17TMockLtsyData1BufI4TBufILi30EEE @ 199 NONAME
+	_ZTI17TMockLtsyData1BufI4TBufILi15EEE @ 199 NONAME
 	_ZTI17TMockLtsyData1BufI4TBufILi16EEE @ 200 NONAME
 	_ZTI17TMockLtsyData1BufI4TBufILi32EEE @ 201 NONAME
 	_ZTI17TMockLtsyData1BufI4TBufILi6EEE @ 202 NONAME
@@ -308,7 +308,7 @@
 	_ZTI17TMockLtsyData2BufI14TContextParamsN10RPacketQoS19TQoSR99_R4RequestedEE @ 307 NONAME
 	_ZTI17TMockLtsyData2BufI21TContextConfigurationP13CArrayPtrFlatIN14RPacketContext24CTFTMediaAuthorizationV3EEE @ 308 NONAME
 	_ZTI17TMockLtsyData2BufI4TBufILi128EEN20RMobileUssdMessaging23TMobileUssdAttributesV1EE @ 309 NONAME
-	_ZTI17TMockLtsyData2BufI4TBufILi30EEN12RMmCustomAPI11TLockNumberEE @ 310 NONAME
+	_ZTI17TMockLtsyData2BufI4TBufILi15EEN12RMmCustomAPI11TLockNumberEE @ 310 NONAME
 	_ZTI17TMockLtsyData2BufI4TBufILi16EE12TContextMiscE @ 311 NONAME
 	_ZTI17TMockLtsyData2BufI4TBufILi16EE30TMmMbmsActiveServiceListParamsE @ 312 NONAME
 	_ZTI17TMockLtsyData2BufI4TBufILi16EE5TBuf8ILi1EEE @ 313 NONAME
@@ -480,7 +480,7 @@
 	_ZTV14TMockLtsyData1I31TMmMbmsMonitorServiceListParamsE @ 479 NONAME
 	_ZTV14TMockLtsyData1I4TBufILi10EEE @ 480 NONAME
 	_ZTV14TMockLtsyData1I4TBufILi128EEE @ 481 NONAME
-	_ZTV14TMockLtsyData1I4TBufILi30EEE @ 482 NONAME
+	_ZTV14TMockLtsyData1I4TBufILi15EEE @ 482 NONAME
 	_ZTV14TMockLtsyData1I4TBufILi16EEE @ 483 NONAME
 	_ZTV14TMockLtsyData1I4TBufILi32EEE @ 484 NONAME
 	_ZTV14TMockLtsyData1I4TBufILi6EEE @ 485 NONAME
@@ -591,7 +591,7 @@
 	_ZTV14TMockLtsyData2I14TContextParamsN10RPacketQoS19TQoSR99_R4RequestedEE @ 590 NONAME
 	_ZTV14TMockLtsyData2I21TContextConfigurationP13CArrayPtrFlatIN14RPacketContext24CTFTMediaAuthorizationV3EEE @ 591 NONAME
 	_ZTV14TMockLtsyData2I4TBufILi128EEN20RMobileUssdMessaging23TMobileUssdAttributesV1EE @ 592 NONAME
-	_ZTV14TMockLtsyData2I4TBufILi30EEN12RMmCustomAPI11TLockNumberEE @ 593 NONAME
+	_ZTV14TMockLtsyData2I4TBufILi15EEN12RMmCustomAPI11TLockNumberEE @ 593 NONAME
 	_ZTV14TMockLtsyData2I4TBufILi16EE12TContextMiscE @ 594 NONAME
 	_ZTV14TMockLtsyData2I4TBufILi16EE30TMmMbmsActiveServiceListParamsE @ 595 NONAME
 	_ZTV14TMockLtsyData2I4TBufILi16EE5TBuf8ILi1EEE @ 596 NONAME
@@ -663,7 +663,7 @@
 	_ZTV17TMockLtsyData1BufI31TMmMbmsMonitorServiceListParamsE @ 662 NONAME
 	_ZTV17TMockLtsyData1BufI4TBufILi10EEE @ 663 NONAME
 	_ZTV17TMockLtsyData1BufI4TBufILi128EEE @ 664 NONAME
-	_ZTV17TMockLtsyData1BufI4TBufILi30EEE @ 665 NONAME
+	_ZTV17TMockLtsyData1BufI4TBufILi15EEE @ 665 NONAME
 	_ZTV17TMockLtsyData1BufI4TBufILi16EEE @ 666 NONAME
 	_ZTV17TMockLtsyData1BufI4TBufILi32EEE @ 667 NONAME
 	_ZTV17TMockLtsyData1BufI4TBufILi6EEE @ 668 NONAME
@@ -774,7 +774,7 @@
 	_ZTV17TMockLtsyData2BufI14TContextParamsN10RPacketQoS19TQoSR99_R4RequestedEE @ 773 NONAME
 	_ZTV17TMockLtsyData2BufI21TContextConfigurationP13CArrayPtrFlatIN14RPacketContext24CTFTMediaAuthorizationV3EEE @ 774 NONAME
 	_ZTV17TMockLtsyData2BufI4TBufILi128EEN20RMobileUssdMessaging23TMobileUssdAttributesV1EE @ 775 NONAME
-	_ZTV17TMockLtsyData2BufI4TBufILi30EEN12RMmCustomAPI11TLockNumberEE @ 776 NONAME
+	_ZTV17TMockLtsyData2BufI4TBufILi15EEN12RMmCustomAPI11TLockNumberEE @ 776 NONAME
 	_ZTV17TMockLtsyData2BufI4TBufILi16EE12TContextMiscE @ 777 NONAME
 	_ZTV17TMockLtsyData2BufI4TBufILi16EE30TMmMbmsActiveServiceListParamsE @ 778 NONAME
 	_ZTV17TMockLtsyData2BufI4TBufILi16EE5TBuf8ILi1EEE @ 779 NONAME
--- a/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsy/inc/cmockphonemesshandler.h	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsy/inc/cmockphonemesshandler.h	Fri Oct 22 16:04:25 2010 +0100
@@ -48,7 +48,6 @@
     RPointerArray<RMobilePhone::TMobilePhoneNetworkInfoV1> iNetworkInfoV1List;
     RPointerArray<RMobilePhone::TMobilePhoneNetworkInfoV2> iNetworkInfoV2List;
     RPointerArray<RMobilePhone::TMobilePhoneNetworkInfoV5> iNetworkInfoV5List;
-    RPointerArray<CMobilePhoneStoredNetworkList> iStoredNetworkLists;    
     };
 
 #endif // CMockPhoneMessHandler_H
--- a/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsy/src/cmockphonemesshandler.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsy/src/cmockphonemesshandler.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -64,7 +64,6 @@
 	iNetworkInfoV1List.ResetAndDestroy();
 	iNetworkInfoV2List.ResetAndDestroy();
 	iNetworkInfoV5List.ResetAndDestroy();
-	iStoredNetworkLists.ResetAndDestroy();
     }
 
 /**
@@ -951,7 +950,6 @@
         case ECtsyPhoneGetPreferredNetworksComp:
             {
             CMobilePhoneStoredNetworkList* list = CMobilePhoneStoredNetworkList::NewL();
-            iStoredNetworkLists.Append(list);
             TSerializer<CMobilePhoneStoredNetworkList>::DeserialiseL(aData, *list);
             dataPackage.PackData(list);
             }
--- a/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsydll/bwins/mockltsydllu.def	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsydll/bwins/mockltsydllu.def	Fri Oct 22 16:04:25 2010 +0100
@@ -46,7 +46,7 @@
 	?DeserialiseL@?$TSerializer@UTContextConfiguration@@@@SAXABVTDesC8@@AAUTContextConfiguration@@@Z @ 45 NONAME ; void TSerializer<struct TContextConfiguration>::DeserialiseL(class TDesC8 const &, struct TContextConfiguration &)
 	??0TMockLtsyContextData0@@QAE@XZ @ 46 NONAME ; TMockLtsyContextData0::TMockLtsyContextData0(void)
 	?SerialiseL@TMockLtsyPacketQoSData0@@QBEXAAVRBuf8@@@Z @ 47 NONAME ; void TMockLtsyPacketQoSData0::SerialiseL(class RBuf8 &) const
-	?IsEqual@?$TComparator@V?$TBuf@$0BO@@@@@SAHABV?$TBuf@$0BO@@@0@Z @ 48 NONAME ; int TComparator<class TBuf<30> >::IsEqual(class TBuf<30> const &, class TBuf<30> const &)
+	?IsEqual@?$TComparator@V?$TBuf@$0P@@@@@SAHABV?$TBuf@$0P@@@0@Z @ 48 NONAME ; int TComparator<class TBuf<15> >::IsEqual(class TBuf<15> const &, class TBuf<15> const &)
 	?SerialiseL@?$TSerializer@UTMmMbmsActiveServiceListParams@@@@SAXABUTMmMbmsActiveServiceListParams@@AAVRBuf8@@@Z @ 49 NONAME ; void TSerializer<struct TMmMbmsActiveServiceListParams>::SerialiseL(struct TMmMbmsActiveServiceListParams const &, class RBuf8 &)
 	?IsEqual@?$TComparator@VTMobileUssdAttributesV1@RMobileUssdMessaging@@@@SAHABVTMobileUssdAttributesV1@RMobileUssdMessaging@@0@Z @ 50 NONAME ; int TComparator<class RMobileUssdMessaging::TMobileUssdAttributesV1>::IsEqual(class RMobileUssdMessaging::TMobileUssdAttributesV1 const &, class RMobileUssdMessaging::TMobileUssdAttributesV1 const &)
 	?InternalizeL@TPacketQoSR5Negotiated@@QAEXAAVRReadStream@@@Z @ 51 NONAME ; void TPacketQoSR5Negotiated::InternalizeL(class RReadStream &)
--- a/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsydll/eabi/mockltsydllu.def	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/mockltsy/mockltsydll/eabi/mockltsydllu.def	Fri Oct 22 16:04:25 2010 +0100
@@ -25,7 +25,7 @@
 	_ZN11TComparatorI30TMmMbmsActiveServiceListParamsE7IsEqualERKS0_S3_ @ 24 NONAME
 	_ZN11TComparatorI31TMmMbmsMonitorServiceListParamsE7IsEqualERKS0_S3_ @ 25 NONAME
 	_ZN11TComparatorI4TBufILi10EEE7IsEqualERKS1_S4_ @ 26 NONAME
-	_ZN11TComparatorI4TBufILi30EEE7IsEqualERKS1_S4_ @ 27 NONAME
+	_ZN11TComparatorI4TBufILi15EEE7IsEqualERKS1_S4_ @ 27 NONAME
 	_ZN11TComparatorI4TBufILi16EEE7IsEqualERKS1_S4_ @ 28 NONAME
 	_ZN11TComparatorI4TBufILi32EEE7IsEqualERKS1_S4_ @ 29 NONAME
 	_ZN11TComparatorI4TBufILi6EEE7IsEqualERKS1_S4_ @ 30 NONAME
--- a/telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_networkcontrol_individual.script	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/scripts/te_ctsycomponent_networkcontrol_individual.script	Fri Oct 22 16:04:25 2010 +0100
@@ -739,16 +739,11 @@
 //!@SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0001b
 //!@SYMPREQ                417-71654
 //!@SYMComponent           telephony_ctsy
-//!@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::StorePreferredNetworksListL
-//!@   			   with error and with duplicate LTSY complete message
+//!@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::StorePreferredNetworksListL with error
 //!@SYMTestPriority        High
 //!@SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL.
 //!                        2. LTSY returns error.  
-//!                        3. Test code receives error.
-//!                        3. Invoke RMobilePhone:StorePreferredNetworksListL.
-//!                        4. LTSY returns duplicate complete message with KErrNone
-//!                        5. Duplicate complete message is ignored and test code receives KErrNone.  
-//!@SYMTestExpectedResults All tests pass. 
+//!@SYMTestExpectedResults Test code receives error. 
 //!@SYMTestType            CT
 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0001bL
 END_TESTCASE BA-CTSY-NTWC-MSPNL-0001b
@@ -767,19 +762,6 @@
 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0002L
 END_TESTCASE BA-CTSY-NTWC-MSPNL-0002
 
-START_TESTCASE BA-CTSY-NTWC-MSPNL-0004
-//!@SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0004
-//!@SYMPREQ                417-71654
-//!@SYMComponent           telephony_ctsy
-//!@SYMTestCaseDesc        Test support in CTSY for multiple client requests to RMobilePhone::StorePreferredNetworksListL
-//!@SYMTestPriority        High
-//!@SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL.
-//!                        2. Invoke RMobilePhone::StorePreferredNetworksListL from second client.
-//!@SYMTestExpectedResults Second cleint receives KErrServerBusy. 
-//!@SYMTestType            CT
-RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestStorePreferredNetworksListL0004L
-END_TESTCASE BA-CTSY-NTWC-MSPNL-0004
-
 START_TESTCASE BA-CTSY-NTWC-CRMPPN-0001
 //!@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0001
 //!@SYMPREQ                417-71654
@@ -787,9 +769,7 @@
 //!@SYMTestCaseDesc        Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start
 //!@SYMTestPriority        High
 //!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
-//!                        2. Add a new entry to the list.
-//!                        3. Invoke RMobilePhone::StorePreferredNetworksListL. 
-//!@SYMTestExpectedResults LTSY receives the modified list and test code receives KErrNone. 
+//!@SYMTestExpectedResults Test code receives the preferred network list. 
 //!@SYMTestType            CT
 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001L
 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001
@@ -801,9 +781,7 @@
 //!@SYMTestCaseDesc        Test support in CTSY for CRetrieveMobilePhonePreferredNetworks::Start
 //!@SYMTestPriority        High
 //!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
-//!                        2. Remove an entry from the list.
-//!                        3. Invoke RMobilePhone::StorePreferredNetworksListL. 
-//!@SYMTestExpectedResults LTSY receives the modified list and test code receives KErrNone. 
+//!@SYMTestExpectedResults Test code receives the preferred network list. 
 //!@SYMTestType            CT
 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0001aL
 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0001a
@@ -847,19 +825,6 @@
 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0002L
 END_TESTCASE BA-CTSY-NTWC-CRMPPN-0002
 
-START_TESTCASE BA-CTSY-NTWC-CRMPPN-0004
-//!@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0004
-//!@SYMPREQ                417-71654
-//!@SYMComponent           telephony_ctsy
-//!@SYMTestCaseDesc        Test support in CTSY for multiple client requests to CRetrieveMobilePhonePreferredNetworks::Start
-//!@SYMTestPriority        High
-//!@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
-//!                        2. Invoke CRetrieveMobilePhonePreferredNetworks::Start from second client.
-//!@SYMTestExpectedResults Second client receives KErrInUse.
-//!@SYMTestType            CT
-RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestRetrieveMobilePhonePreferredNetworks0004L
-END_TESTCASE BA-CTSY-NTWC-CRMPPN-0004
-
 START_TESTCASE BA-CTSY-NTWC-MGNRS-0001
 //!@SYMTestCaseID BA-CTSY-NTWC-MGNRS-0001
 //!@SYMPREQ 1551
@@ -923,19 +888,6 @@
 RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0002L
 END_TESTCASE BA-CTSY-NTWC-MNPNLC-0002
 
-START_TESTCASE BA-CTSY-NTWC-MNPNLC-0004
-//!@SYMPREQ                417-71654
-//!@SYMComponent           telephony_ctsy
-//!@SYMTestCaseDesc        Test support in CTSY for multiple client requests to RMobilePhone::NotifyPreferredNetworksListChange
-//!@SYMTestPriority        High
-//!@SYMTestActions         1. Invoke RMobilePhone::NotifyPreferredNetworksListChange.
-//!                        1. Invoke RMobilePhone::NotifyPreferredNetworksListChange from second client.
-//!                        2. Invoke RMobilePhone::StorePreferredNetworksListL.
-//!@SYMTestExpectedResults Clients receive preferred network list notification
-//!@SYMTestType            CT
-RUN_TEST_STEP 100 te_ctsy_component TEFUnit.CCTsyNetworkControlFU.TestNotifyPreferredNetworksListChange0004L
-END_TESTCASE BA-CTSY-NTWC-MNPNLC-0004
-
 START_TESTCASE BA-CTSY-NTWC-MNNSSC-0001
 //!@SYMTestCaseID BA-CTSY-NTWC-MNNSSC-0001
 //!@SYMPREQ 1551
--- a/telephonyserverplugins/common_tsy/test/component/src/cctsycustomipcfu.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/src/cctsycustomipcfu.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -626,7 +626,7 @@
  	//-------------------------------------------------------------------------
 	// TEST A: failure to dispatch request to LTSY
  	//-------------------------------------------------------------------------
-	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EOperator);	
 	
 	// data for ExpectL
@@ -749,7 +749,7 @@
  	//-------------------------------------------------------------------------
 	// Test cancelling of RMmCustomAPI::ActivateSimLock
  	//-------------------------------------------------------------------------
- 	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+ 	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EImsi);	
 	
 	// data for ExpectL
@@ -806,7 +806,7 @@
 	// Test A: Test passing wrong parameters to
 	// RMmCustomAPI::ActivateSimLock
  	//-------------------------------------------------------------------------
-	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber((RMmCustomAPI::TLockNumber) 0); 	
 	  
     customAPI.ActivateSimLock(requestStatus, password, lockNumber);
@@ -863,11 +863,11 @@
 	// Test A: Test multiple clients requesting RMmCustomAPI::ActivateSimLock
  	//-------------------------------------------------------------------------	
 	// data for the first request
-	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EOperator_Gid1);	
 	
 	// data for the second request
-	RMmCustomAPI::TSimLockPassword password2(_L("changemechangemechangemechang2"));
+	RMmCustomAPI::TSimLockPassword password2(_L("changeme2"));
 	RMmCustomAPI::TLockNumber lockNumber2(RMmCustomAPI::EOperator_Gid2);	
 	
 	// data for the first ExpectL
@@ -924,7 +924,7 @@
 	//-------------------------------------------------------------------------
 	// Test A: Test timeout of RMmCustomAPI::ActivateSimLock
  	//-------------------------------------------------------------------------
- 	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+ 	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EOperator_Gid2);	
 	
 	// data for ExpectL
@@ -974,7 +974,7 @@
  	//-------------------------------------------------------------------------
 	// TEST A: failure to dispatch request to LTSY
  	//-------------------------------------------------------------------------
-	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EOperator);	
 	
 	// data for ExpectL
@@ -1113,7 +1113,7 @@
  	//-------------------------------------------------------------------------
 	// Test cancelling of RMmCustomAPI::DeActivateSimLock
  	//-------------------------------------------------------------------------
- 	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+ 	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EImsi);	
 	
 	// data for ExpectL
@@ -1171,7 +1171,7 @@
 	// Test A: Test passing wrong version of parameters to
 	// RMmCustomAPI::DeActivateSimLock
  	//-------------------------------------------------------------------------
-	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber((RMmCustomAPI::TLockNumber) 0); 	
 	  
     customAPI.DeActivateSimLock(requestStatus, password, lockNumber);
@@ -1228,11 +1228,11 @@
 	// Test A: Test multiple clients requesting RMmCustomAPI::DeActivateSimLock
  	//-------------------------------------------------------------------------	
 	// data for the first request
-	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EOperator_Gid1);	
 	
 	// data for the second request
-	RMmCustomAPI::TSimLockPassword password2(_L("changemechangemechangemechang2"));
+	RMmCustomAPI::TSimLockPassword password2(_L("changeme2"));
 	RMmCustomAPI::TLockNumber lockNumber2(RMmCustomAPI::EOperator_Gid2);	
 	
 	// data for the first ExpectL
@@ -1289,7 +1289,7 @@
 	//-------------------------------------------------------------------------
 	// Test A: Test timeout of RMmCustomAPI::DeActivateSimLock
  	//-------------------------------------------------------------------------
- 	RMmCustomAPI::TSimLockPassword password(_L("changemechangemechangemechange"));
+ 	RMmCustomAPI::TSimLockPassword password(_L("changeme"));
 	RMmCustomAPI::TLockNumber lockNumber(RMmCustomAPI::EOperator_Gid2);	
 	
 	// data for ExpectL
--- a/telephonyserverplugins/common_tsy/test/component/src/cctsynetworkcontrolfu.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/common_tsy/test/component/src/cctsynetworkcontrolfu.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -102,20 +102,17 @@
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestStorePreferredNetworksListL0001aL);
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestStorePreferredNetworksListL0001bL);
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestStorePreferredNetworksListL0002L);
-    ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestStorePreferredNetworksListL0004L);    
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestRetrieveMobilePhonePreferredNetworks0001L);
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestRetrieveMobilePhonePreferredNetworks0001aL);
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestRetrieveMobilePhonePreferredNetworks0001bL);
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestRetrieveMobilePhonePreferredNetworks0001cL);
     ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestRetrieveMobilePhonePreferredNetworks0002L);
-    ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestRetrieveMobilePhonePreferredNetworks0004L);    
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestGetNetworkRegistrationStatus0001L);
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestGetNetworkRegistrationStatus0002L);
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestGetNetworkRegistrationStatus0004L);
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestGetNetworkRegistrationStatus0005L);
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestNotifyPreferredNetworksListChange0001L);
-    ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestNotifyPreferredNetworksListChange0002L);
-    ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestNotifyPreferredNetworksListChange0004L);    
+    ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestNotifyPreferredNetworksListChange0002L);           
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestNotifyNetworkSelectionSettingChange0001L);
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestNotifyNetworkSelectionSettingChange0002L);
 	ADD_TEST_STEP_ISO_CPP(CCTsyNetworkControlFU, TestNotifyNetworkSelectionSettingChange0004L);
@@ -5273,7 +5270,7 @@
     prefNetworks[2].iCountryCode = _L("262");
     prefNetworks[2].iNetworkId = _L("03");
         
-    for( TInt i=0; i < 3; ++i )
+    for( TInt i=0; i < 3; i++ )
         {
         list->AddEntryL(prefNetworks[i]);
         }
@@ -5343,16 +5340,11 @@
 @SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0001b
 @SYMPREQ                417-71654
 @SYMComponent           telephony_ctsy
-@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::StorePreferredNetworksListL 
-                        with error and with duplicate LTSY complete message
+@SYMTestCaseDesc        Test support in CTSY for RMobilePhone::StorePreferredNetworksListL with error
 @SYMTestPriority        High
 @SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL.
-                        2. LTSY returns error.
-                        3. Test code receives error.
-                        3. Invoke RMobilePhone:StorePreferredNetworksListL.
-                        4. LTSY returns duplicate complete message with KErrNone
-                        5. Duplicate complete message is ignored and test code receives KErrNone.  
-@SYMTestExpectedResults All tests pass. 
+                        2. LTSY returns error.  
+@SYMTestExpectedResults Test code receives error. 
 @SYMTestType            CT
 */
 void CCTsyNetworkControlFU::TestStorePreferredNetworksListL0001bL()
@@ -5394,28 +5386,17 @@
     AssertMockLtsyStatusL();
     ASSERT_EQUALS(KErrUnknown, requestStatus.Int());
 
-    // Invoke Store request - LTSY returns duplicate complete messages with KErrNone
+    // Invoke Store request - LTSY returns KErrNotSupported
     
     iMockLTSY.ExpectL(ECtsyPhoneStorePreferredNetworksListReq, data);
-    iMockLTSY.CompleteL(ECtsyPhoneStorePreferredNetworksListComp, KErrNone);
-    iMockLTSY.CompleteL(ECtsyPhoneStorePreferredNetworksListComp, KErrNone);    
-
-    iPhone.StorePreferredNetworksListL(requestStatus, list);
-
-    User::WaitForRequest(requestStatus);
-    AssertMockLtsyStatusL();
-    ASSERT_EQUALS(KErrNone, requestStatus.Int());
-    
-    // Invoke Store request - LTSY returns KErrNotSupported
-    
-    iMockLTSY.ExpectL(ECtsyPhoneStorePreferredNetworksListReq, data, KErrNotSupported);
+    iMockLTSY.CompleteL(ECtsyPhoneStorePreferredNetworksListComp, KErrNotSupported);
     
     iPhone.StorePreferredNetworksListL(requestStatus, list);
 
     User::WaitForRequest(requestStatus);
     AssertMockLtsyStatusL();
     ASSERT_EQUALS(KErrNotSupported, requestStatus.Int());
-   
+    
     CleanupStack::PopAndDestroy(3, this); // list, data, this
     }
 
@@ -5463,7 +5444,7 @@
     
     iMockLTSY.ExpectL(ECtsyPhoneStorePreferredNetworksListReq, data);
     iMockLTSY.CompleteL(ECtsyPhoneStorePreferredNetworksListComp, KErrNone);
-    
+        
     iPhone.StorePreferredNetworksListL(requestStatus, list);
 
     // Cancel outstanding request
@@ -5478,84 +5459,6 @@
     }
 
 /**
-@SYMTestCaseID          BA-CTSY-NTWC-MSPNL-0004
-@SYMPREQ                417-71654
-@SYMComponent           telephony_ctsy
-@SYMTestCaseDesc        Test support in CTSY for multiple client requests to RMobilePhone::StorePreferredNetworksListL
-@SYMTestPriority        High
-@SYMTestActions         1. Invoke RMobilePhone::StorePreferredNetworksListL.
-                        2. Invoke RMobilePhone::StorePreferredNetworksListL from second client.
-@SYMTestExpectedResults Second cleint receives KErrServerBusy. 
-@SYMTestType            CT
-*/
-void CCTsyNetworkControlFU::TestStorePreferredNetworksListL0004L()
-    {
-
-    OpenEtelServerL(EUseExtendedError);
-    CleanupStack::PushL(TCleanupItem(Cleanup,this));
-    OpenPhoneL();
-
-    RBuf8 data;
-    CleanupClosePushL(data);
-
-    TRequestStatus requestStatus;
-
-    // Open second client
-    RTelServer telServer2;
-    TInt ret = telServer2.Connect();
-    ASSERT_EQUALS(KErrNone, ret);
-    CleanupClosePushL(telServer2);
-
-    RMobilePhone phone2;
-    ret = phone2.Open(iTelServer,KMmTsyPhoneName);
-    ASSERT_EQUALS(KErrNone, ret);
-    CleanupClosePushL(phone2);
-    
-    TRequestStatus requestStatus2;
-    
-    // --- prepare data ---
-    
-    CMobilePhoneStoredNetworkList* list = CMobilePhoneStoredNetworkList::NewL();
-    CleanupStack::PushL(list);
-
-    RMobilePhone::TMobilePreferredNetworkEntryV3 prefNetwork;
-    
-    prefNetwork.iAccess = RMobilePhone::KNetworkAccessGsm;
-    prefNetwork.iCountryCode = _L("262");
-    prefNetwork.iNetworkId = _L("01");
-    
-    list->AddEntryL(prefNetwork);
-    
-    TMockLtsyData1<CMobilePhoneStoredNetworkList*> listData(list);    
-    listData.SerialiseL(data);
-    
-    // Invoke Store request
-    
-    iMockLTSY.ExpectL(ECtsyPhoneStorePreferredNetworksListReq, data);
-        
-    iPhone.StorePreferredNetworksListL(requestStatus, list);
-    
-    // Invoke store request from second client
-    
-    phone2.StorePreferredNetworksListL(requestStatus2, list);
-    
-    // Wait for second request
-    User::WaitForRequest(requestStatus2);
-    AssertMockLtsyStatusL();
-    ASSERT_EQUALS(KErrServerBusy, requestStatus2.Int());
-    
-    iMockLTSY.CompleteL(ECtsyPhoneStorePreferredNetworksListComp, KErrNone);
-    
-    // Wait for first request
-    User::WaitForRequest(requestStatus);
-    AssertMockLtsyStatusL();
-    ASSERT_EQUALS(KErrNone, requestStatus.Int());
-    
-    CleanupStack::PopAndDestroy(5, this); // list, phone2, telServer2, data, this
-    
-    }
-
-/**
 @SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0001
 @SYMPREQ                417-71654
 @SYMComponent           telephony_ctsy
@@ -5637,7 +5540,7 @@
                                                    // retrieveMobilePhonePreferredNetworks
 
     CActiveScheduler::Install(NULL);
-    
+/*    
     // Add new entry to the list
     
     RMobilePhone::TMobilePreferredNetworkEntryV3 prefNetwork2;
@@ -5662,7 +5565,7 @@
    
     AssertMockLtsyStatusL();
     ASSERT_EQUALS(KErrNone, requestStatus.Int());
-    
+*/    
     CleanupStack::PopAndDestroy(3, this); // list, data, this
 
     }
@@ -5758,7 +5661,7 @@
                                                    // retrieveMobilePhonePreferredNetworks
 
     CActiveScheduler::Install(NULL);
-    
+/*    
     // Remove the last entry from the list
     
     list->DeleteEntryL(1);
@@ -5777,7 +5680,7 @@
     User::WaitForRequest(requestStatus);
     AssertMockLtsyStatusL();
     ASSERT_EQUALS(KErrNone, requestStatus.Int());
-    
+ */   
     CleanupStack::PopAndDestroy(3, this); // list, data, this
 
     }
@@ -5913,7 +5816,8 @@
 
     // Invoke Retrieve request - LTSY returns KErrNotSupported
     
-    iMockLTSY.ExpectL(ECtsyPhoneGetPreferredNetworksReq, KErrNotSupported);
+    iMockLTSY.ExpectL(ECtsyPhoneGetPreferredNetworksReq);
+    iMockLTSY.CompleteL(ECtsyPhoneGetPreferredNetworksComp, KErrNotSupported, data);    
     
     retrieveMobilePhonePreferredNetworks->Start(activeRetriever->Status());
     activeRetriever->Activate();
@@ -6007,105 +5911,6 @@
     }
 
 /**
-@SYMTestCaseID          BA-CTSY-NTWC-CRMPPN-0004
-@SYMPREQ                417-71654
-@SYMComponent           telephony_ctsy
-@SYMTestCaseDesc        Test support in CTSY for multiple client requests to CRetrieveMobilePhonePreferredNetworks::Start
-@SYMTestPriority        High
-@SYMTestActions         1. Invoke CRetrieveMobilePhonePreferredNetworks::Start.
-                        2. Invoke CRetrieveMobilePhonePreferredNetworks::Start from second client.
-@SYMTestExpectedResults Second client receives KErrInUse.
-@SYMTestType            CT
-*/
-void CCTsyNetworkControlFU::TestRetrieveMobilePhonePreferredNetworks0004L()
-    {
-     OpenEtelServerL(EUseExtendedError);
-     CleanupStack::PushL(TCleanupItem(Cleanup,this));
-     OpenPhoneL();
-
-     RBuf8 data;
-     CleanupClosePushL(data);
-
-     // Open second client
-     RTelServer telServer2;
-     TInt ret = telServer2.Connect();
-     ASSERT_EQUALS(KErrNone, ret);
-     CleanupClosePushL(telServer2);
-
-     RMobilePhone phone2;
-     ret = phone2.Open(iTelServer,KMmTsyPhoneName);
-     ASSERT_EQUALS(KErrNone, ret);
-     CleanupClosePushL(phone2);
-     
-     // --- prepare data ---
-     
-     CMobilePhoneStoredNetworkList* list = CMobilePhoneStoredNetworkList::NewL();
-     CleanupStack::PushL(list);
-        
-     CFilteringActiveScheduler scheduler;
-     CActiveScheduler::Install(&scheduler);
-
-     // Create first retriever
-     
-     CRetrieveMobilePhonePreferredNetworks* retrieveMobilePhonePreferredNetworks = 
-                         CRetrieveMobilePhonePreferredNetworks::NewL(iPhone);
-     CleanupStack::PushL(retrieveMobilePhonePreferredNetworks);
-     
-     CActiveRetriever::ResetRequestsNumber();
-     CActiveRetriever* activeRetriever = 
-                         CActiveRetriever::NewL(*retrieveMobilePhonePreferredNetworks);
-     CleanupStack::PushL(activeRetriever);
-     scheduler.AddRetrieverL(*activeRetriever);
-
-     // Create second retriever
-     
-     CRetrieveMobilePhonePreferredNetworks* retrieveMobilePhonePreferredNetworks2 = 
-                         CRetrieveMobilePhonePreferredNetworks::NewL(phone2);
-     CleanupStack::PushL(retrieveMobilePhonePreferredNetworks2);
-     
-     CActiveRetriever::ResetRequestsNumber();
-     CActiveRetriever* activeRetriever2 = 
-                         CActiveRetriever::NewL(*retrieveMobilePhonePreferredNetworks2);
-     CleanupStack::PushL(activeRetriever2);
-     scheduler.AddRetrieverL(*activeRetriever2);
-     
-     TMockLtsyData1<CMobilePhoneStoredNetworkList*> completeLtsyData(list);    
-     completeLtsyData.SerialiseL(data);
-         
-     TRequestStatus mockLtsyStatus;
-     iMockLTSY.ExpectL(ECtsyPhoneGetPreferredNetworksReq);
-     iMockLTSY.CompleteL(ECtsyPhoneGetPreferredNetworksComp, KErrNone, data);    
-     
-     // Invoke Retrieve request
-       
-     retrieveMobilePhonePreferredNetworks->Start(activeRetriever->Status());
-     activeRetriever->Activate();
-
-     // Invoke Retrieve request from second client
-     
-     retrieveMobilePhonePreferredNetworks->Start(activeRetriever2->Status());
-     activeRetriever2->Activate();
-     
-     scheduler.StartScheduler();
-     
-     ASSERT_EQUALS(0, CActiveRetriever::ResetRequestsNumber());
-     ASSERT_EQUALS(KErrNone, activeRetriever->iStatus.Int());
-     ASSERT_EQUALS(KErrInUse, activeRetriever2->iStatus.Int());
-     AssertMockLtsyStatusL();    
-        
-     CleanupStack::PopAndDestroy(4, 
-             retrieveMobilePhonePreferredNetworks); // activeRetriever2
-                                                    // retrieveMobilePhonePreferredNetworks2
-                                                    // activeRetriever
-                                                    // retrieveMobilePhonePreferredNetworks
-     
-     CActiveScheduler::Install(NULL);
-         
-     CleanupStack::PopAndDestroy(5, this); // list, phone2, telServer2, data, this
-    
-    }
-
-/**
 @SYMTestCaseID BA-CTSY-NTWC-MGNRS-0001
 @SYMPREQ 1551
 @SYMCR 1595
@@ -6537,10 +6342,6 @@
     TRequestStatus mockLtsyStatus;    
     iMockLTSY.NotifyTerminated(mockLtsyStatus);
     
-    User::WaitForRequest(requestStatus);
-    AssertMockLtsyStatusL();
-    ASSERT_EQUALS(KErrCancel, requestStatus.Int());
-    
     // Invoke Store request
     
     iMockLTSY.ExpectL(ECtsyPhoneStorePreferredNetworksListReq, data);
@@ -6557,106 +6358,15 @@
     AssertMockLtsyStatusL();
     ASSERT_EQUALS(KErrNone, storeRequestStatus.Int());    
     
-    // Start timer and check if any notification is received
-
-    TRequestStatus waitStatus = KRequestPending;
-    RTimer timer;
-    timer.CreateLocal();
-    CleanupClosePushL(timer);
-    timer.After(waitStatus, TTimeIntervalMicroSeconds32(KOneSecond));  // Wait 1 sec
-    
-    User::WaitForRequest(requestStatus, waitStatus);     
+    User::WaitForRequest(requestStatus);
     AssertMockLtsyStatusL();
-    ASSERT_EQUALS(KErrNone, waitStatus.Int()); // timer fired
     ASSERT_EQUALS(KErrCancel, requestStatus.Int());
-    
-    CleanupStack::PopAndDestroy(4, this); // timer, list, data, this
+
+    CleanupStack::PopAndDestroy(3, this); // list, data, this
       
     }
 
 /**
-@SYMTestCaseID          BA-CTSY-NTWC-MNPNLC-0004
-@SYMPREQ                417-71654
-@SYMComponent           telephony_ctsy
-@SYMTestCaseDesc        Test support in CTSY for multiple client requests to RMobilePhone::NotifyPreferredNetworksListChange
-@SYMTestPriority        High
-@SYMTestActions         1. Invoke RMobilePhone::NotifyPreferredNetworksListChange.
-                        1. Invoke RMobilePhone::NotifyPreferredNetworksListChange from second client.
-                        2. Invoke RMobilePhone::StorePreferredNetworksListL.
-@SYMTestExpectedResults Clients receive preferred network list notification
-@SYMTestType            CT
-*/
-void CCTsyNetworkControlFU::TestNotifyPreferredNetworksListChange0004L()
-    {
-
-    OpenEtelServerL(EUseExtendedError);
-    CleanupStack::PushL(TCleanupItem(Cleanup,this));
-    OpenPhoneL();
-
-    RBuf8 data;
-    CleanupClosePushL(data);
-    
-    // Open second client
-    RTelServer telServer2;
-    TInt ret = telServer2.Connect();
-    ASSERT_EQUALS(KErrNone, ret);
-    CleanupClosePushL(telServer2);
-
-    RMobilePhone phone2;
-    ret = phone2.Open(iTelServer,KMmTsyPhoneName);
-    ASSERT_EQUALS(KErrNone, ret);
-    CleanupClosePushL(phone2);
-    
-    TRequestStatus requestStatus;
-    TRequestStatus requestStatus2;    
-
-    // --- prepare data ---
-
-    CMobilePhoneStoredNetworkList* list = CMobilePhoneStoredNetworkList::NewL();
-    CleanupStack::PushL(list);
-
-    RMobilePhone::TMobilePreferredNetworkEntryV3 prefNetwork;
-    
-    prefNetwork.iAccess = RMobilePhone::KNetworkAccessGsm;
-    prefNetwork.iCountryCode = _L("262");
-    prefNetwork.iNetworkId = _L("01");
-    
-    list->AddEntryL(prefNetwork);
-    
-    TMockLtsyData1<CMobilePhoneStoredNetworkList*> listData(list);    
-    listData.SerialiseL(data);
-    
-    // Invoke Notify request
-    
-    iPhone.NotifyPreferredNetworksListChange(requestStatus);
-
-    // Invoke Notify request for second client
-    
-    phone2.NotifyPreferredNetworksListChange(requestStatus2);
-    
-    // Invoke Store request
-        
-    iMockLTSY.ExpectL(ECtsyPhoneStorePreferredNetworksListReq, data);
-    iMockLTSY.CompleteL(ECtsyPhoneStorePreferredNetworksListComp, KErrNone);
-    
-    TRequestStatus storeRequestStatus;
-    iPhone.StorePreferredNetworksListL(storeRequestStatus, list);
-
-    User::WaitForRequest(storeRequestStatus);
-    ASSERT_EQUALS(KErrNone, storeRequestStatus.Int());    
-    AssertMockLtsyStatusL();
-    
-    User::WaitForRequest(requestStatus);
-    User::WaitForRequest(requestStatus2);
-    
-    ASSERT_EQUALS(KErrNone, requestStatus.Int());
-    ASSERT_EQUALS(KErrNone, requestStatus2.Int());    
-
-    CleanupStack::PopAndDestroy(5, this); // list, phone2, telServer2, data, this
-    
-    }
-
-/**
 @SYMTestCaseID BA-CTSY-NTWC-MNNSSC-0001
 @SYMPREQ 1551
 @SYMComponent  telephony_ctsy
--- a/telephonyserverplugins/ctsydispatchlayer/src/cphonebookdispatcher.cpp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/ctsydispatchlayer/src/cphonebookdispatcher.cpp	Fri Oct 22 16:04:25 2010 +0100
@@ -1116,10 +1116,10 @@
 	if((aError == KErrNone) && (aPhonebook != DispatcherPhonebook::EUnknown))
 		{
 		//fill the CTSY pointer		
-        TRAP ( aError, 
-                CArrayPtrSeg<CPhoneBookStoreEntry>* readEntries = new(ELeave) CArrayPtrSeg<CPhoneBookStoreEntry>(1);
-                iPhonebookReadPtrs[aPhonebook] = readEntries;
-                FillCtsyPhoneBookStoreL(aPhonebookEntries,*(iPhonebookReadPtrs[aPhonebook])));
+		CArrayPtrSeg<CPhoneBookStoreEntry>* readEntries = new(ELeave) CArrayPtrSeg<CPhoneBookStoreEntry>(1);
+		iPhonebookReadPtrs[aPhonebook] = readEntries;
+		
+		TRAP(aError,FillCtsyPhoneBookStoreL(aPhonebookEntries,*(iPhonebookReadPtrs[aPhonebook])));
 		}
 	
 	CPhoneBookDataPackage phoneBookDataPackage;
@@ -1185,11 +1185,11 @@
 	
 	if((aError == KErrNone) && (aPhonebook != DispatcherPhonebook::EUnknown)/* && (iPhonebookCachePtrs[aPhonebook])*/)
 		{
-        TRAP(aError,
-                CArrayPtrSeg<CPhoneBookStoreEntry>* readEntries = new(ELeave) CArrayPtrSeg<CPhoneBookStoreEntry>(1);
-                iPhonebookCachePtrs[aPhonebook] = readEntries;
-                FillCtsyPhoneBookStoreL(aPhonebookEntries, *(iPhonebookCachePtrs[aPhonebook])));
-        
+		CArrayPtrSeg<CPhoneBookStoreEntry>* readEntries = new(ELeave) CArrayPtrSeg<CPhoneBookStoreEntry>(1);
+		iPhonebookCachePtrs[aPhonebook] = readEntries;
+			
+		TRAP(aError,FillCtsyPhoneBookStoreL(aPhonebookEntries, *(iPhonebookCachePtrs[aPhonebook])));
+		
 		if(aError)
 			{
 			iPhonebookCachePtrs[aPhonebook]->ResetAndDestroy();
--- a/telephonyserverplugins/licenseetsystub/simatk_tsy_stub/group/simatktsy.mmp	Fri Sep 17 17:35:51 2010 +0100
+++ b/telephonyserverplugins/licenseetsystub/simatk_tsy_stub/group/simatktsy.mmp	Fri Oct 22 16:04:25 2010 +0100
@@ -34,7 +34,7 @@
 USERINCLUDE     ../../licensee_tsy_stub/inc
 
 
-LIBRARY         etel.lib             // Etel server and core API
+LIBRARY         ETel.lib             // Etel server and core API
 LIBRARY         euser.lib            // E32 user library
 
 LINKAS          SIMATKTSY.dll