############################################################################
############################################################################
###################              T E S T 0              ####################
############################################################################
############################################################################
# Test case for success results
############################################################################
[test0]
# NetworkMode = ENetworkModeWcdma
NetworkMode=6
# 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>

DefaultContextparamGPRS= 3, ACME INTERNET PROVIDERS LTD, i-MODE GATEWAY, 1, 2, 1, 2, USER1, PASSWORD1, CHALLENGE1, RESPONSE1, PRIMARYSERVER1, SECONDARYSERVER1, 1, 1
# DefaultContextparamGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge>
# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>,
# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>, <No. Additional Context Config Params>

DefaultGPRSAdditionalParamItem = 0x05, ADDITIONALPARAM3
#DefaultGPRSAdditionalParamItem= <TPcoProtocolId>, <TBuf8 AdditionalParamData>


SetContextConfigGPRS = 0,Test,192.168.1.2,0,2,0,1,RasUser,,,,,,1,3
#AdditionalParamItem= <TPcoProtocolId>, <TBuf8 AdditionalParamData>
#this will come up as binary
AdditionalParamItemGPRS= 0x01, \xff\xff\xff\xff\xff\xff\xff\xff\xee\xee\xee\xee\xee\xee\xee\xee,1
AdditionalParamItemGPRS= 0x01, \xff\xff\xff\xff\xff\xff\xff\xff\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc,1
AdditionalParamItemGPRS= 0x01, \xff\xff\xff\xff\xff\xff\xff\xff\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa,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 = SECONDARY1, 0, 0, 0, 0, 0, 0, 0
#R99ContextConfig = SECONDARY2, 0, 0, 0, 0, 0, 0, 0

#SetContextConfigR5= <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <TUseEdge>, <Authentication Protocol>, <Username>, <Password>, <Challenge>,
# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>, <THeaderCompression>, <TDataCompression>, <No. Additional Context Config Params>
SetContextConfigR5= 0, SYMBIAN INTERNET PROVIDER, PROTOCOL ADDRESS, 0, 2, USER3, PASSWORD3, CHALLENGE3, RESPONSE3, PRIMARYSERVER3, SECONDARYSERVER3, 3, 2, 1, 1

# 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>

# 0) Same as qospolicies.ini defaults
####################### 0     1     2      3    4     5     6    7  8  9  10 11 12  13    14    15    16    17    18   19 20 21 22 23 24
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

# 1) same as ExtensionQosIPLink99Set.ini
QosProfileReqR99 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 128, 128, 128, 128, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128

# 2) same as ExtensionQosIPLink99Set.ini Config1Case6
QosProfileReqR99 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 2048, 2048, 2048, 2048, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128

# 3) same as commdb defaults
QosProfileReqR99 = PRIMARY1,0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 1500, 1500, 512, 512, 512, 512, 0x01, 0x01, 0x01, 0x01, 0x04, 0x04, 4, 4, 512, 512, 512, 512

# 0, 1, 2, 3 as above but with R5 qos params 
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 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 128, 128, 128, 128, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128, 0, 0
QosProfileReqR5 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 2048, 2048, 2048, 2048, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128, 0, 0
QosProfileReqR5 = PRIMARY1,0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 1500, 1500, 512, 512, 512, 512, 0x01, 0x01, 0x01, 0x01, 0x04, 0x04, 4, 4, 512, 512, 512, 512, 0, 0


#TProfileNegR99 =
#0 <contextName>
#1 <duration>
#2 <negTraffic>
#3 <negDeliveryOrder>
#4 <negErroneousSDUDelivery>
#5 <negMaxSDUSize>
#
#6 <negBitErrorRatio>
#7 <negSDUErrorRatio>
#8 <negTrafficHandlingPriority>
#9 <negTransferDelay>
#
#10 <negGuaranteedUpLinkBitRate>
#11 <negGuaranteedDownLinkBitRate>
#12 <negMaxUpLinkRate>
#13 <negMaxDownLinkRate>

