def cmServiceRequest(PriorityLevel_presence=0):
 a = TpPd(pd=5)
 b = MessageType(mesType=36)
 c = CmServiceTypeAndCiphKeySeqNr()
 e = MobileStationClassmark2()
 f = MobileId()
 packet = ((((a / b) / c) / e) / f)
 if (PriorityLevel_presence is 1):
  g = PriorityLevelHdr(ieiPL=8, eightBitPL=0)
  packet = (packet / g)
 return packet

def cmServiceRequest ( PriorityLevel_presence = 0 ) : a = TpPd ( pd = 5 ) b = MessageType ( mesType = 36 ) c = CmServiceTypeAndCiphKeySeqNr ( ) e = MobileStationClassmark2 ( ) f = MobileId ( ) packet = ( ( ( ( a / b ) / c ) / e ) / f ) if ( PriorityLevel_presence is 1 ) : g = PriorityLevelHdr ( ieiPL = 8 , eightBitPL = 0 ) packet = ( packet / g ) return packet
cm service request section 9 .