def pagingRequestType2(MobileId_presence=0):
 a = L2PseudoLength()
 b = TpPd(pd=6)
 c = MessageType(mesType=34)
 d = PageModeAndChannelNeeded()
 f = MobileId()
 g = MobileId()
 packet = (((((a / b) / c) / d) / f) / g)
 if (MobileId_presence is 1):
  h = MobileIdHdr(ieiMI=23, eightBitMI=0)
  packet = (packet / h)
 i = P2RestOctets()
 packet = (packet / i)
 return packet

def pagingRequestType2 ( MobileId_presence = 0 ) : a = L2PseudoLength ( ) b = TpPd ( pd = 6 ) c = MessageType ( mesType = 34 ) d = PageModeAndChannelNeeded ( ) f = MobileId ( ) g = MobileId ( ) packet = ( ( ( ( ( a / b ) / c ) / d ) / f ) / g ) if ( MobileId_presence is 1 ) : h = MobileIdHdr ( ieiMI = 23 , eightBitMI = 0 ) packet = ( packet / h ) i = P2RestOctets ( ) packet = ( packet / i ) return packet
paging request type 2 section 9 .