adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_receivedata.cfg
changeset 4 510c70acdbf6
parent 3 1972d8c2e329
child 5 8ccc39f9d787
--- a/adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_receivedata.cfg	Mon Nov 09 10:31:01 2009 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,190 +0,0 @@
-//* 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 "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:  
-
-//
-// Precondition: 
-// - Detailed description can be found from Quality Center's Project: CoreSW_CASW/Module Tests/SIM ATK TSY/SimAtkTSY_testtool
-//
-// Script description (note: Set Up Event List, Open Channel and Send Data commands are used during the  
-// testing. Descriptions for these commands can be found from corresponding command specific cfg-files)
-// from it's config file):
-
-// Proactive command //
-///////////////////////
-
-// AlphaId (Optional)
-//  Enter the text inside the quotes or as unicode hex digits. Example: AlphaId "abc" or AlphaId 61 62 63
-
-// ChannelDataLength (= mandatory)
-//  Number of bytes that are requested. Example: ChannelDataLength 0xFF
-
-// Destination (Optional, default = 0x21, Channel 1)
-//	Command has to be aimed to some destination. Destinations are:
-//		-1	    Initialisation value
-//		0x01    The destination device for the proactive command is the keypad.
-//		0x02    The destination device for the proactive command is the display.
-//		0x03    The destination device for the proactive command is the earpiece.
-//		0x10	The destination device for the proactive command is the additional card reader 0.
-//		0x11	The destination device for the proactive command is the additional card reader 1.
-//		0x12	The destination device for the proactive command is the additional card reader 2.
-//		0x13	The destination device for the proactive command is the additional card reader 3.
-//		0x14	The destination device for the proactive command is the additional card reader 4.
-//		0x15	The destination device for the proactive command is the additional card reader 5.
-//		0x16	The destination device for the proactive command is the additional card reader 6.
-//		0x17	The destination device for the proactive command is the additional card reader 7.
-//		0x21	The destination device for the proactive command is the channel 1.
-//		0x22	The destination device for the proactive command is the channel 2.
-//		0x23	The destination device for the proactive command is the channel 3.
-//		0x24	The destination device for the proactive command is the channel 4.
-//		0x25	The destination device for the proactive command is the channel 5.
-//		0x26	The destination device for the proactive command is the channel 6.
-//		0x27	The destination device for the proactive command is the channel 7.
-//		0x81	The destination device for the proactive command is the UICC.
-//		0x82	The destination device for the proactive command is the Mobile Equipment, typically a phone.
-//		0x83	The destination device for the proactive command is the network.
-//	Example destination channel 7: Destination 0x27
-
-// IconId (Optional, default = IconId 0 0)
-//  IconQualifier
-//      0 NotSet
-//      1 NoIconId
-//      2 SelfExplanatory
-//      3 NotSelfExplanatory
-//  IconIdentifier
-//      Id number
-//  Example SelfExplanatory ID 5: IconId 2 5
-
-// TextAttribute (Optional, default = 0, not initialized)
-//	TA contains information how the text related to a command should be presented to a user. Status of TA 
-//  can be either not initialized, not provided or present. TA coding is specified in ETSI TS 123 040.
-// If TA is provided by the script, it is presumed that is should be provided also by the command.
-// Example TA provided: TextAttribute AA BB CC DD
-
-// Terminal Response //
-///////////////////////
-
-// ChannelDataLength (Optional, default = 0xFF)
-//  Lenght of channel data remaining in buffer.
-
-// GeneralResult (Optional, default = Success )
-//  General result of the proactive command. Set this as described in
-//  the proactive commands versus terminal response table in ETSI TS 102 223.
-
-// AdditionalInfo (Optional, default = "")
-//  Contains the data that you are returning to the UICC. Alternatively, some error values of 
-// GeneralResult require additional information, which goes here.
-        
-// InfoType (Optional, default = NoAdditionalInfo )
-//  If you are returning data to the UICC then set this to ChannelData. Some error values of 
-//  GeneralResult require additional information, in which case set this to MeProblem. Otherwise 
-//  set to NoAdditionalInfo
-
-[Test]
-title MOD_0026.001_SIM_ATK_TSY_[RECEIVE DATA]
-
-create SimAtk simatk
-create SimAtkNotify eventList
-create SimAtkNotify openChannel
-create SimAtkNotify sendData
-create SimAtkNotify receiveData
-
-// Open all
-simatk Connect RTelServer
-simatk Load PhoneTsy.tsy
-simatk Open DefaultPhone
-simatk Open SAT
-simatk Open IscControl
-
-// Load ISC XML -file
-simatk LoadIscTests SimAtk_ReceiveData.xml
-
-
-// Sequence 1.1 (RECEIVE DATA, already opened channel)
-//
-eventList UseObjectAddress simatk ESatNotifySetUpEventListPCmd
-openChannel UseObjectAddress simatk ESatNotifyOpenChannelPCmd
-sendData UseObjectAddress simatk ESatNotifySendDataPCmd
-receiveData UseObjectAddress simatk ESatNotifyReceiveDataPCmd
-
-simatk RunIscTestCase 26 101
-
-// SET UP EVENT LIST 1.1.1
-waittestclass eventList
-// Data available
-simatk CheckProactiveCommand CommandType ESatNotifySetUpEventListPCmd Events 0x200
-simatk SendTerminalResponse CommandType ESatNotifySetUpEventListPCmd SessionEnd 0
-
-// OPEN CHANNEL 1.1.1
-waittestclass openChannel
-simatk CheckProactiveCommand CommandType ESatNotifyOpenChannelPCmd Bearer 2 BearerParams 02 04 05 05 10 02 BufferSize 1000 AccessName "\x06TestGp\x02rs" UserLogin "UserLog" UserPassword "UserPwd" SimMeInterface 2 44444 DestinationAddress "01.01.01.01"
-simatk SendTerminalResponse CommandType ESatNotifyOpenChannelPCmd BearerParams 00 04 05 05 10 02 BufferSize 1000 AdditionalInfo 81 0 InfoType ChannelStatusInfo SessionEnd 0
-
-// SEND DATA 1.1.1
-waittestclass sendData
-simatk CheckProactiveCommand CommandType ESatNotifySendDataPCmd ChannelData 0 1 2 3 4 5 6 7
-simatk SendTerminalResponse CommandType ESatNotifySendDataPCmd
-
-simatk SyncIscTestCase
-
-// EVENT DOWNLOAD - Data available 1.1.1
-// Channel 1 open, link established, more than 255 bytes are available
-simatk SendEnvelope CommandType ESatNotifySetUpEventListPCmd Events 0x200 ChannelStatus 81 00 DataLength FF SessionEnd 0
-
-// RECEIVE DATA 1.1.1
-waittestclass receiveData
-simatk CheckProactiveCommand CommandType ESatNotifyReceiveDataPCmd ChannelDataLength 0xC8
-simatk SendTerminalResponse CommandType ESatNotifyReceiveDataPCmd InfoType ChannelData AdditionalInfo 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7  SessionEnd 0
-receiveData UseObjectAddress simatk ESatNotifyReceiveDataPCmd
-simatk SyncIscTestCase
-
-// RECEIVE DATA 1.1.2
-waittestclass receiveData
-simatk CheckProactiveCommand CommandType ESatNotifyReceiveDataPCmd ChannelDataLength 0xC8
-simatk SendTerminalResponse CommandType ESatNotifyReceiveDataPCmd InfoType ChannelData AdditionalInfo C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F  SessionEnd 0
-receiveData UseObjectAddress simatk ESatNotifyReceiveDataPCmd
-simatk SyncIscTestCase
-
-// RECEIVE DATA 1.1.3
-waittestclass receiveData
-simatk CheckProactiveCommand CommandType ESatNotifyReceiveDataPCmd ChannelDataLength 0xC8
-simatk SendTerminalResponse CommandType ESatNotifyReceiveDataPCmd InfoType ChannelData AdditionalInfo 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57  SessionEnd 0
-receiveData UseObjectAddress simatk ESatNotifyReceiveDataPCmd
-simatk SyncIscTestCase
-
-// RECEIVE DATA 1.1.4
-waittestclass receiveData
-simatk CheckProactiveCommand CommandType ESatNotifyReceiveDataPCmd ChannelDataLength 0xC8
-simatk SendTerminalResponse CommandType ESatNotifyReceiveDataPCmd ChannelDataLength 0xC8 InfoType ChannelData AdditionalInfo 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 E8 E9 EA EB EC ED EE EF F0 F1 F2 F3 F4 F5 F6 F7 F8 F9 FA FB FC FD FE FF 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F SessionEnd 0
-receiveData UseObjectAddress simatk ESatNotifyReceiveDataPCmd
-simatk SyncIscTestCase
-
-// RECEIVE DATA 1.1.5
-waittestclass receiveData
-simatk CheckProactiveCommand CommandType ESatNotifyReceiveDataPCmd ChannelDataLength 0xC8
-simatk SendTerminalResponse CommandType ESatNotifyReceiveDataPCmd ChannelDataLength 0x0 InfoType ChannelData AdditionalInfo 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F 80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F 90 91 92 93 94 95 96 97 98 99 9A 9B 9C 9D 9E 9F A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF E0 E1 E2 E3 E4 E5 E6 E7 SessionEnd 0
-
-simatk WaitForRequest
-
-// close all
-delete receiveData
-delete sendData
-delete openChannel
-delete eventList
-
-simatk Close IscControl
-simatk Close SAT
-simatk Unload PhoneTsy.tsy
-simatk Close RTelServer
-
-[Endtest]