def routingAreaUpdateRequest(PTmsiSignature_presence=0, GprsTimer_presence=0, DrxParameter_presence=0, TmsiStatus_presence=0):
 a = TpPd(pd=3)
 b = MessageType(mesType=8)
 c = UpdateTypeAndCiphKeySeqNr()
 e = RoutingAreaIdentification()
 f = MsNetworkCapability()
 packet = ((((a / b) / c) / e) / f)
 if (PTmsiSignature_presence is 1):
  g = PTmsiSignature(ieiPTS=25)
  packet = (packet / g)
 if (GprsTimer_presence is 1):
  h = GprsTimer(ieiGT=23)
  packet = (packet / h)
 if (DrxParameter_presence is 1):
  i = DrxParameter(ieiDP=39)
  packet = (packet / i)
 if (TmsiStatus_presence is 1):
  j = TmsiStatus(ieiTS=9)
  packet = (packet / j)
 return packet

def routingAreaUpdateRequest ( PTmsiSignature_presence = 0 , GprsTimer_presence = 0 , DrxParameter_presence = 0 , TmsiStatus_presence = 0 ) : a = TpPd ( pd = 3 ) b = MessageType ( mesType = 8 ) c = UpdateTypeAndCiphKeySeqNr ( ) e = RoutingAreaIdentification ( ) f = MsNetworkCapability ( ) packet = ( ( ( ( a / b ) / c ) / e ) / f ) if ( PTmsiSignature_presence is 1 ) : g = PTmsiSignature ( ieiPTS = 25 ) packet = ( packet / g ) if ( GprsTimer_presence is 1 ) : h = GprsTimer ( ieiGT = 23 ) packet = ( packet / h ) if ( DrxParameter_presence is 1 ) : i = DrxParameter ( ieiDP = 39 ) packet = ( packet / i ) if ( TmsiStatus_presence is 1 ) : j = TmsiStatus ( ieiTS = 9 ) packet = ( packet / j ) return packet
routing area update request section 9 .