smsprotocols/smsstack/wapprot/test/configfiles/te_waphdr.txt
author srilekhas <srilekhas@symbian.org>
Fri, 17 Sep 2010 17:35:51 +0100
branchRCL_3
changeset 71 b10722dbe19e
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
permissions -rw-r--r--
Merge RCL_3 fix to Bug 1398 with the latest delivery.

#
# Testing the Wap Datagram
#

[SendReceiveWapSms]

Port= 226
DCS=  8
File= c:\sms\vcard3.vcf

Port= 226
DCS=  7
File= c:\sms\vcard3.vcf

Port= 226
DCS=  8
File= c:\sms\vcard2.vcf

Port= 226
DCS=  7
File= c:\sms\vcard2.vcf

Port= 5505
DCS=  8
File= c:\sms\tone3.rtp

Port= 5505
DCS=  8
File= c:\sms\tone2.rtp

Port= 5505
DCS=  8
File= c:\sms\tone1.rtp

Port= 226
DCS=  8
File= c:\sms\vcard1.vcf

Port= 226
DCS=  7
File= c:\sms\vcard1.vcf


[ParsingWapHeader]


// no //SCK header
WapHeader= This is just a data, 0

# //SC header
WapHeader= //SCThis is just a data, 0
WapHeader= Kurz, 0
WapHeader= , 0

# //SCKxx header with destination port
WapHeader= //SCK12 , 1

# //SCKxxyy header with destination & source port
WapHeader= //SCK1240 , 1

# //SCKxxyyrrttss header with destination & source port, reference, total segments, segment number
WapHeader= //SCK1122334455 , 1

# //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments, segment number and other header
WapHeader= //SCK1122334455//funny , 1

# //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments,
#                                  segment number, other header & data
WapHeader= //SCK1122334455//funny very much data follows, 1

# //SCKxxyyrrttss header with destination & source port, refernce, total segments, segment number & data
WapHeader= //SCK1122334455 very much data follows, 1

# //SCKxx//aaa header with destination port & other header
WapHeader= //SCK11//funny , 1

# //SCKxx//aaa header with destination port, other header & data
WapHeader= //SCK11//funny very much data follows, 1

# //SCKxx header with destination port & data
WapHeader= //SCK11 very much data follows, 1

# //SCKxxyy header with destination & source ports
WapHeader= //SCK1122 , 1

# //SCKxxyy header with destination & source ports & data
WapHeader= //SCK1122 very much data follows, 1

# //SCKLxx header with destination port
WapHeader= //SCKL0002 , 1

# //SCKxxyy header with destination & source port
WapHeader= //SCKL10002200 , 1

# //SCKxxyyrrttss header with destination & source port, refernce, total segments, segment number
WapHeader= //SCKL11112222FFAABB , 1

# //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments, segment number and other header
WapHeader= //SCKL00010002000201//funny , 1

# //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments,
#                                  segment number, other header & data
WapHeader= //SCKL11112222304050//funny very much data follows, 1

# //SCKxxyyrrttss header with destination & source port, refernce, total segments, segment number & data
WapHeader= //SCKL11112222334455 very much data follows, 1

# //SCKxx//aaa header with destination port & other header
WapHeader= //SCKL1100//funny , 1

# //SCKxx//aaa header with destination port, other header & data
WapHeader= //SCKL1000//funny very much data follows, 1

# //SCKxx header with destination port & data
WapHeader= //SCKL1000 very much data follows, 1

# //SCKxxyy header with destination & source ports
WapHeader= //SCKL11112000 , 1

# //SCKxxyy header with destination & source ports & data
WapHeader= //SCKL11112222 very much data follows, 1


//
// Testing the Wap Header
//


[EncodingWapHeader]


# //SCKxx header with destination port

Result= //SCK12
Port= 18
Data=
Other=
RefNum=


# //SCKxxxx header with explicit long destination port

