def locationUpdatingAccept(MobileId_presence=0, FollowOnProceed_presence=0, CtsPermission_presence=0):
 a = TpPd(pd=5)
 b = MessageType(mesType=2)
 c = LocalAreaId()
 packet = ((a / b) / c)
 if (MobileId_presence is 1):
  d = MobileIdHdr(ieiMI=23, eightBitMI=0)
  packet = (packet / d)
 if (FollowOnProceed_presence is 1):
  e = FollowOnProceed(ieiFOP=161)
  packet = (packet / e)
 if (CtsPermission_presence is 1):
  f = CtsPermissionHdr(ieiCP=162, eightBitCP=0)
  packet = (packet / f)
 return packet

def locationUpdatingAccept ( MobileId_presence = 0 , FollowOnProceed_presence = 0 , CtsPermission_presence = 0 ) : a = TpPd ( pd = 5 ) b = MessageType ( mesType = 2 ) c = LocalAreaId ( ) packet = ( ( a / b ) / c ) if ( MobileId_presence is 1 ) : d = MobileIdHdr ( ieiMI = 23 , eightBitMI = 0 ) packet = ( packet / d ) if ( FollowOnProceed_presence is 1 ) : e = FollowOnProceed ( ieiFOP = 161 ) packet = ( packet / e ) if ( CtsPermission_presence is 1 ) : f = CtsPermissionHdr ( ieiCP = 162 , eightBitCP = 0 ) packet = ( packet / f ) return packet
location updating accept section 9 .