code: def locationUpdatingAccept(MobileId_presence=0,
                             FollowOnProceed_presence=0,
                             CtsPermission_presence=0):
      
      a = TpPd(pd=0x5)
      b = MessageType(mesType=0x02)  # 00000010
      c = LocalAreaId()
      packet = a / b / c
      if MobileId_presence is 1:
          d = MobileIdHdr(ieiMI=0x17, eightBitMI=0x0)
          packet = packet / d
      if FollowOnProceed_presence is 1:
          e = FollowOnProceed(ieiFOP=0xA1)
          packet = packet / e
      if CtsPermission_presence is 1:
          f = CtsPermissionHdr(ieiCP=0xA2, eightBitCP=0x0)
          packet = packet / f
      return packet
docs: LOCATION UPDATING ACCEPT Section 9.2.13