# 0) Negotiated qos to return for QosProfileReqR99 #0
#                     0       1    2      3     4   5   6     7     8    9  10 11 12 13
QosProfileNegR99 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3

# 1) Negotiated qos to return for QosProfileReqR99 #1
QosProfileNegR99 = PRIMARY1, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 128, 128

# 2) Negotiated qos to return for QosProfileReqR99 #2

QosProfileNegR99 = PRIMARY1, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 2048, 2048

# 3) Negotiated qos to return for QosProfileReqR99 #3
QosProfileNegR99 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4

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

# R5 settings
QosProfileNegR5 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3, 0, 0
QosProfileNegR5 = PRIMARY1, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 128, 128, 0, 0
QosProfileNegR5 = PRIMARY1, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 2048, 2048, 0, 0
QosProfileNegR5 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 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

QosR5NetworkNotification = PRIMARY1, 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

setqosdelay = 1,1


#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


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::504, 18, 0, SECONDARY1
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::506, 18, 0, SECONDARY2

############################################################################
# failure events
# Configure the context's status to be changed using publish and subscribe
NotifyContextStatusChangeType = PublishSubscribe
# NotifyContextStatusChange <iContextName>, <iDuration>, <iStatus>

#Current status is unknown. 
#   EStatusUnknown =0
#Context is not activated. 
#   EStatusInactive =1
#Context is currently being activated. 
#   EStatusActivating=2
#Context is active. 
#   EStatusActive=3
#Context is currently being deactivated. 
#   EStatusDeactivating=4        
#Context is suspended. 
#   EStatusSuspended=5
#Context has been deleted. 
#   EStatusDeleted=6

NotifyContextStatusChange = PRIMARY1, 0, 5

############################################################################
############################################################################
###################              T E S T 1              ####################
############################################################################
############################################################################
# Test case for failure results
############################################################################
[test1]
# NetworkMode = ENetworkModeWcdma
NetworkMode=6
# 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>

DefaultContextparamGPRS= 3, ACME INTERNET PROVIDERS LTD, i-MODE GATEWAY, 1, 2, 1, 2, USER1, PASSWORD1, CHALLENGE1, RESPONSE1, PRIMARYSERVER1, SECONDARYSERVER1, 1, 1
# DefaultContextparamGPRS = <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <PdpDataCompression>, <TAnonymousAccess>, <TUseEdge>
# ProtocolConfigOption = <Authentication Protocol>, <Username>, <Password>, <Challenge>,
# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>, <No. Additional Context Config Params>

DefaultGPRSAdditionalParamItem = 0x05, ADDITIONALPARAM3
#DefaultGPRSAdditionalParamItem= <TPcoProtocolId>, <TBuf8 AdditionalParamData>


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 = SECONDARY1, 0, 0, 0, 0, 0, 0, 0
#R99ContextConfig = SECONDARY2, 0, 0, 0, 0, 0, 0, 0

#SetContextConfigR5= <TProtocolType>, <TGSNAddress>, <TProtocolAddress>, <TUseEdge>, <Authentication Protocol>, <Username>, <Password>, <Challenge>,
# <Response>, <PrimaryDNS>, <SecondaryDNS>, <TUint iId>, <THeaderCompression>, <TDataCompression>, <No. Additional Context Config Params>
SetContextConfigR5= 0, SYMBIAN INTERNET PROVIDER, PROTOCOL ADDRESS, 0, 2, USER3, PASSWORD3, CHALLENGE3, RESPONSE3, PRIMARYSERVER3, SECONDARYSERVER3, 3, 2, 1, 1

# 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>

# 0) Same as qospolicies.ini defaults
####################### 0     1     2      3    4     5     6    7  8  9  10 11 12  13    14    15    16    17    18   19 20 21 22 23 24
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

