def activateAaPdpContextAccept(ProtocolConfigurationOptions_presence=0, GprsTimer_presence=0):
 a = TpPd(pd=8)
 b = MessageType(mesType=81)
 c = LlcServiceAccessPointIdentifier()
 d = QualityOfService()
 e = MobileId()
 f = PacketDataProtocolAddress()
 g = RadioPriorityAndSpareHalfOctets()
 packet = ((((((a / b) / c) / d) / e) / f) / g)
 if (ProtocolConfigurationOptions_presence is 1):
  i = ProtocolConfigurationOptions(ieiPCO=39)
  packet = (packet / i)
 if (GprsTimer_presence is 1):
  j = GprsTimer(ieiGT=41)
  packet = (packet / j)
 return packet

def activateAaPdpContextAccept ( ProtocolConfigurationOptions_presence = 0 , GprsTimer_presence = 0 ) : a = TpPd ( pd = 8 ) b = MessageType ( mesType = 81 ) c = LlcServiceAccessPointIdentifier ( ) d = QualityOfService ( ) e = MobileId ( ) f = PacketDataProtocolAddress ( ) g = RadioPriorityAndSpareHalfOctets ( ) packet = ( ( ( ( ( ( a / b ) / c ) / d ) / e ) / f ) / g ) if ( ProtocolConfigurationOptions_presence is 1 ) : i = ProtocolConfigurationOptions ( ieiPCO = 39 ) packet = ( packet / i ) if ( GprsTimer_presence is 1 ) : j = GprsTimer ( ieiGT = 41 ) packet = ( packet / j ) return packet
activate aa pdp context accept section 9 .