Result= //SCKL0000
Port= 0, 1
Data=
Other=
RefNum=

# //SCKLxxxx header with implicit long destination port

Result= //SCKL1200
Port= 1800, 1
Data=
Other=
RefNum=

# //SCKxx header, destination port & short data

Result= //SCK12 A123456789
Port= 18
Data= A123456789
Other=
RefNum=

//                               8                       10        20        30        40        50        60        70        80        90        100       110       120       130 ->138
# //SCKxx header, destination port & maximum data for one segment

Result= //SCK12 A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P1
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P1
DestPort= 18

# //SCKxx header, destination port, other header & short data

Result= //SCK12//other header A123456789
Port= 18
Data= A123456789
Other= //other header
RefNum=

# //SCKxx header, destination port,other header & maximum data for one segment

Result= //SCK12//other header A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N1234567
Port= 18
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N1234567
Other= //other header
RefNum=

# //SCKxxxx header, destination port & short data

Result= //SCKL1212 A123456789
Port= 1812
Data= A123456789
Other=
RefNum=

# //SCKxxyy header with destination & source port

Result= //SCK12FF
Port= 18, 0, 255, 0
Data=
Other=
RefNum=

# //SCKLxxxxyyyy header with explicit destination & source port

Result= //SCKL001200FF
Port= 18, 1, 255, 0
Data=
Other=
RefNum=

# //SCKLxxxxyyyy header with implicit destination & source port (implicit long header)

Result= //SCKL1001FFFF
Port= 4097, 0, 65535, 0
Data=
Other=
RefNum=

#  //SCKxxyy header, destination port & short data

Result= //SCK1200 A123456789
Port= 18, 0, 0, 0
Data= A123456789
Other=
RefNum=

#  //SCKxxyy header, destination port & maximum data for one segment

Result= //SCK1200 A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789
Port= 18, 0, 0, 0
Data=  A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789
Other=
RefNum=

# //SCKxxyy header, destination port, other header & short data

Result= //SCK1200//other header A123456789
Port= 18, 0, 0, 0
Data= A123456789
Other= //other header
RefNum=

# //SCKxxyy header, destination port,other header & maximum data for one segment

Result= //SCK1200//other header A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345
Port= 18, 0, 0, 0
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345
Other= //other header
RefNum=

#  //SCKLxxxxyyyy header, destination port & short data (implicit long header)

Result= //SCKLFFFF0000 A123456789
Port= 65535, 0, 0, 0
Data= A123456789
Other=
RefNum=

# //SCKxxyy header, destination port, SAR, 1 segment +  some characters char

Result= //SCKAAFF00yyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P");
Port= 170, 0, 255, 0
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P
Other=
RefNum= 0

# //SCKxxyy header, destination port, SAR, 2 segment +  3 chars extra

//                                  16        10        20        30        40        50        60        70        80        90        100       110       120       130       140    147       10        20        30        40        50        60        70        80        90        100       110       120       130       140
Result= //SCKAAFF01yyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123
Port= 170, 0, 255, 0
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123XYZ
Other=
RefNum= 1


# //SCKxxyy header, destination port, SAR, 3 segments exactly

Result= //SCKAAFF02yyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123
Port= 170, 0, 255, 0
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123
Other=
RefNum= 2


# //SCKLxxxxyyyy header, destination port, SAR, 2 segment +  some chars extra (explicit long header)

Result= //SCKL00AA00FFFFyyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678
Port= 170, 0, 255, 0
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZ
Other=
RefNum=


# //SCKxxyy header, destination port, SAR, very many segments

Result= //SCKL00AA00FFFFyyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678
Port= 170, 0, 255, 0
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZ
Other=
RefNum= 170



# //SCKLxxxxyyyy//other header header, destination port, SAR, 2 segment +  some chars extra (explicit long header)

Result= //SCKL00AA00FFFFyyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678
Port= 170, 0, 255, 0
Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZ
Other= //other header
RefNum= 255