# 1) same as ExtensionQosIPLink99Set.ini
QosProfileReqR99 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 128, 128, 128, 128, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128

# 2) same as ExtensionQosIPLink99Set.ini Config1Case6
QosProfileReqR99 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 2048, 2048, 2048, 2048, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128

# 3) same as commdb defaults
QosProfileReqR99 = PRIMARY1,0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 1500, 1500, 512, 512, 512, 512, 0x01, 0x01, 0x01, 0x01, 0x04, 0x04, 4, 4, 512, 512, 512, 512

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 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 128, 128, 128, 128, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128, 0, 0
QosProfileReqR5 = PRIMARY1,0x04, 0x04, 0x04, 0x04, 0x08, 0x08, 0, 0, 2048, 2048, 2048, 2048, 0x20, 0x20, 0x10, 0x10, 0x04, 0x04, 128, 128, 128, 128, 128, 128, 0, 0
QosProfileReqR5 = PRIMARY1,0x02, 0x02, 0x02, 0x02, 0x04, 0x04, 1500, 1500, 512, 512, 512, 512, 0x01, 0x01, 0x01, 0x01, 0x04, 0x04, 4, 4, 512, 512, 512, 512, 0, 0


#TProfileNegR99 =
#0 <contextName>
#1 <duration>
#2 <negTraffic>
#3 <negDeliveryOrder>
#4 <negErroneousSDUDelivery>
#5 <negMaxSDUSize>
#
#6 <negBitErrorRatio>
#7 <negSDUErrorRatio>
#8 <negTrafficHandlingPriority>
#9 <negTransferDelay>
#
#10 <negGuaranteedUpLinkBitRate>
#11 <negGuaranteedDownLinkBitRate>
#12 <negMaxUpLinkRate>
#13 <negMaxDownLinkRate>

# 0) Negotiated qos to return for QosProfileReqR99 #0
#                     0       1    2      3     4   5   6     7     8    9  10 11 12 13
QosProfileNegR99 = PRIMARY1, 0x03, 0x01, 0x03, 0x01, 1, 0x03, 0x01, 0x03, 1, 1, 3, 1, 3

# 1) Negotiated qos to return for QosProfileReqR99 #1
QosProfileNegR99 = PRIMARY1, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 128, 128

# 2) Negotiated qos to return for QosProfileReqR99 #2

QosProfileNegR99 = PRIMARY1, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 2048, 2048

# 3) Negotiated qos to return for QosProfileReqR99 #3
QosProfileNegR99 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4

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, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 128, 128, 0, 0
QosProfileNegR5 = PRIMARY1, 0x01, 0x04, 0x04, 0x08, 0, 0x20, 0x10, 0x04, 128, 128, 128, 2048, 2048, 0, 0
QosProfileNegR5 = PRIMARY1, 0x04, 0x02, 0x04, 0x02, 2, 0x04, 0x02, 0x04, 2, 2, 4, 2, 4, 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

QosR5NetworkNotification = PRIMARY1, 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

setqosdelay = 1,1


#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


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::504, 18, 0, SECONDARY1
CommSetup= PKTLOOPBACK.CSY, PKTLOOPBACK::506, 18, 0, SECONDARY2

############################################################################
# failure events
# Configure the context's status to be changed using publish and subscribe
NotifyContextStatusChangeType = PublishSubscribe
# NotifyContextStatusChange <iContextName>, <iDuration>, <iStatus>

#Current status is unknown. 
#   EStatusUnknown =0
#Context is not activated. 
#   EStatusInactive =1
#Context is currently being activated. 
#   EStatusActivating=2
#Context is active. 
#   EStatusActive=3
#Context is currently being deactivated. 
#   EStatusDeactivating=4        
#Context is suspended. 
#   EStatusSuspended=5
#Context has been deleted. 
#   EStatusDeleted=6

NotifyContextStatusChange = PRIMARY1, 0, 5



