repository_name
stringlengths
7
55
func_path_in_repository
stringlengths
4
223
func_name
stringlengths
1
134
whole_func_string
stringlengths
75
104k
language
stringclasses
1 value
func_code_string
stringlengths
75
104k
func_code_tokens
listlengths
19
28.4k
func_documentation_string
stringlengths
1
46.9k
func_documentation_tokens
listlengths
1
1.97k
split_name
stringclasses
1 value
func_code_url
stringlengths
87
315
phaethon/kamene
kamene/contrib/gsm_um.py
handoverCommand
def handoverCommand(SynchronizationIndication_presence=0, FrequencyShortList_presence=0, FrequencyList_presence=0, CellChannelDescription_presence=0, MultislotAllocation_presence=0, ChannelMode_presence=0, ChannelMode_presence1=0, ...
python
def handoverCommand(SynchronizationIndication_presence=0, FrequencyShortList_presence=0, FrequencyList_presence=0, CellChannelDescription_presence=0, MultislotAllocation_presence=0, ChannelMode_presence=0, ChannelMode_presence1=0, ...
[ "def", "handoverCommand", "(", "SynchronizationIndication_presence", "=", "0", ",", "FrequencyShortList_presence", "=", "0", ",", "FrequencyList_presence", "=", "0", ",", "CellChannelDescription_presence", "=", "0", ",", "MultislotAllocation_presence", "=", "0", ",", "C...
HANDOVER COMMAND Section 9.1.15
[ "HANDOVER", "COMMAND", "Section", "9", ".", "1", ".", "15" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L571-L690
phaethon/kamene
kamene/contrib/gsm_um.py
handoverComplete
def handoverComplete(MobileTimeDifference_presence=0): """HANDOVER COMPLETE Section 9.1.16""" a = TpPd(pd=0x6) b = MessageType(mesType=0x2c) # 00101100 c = RrCause() packet = a / b / c if MobileTimeDifference_presence is 1: d = MobileTimeDifferenceHdr(ieiMTD=0x77, eightBitMTD=0x0) ...
python
def handoverComplete(MobileTimeDifference_presence=0): """HANDOVER COMPLETE Section 9.1.16""" a = TpPd(pd=0x6) b = MessageType(mesType=0x2c) # 00101100 c = RrCause() packet = a / b / c if MobileTimeDifference_presence is 1: d = MobileTimeDifferenceHdr(ieiMTD=0x77, eightBitMTD=0x0) ...
[ "def", "handoverComplete", "(", "MobileTimeDifference_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x2c", ")", "# 00101100", "c", "=", "RrCause", "(", ")", "packet", "=", "a...
HANDOVER COMPLETE Section 9.1.16
[ "HANDOVER", "COMPLETE", "Section", "9", ".", "1", ".", "16" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L693-L702
phaethon/kamene
kamene/contrib/gsm_um.py
immediateAssignment
def immediateAssignment(ChannelDescription_presence=0, PacketChannelDescription_presence=0, StartingTime_presence=0): """IMMEDIATE ASSIGNMENT Section 9.1.18""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x3F) # 00111111 d = PageMode...
python
def immediateAssignment(ChannelDescription_presence=0, PacketChannelDescription_presence=0, StartingTime_presence=0): """IMMEDIATE ASSIGNMENT Section 9.1.18""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x3F) # 00111111 d = PageMode...
[ "def", "immediateAssignment", "(", "ChannelDescription_presence", "=", "0", ",", "PacketChannelDescription_presence", "=", "0", ",", "StartingTime_presence", "=", "0", ")", ":", "a", "=", "L2PseudoLength", "(", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")"...
IMMEDIATE ASSIGNMENT Section 9.1.18
[ "IMMEDIATE", "ASSIGNMENT", "Section", "9", ".", "1", ".", "18" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L718-L742
phaethon/kamene
kamene/contrib/gsm_um.py
immediateAssignmentExtended
def immediateAssignmentExtended(StartingTime_presence=0): """IMMEDIATE ASSIGNMENT EXTENDED Section 9.1.19""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x39) # 00111001 d = PageModeAndSpareHalfOctets() f = ChannelDescription() g = RequestReference() h = TimingAdvance(...
python
def immediateAssignmentExtended(StartingTime_presence=0): """IMMEDIATE ASSIGNMENT EXTENDED Section 9.1.19""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x39) # 00111001 d = PageModeAndSpareHalfOctets() f = ChannelDescription() g = RequestReference() h = TimingAdvance(...
[ "def", "immediateAssignmentExtended", "(", "StartingTime_presence", "=", "0", ")", ":", "a", "=", "L2PseudoLength", "(", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x39", ")", "# 00111001", "d", "=",...
IMMEDIATE ASSIGNMENT EXTENDED Section 9.1.19
[ "IMMEDIATE", "ASSIGNMENT", "EXTENDED", "Section", "9", ".", "1", ".", "19" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L750-L766
phaethon/kamene
kamene/contrib/gsm_um.py
immediateAssignmentReject
def immediateAssignmentReject(): """IMMEDIATE ASSIGNMENT REJECT Section 9.1.20""" a = L2PseudoLength(l2pLength=0x13) b = TpPd(pd=0x6) c = MessageType(mesType=0x3a) # 00111010 d = PageModeAndSpareHalfOctets() f = RequestReference() g = WaitIndication() h = RequestReference() i = Wait...
python
def immediateAssignmentReject(): """IMMEDIATE ASSIGNMENT REJECT Section 9.1.20""" a = L2PseudoLength(l2pLength=0x13) b = TpPd(pd=0x6) c = MessageType(mesType=0x3a) # 00111010 d = PageModeAndSpareHalfOctets() f = RequestReference() g = WaitIndication() h = RequestReference() i = Wait...
[ "def", "immediateAssignmentReject", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x13", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x3a", ")", "# 00111010", "d", "=", "PageMod...
IMMEDIATE ASSIGNMENT REJECT Section 9.1.20
[ "IMMEDIATE", "ASSIGNMENT", "REJECT", "Section", "9", ".", "1", ".", "20" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L771-L787
phaethon/kamene
kamene/contrib/gsm_um.py
measurementReport
def measurementReport(): """MEASUREMENT REPORT Section 9.1.21""" a = TpPd(pd=0x6) b = MessageType(mesType=0x15) # 00010101 c = MeasurementResults() packet = a / b / c return packet
python
def measurementReport(): """MEASUREMENT REPORT Section 9.1.21""" a = TpPd(pd=0x6) b = MessageType(mesType=0x15) # 00010101 c = MeasurementResults() packet = a / b / c return packet
[ "def", "measurementReport", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x15", ")", "# 00010101", "c", "=", "MeasurementResults", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "ret...
MEASUREMENT REPORT Section 9.1.21
[ "MEASUREMENT", "REPORT", "Section", "9", ".", "1", ".", "21" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L790-L796
phaethon/kamene
kamene/contrib/gsm_um.py
notificationNch
def notificationNch(): """NOTIFICATION/NCH Section 9.1.21b""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x20) # 00100000 d = NtNRestOctets() packet = a / b / c / d return packet
python
def notificationNch(): """NOTIFICATION/NCH Section 9.1.21b""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x20) # 00100000 d = NtNRestOctets() packet = a / b / c / d return packet
[ "def", "notificationNch", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x01", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x20", ")", "# 00100000", "d", "=", "NtNRestOctets", ...
NOTIFICATION/NCH Section 9.1.21b
[ "NOTIFICATION", "/", "NCH", "Section", "9", ".", "1", ".", "21b" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L813-L820
phaethon/kamene
kamene/contrib/gsm_um.py
notificationResponse
def notificationResponse(): """NOTIFICATION RESPONSE Section 9.1.21d""" a = TpPd(pd=0x6) b = MessageType(mesType=0x26) # 00100110 c = MobileStationClassmark2() d = MobileId() e = DescriptiveGroupOrBroadcastCallReference() packet = a / b / c / d / e return packet
python
def notificationResponse(): """NOTIFICATION RESPONSE Section 9.1.21d""" a = TpPd(pd=0x6) b = MessageType(mesType=0x26) # 00100110 c = MobileStationClassmark2() d = MobileId() e = DescriptiveGroupOrBroadcastCallReference() packet = a / b / c / d / e return packet
[ "def", "notificationResponse", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x26", ")", "# 00100110", "c", "=", "MobileStationClassmark2", "(", ")", "d", "=", "MobileId", "(", ")", "e", "...
NOTIFICATION RESPONSE Section 9.1.21d
[ "NOTIFICATION", "RESPONSE", "Section", "9", ".", "1", ".", "21d" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L823-L831
phaethon/kamene
kamene/contrib/gsm_um.py
rrCellChangeOrder
def rrCellChangeOrder(): """RR-CELL CHANGE ORDER Section 9.1.21e""" a = TpPd(pd=0x6) b = MessageType(mesType=0x8) # 00001000 c = CellDescription() d = NcModeAndSpareHalfOctets() packet = a / b / c / d return packet
python
def rrCellChangeOrder(): """RR-CELL CHANGE ORDER Section 9.1.21e""" a = TpPd(pd=0x6) b = MessageType(mesType=0x8) # 00001000 c = CellDescription() d = NcModeAndSpareHalfOctets() packet = a / b / c / d return packet
[ "def", "rrCellChangeOrder", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x8", ")", "# 00001000", "c", "=", "CellDescription", "(", ")", "d", "=", "NcModeAndSpareHalfOctets", "(", ")", "pac...
RR-CELL CHANGE ORDER Section 9.1.21e
[ "RR", "-", "CELL", "CHANGE", "ORDER", "Section", "9", ".", "1", ".", "21e" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L835-L842
phaethon/kamene
kamene/contrib/gsm_um.py
pagingRequestType1
def pagingRequestType1(MobileId_presence=0): """PAGING REQUEST TYPE 1 Section 9.1.22""" #The L2 pseudo length of this message is the sum of lengths of all #information elements present in the message except #the P1 Rest Octets and L2 Pseudo Length information elements. a = L2PseudoLength() b = TpPd(pd=0x...
python
def pagingRequestType1(MobileId_presence=0): """PAGING REQUEST TYPE 1 Section 9.1.22""" #The L2 pseudo length of this message is the sum of lengths of all #information elements present in the message except #the P1 Rest Octets and L2 Pseudo Length information elements. a = L2PseudoLength() b = TpPd(pd=0x...
[ "def", "pagingRequestType1", "(", "MobileId_presence", "=", "0", ")", ":", "#The L2 pseudo length of this message is the sum of lengths of all", "#information elements present in the message except", "#the P1 Rest Octets and L2 Pseudo Length information elements.", "a", "=", "L2PseudoLengt...
PAGING REQUEST TYPE 1 Section 9.1.22
[ "PAGING", "REQUEST", "TYPE", "1", "Section", "9", ".", "1", ".", "22" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L846-L862
phaethon/kamene
kamene/contrib/gsm_um.py
pagingRequestType2
def pagingRequestType2(MobileId_presence=0): """PAGING REQUEST TYPE 2 Section 9.1.23""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x22) # 00100010 d = PageModeAndChannelNeeded() f = MobileId() g = MobileId() packet = a / b / c / d / f / g if MobileId_presence is...
python
def pagingRequestType2(MobileId_presence=0): """PAGING REQUEST TYPE 2 Section 9.1.23""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x22) # 00100010 d = PageModeAndChannelNeeded() f = MobileId() g = MobileId() packet = a / b / c / d / f / g if MobileId_presence is...
[ "def", "pagingRequestType2", "(", "MobileId_presence", "=", "0", ")", ":", "a", "=", "L2PseudoLength", "(", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x22", ")", "# 00100010", "d", "=", "PageModeA...
PAGING REQUEST TYPE 2 Section 9.1.23
[ "PAGING", "REQUEST", "TYPE", "2", "Section", "9", ".", "1", ".", "23" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L868-L882
phaethon/kamene
kamene/contrib/gsm_um.py
pagingRequestType3
def pagingRequestType3(): """PAGING REQUEST TYPE 3 Section 9.1.24""" # This message has a L2 Pseudo Length of 19 a = L2PseudoLength(l2pLength=0x13) b = TpPd(pd=0x6) c = MessageType(mesType=0x24) # 00100100 d = PageModeAndChannelNeeded() e = TmsiPTmsi() f = TmsiPTmsi() g = TmsiPTmsi() ...
python
def pagingRequestType3(): """PAGING REQUEST TYPE 3 Section 9.1.24""" # This message has a L2 Pseudo Length of 19 a = L2PseudoLength(l2pLength=0x13) b = TpPd(pd=0x6) c = MessageType(mesType=0x24) # 00100100 d = PageModeAndChannelNeeded() e = TmsiPTmsi() f = TmsiPTmsi() g = TmsiPTmsi() ...
[ "def", "pagingRequestType3", "(", ")", ":", "# This message has a L2 Pseudo Length of 19", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x13", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x24", ")"...
PAGING REQUEST TYPE 3 Section 9.1.24
[ "PAGING", "REQUEST", "TYPE", "3", "Section", "9", ".", "1", ".", "24" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L886-L899
phaethon/kamene
kamene/contrib/gsm_um.py
pagingResponse
def pagingResponse(): """PAGING RESPONSE Section 9.1.25""" a = TpPd(pd=0x6) b = MessageType(mesType=0x27) # 00100111 c = CiphKeySeqNrAndSpareHalfOctets() d = MobileStationClassmark2() e = MobileId() packet = a / b / c / d / e return packet
python
def pagingResponse(): """PAGING RESPONSE Section 9.1.25""" a = TpPd(pd=0x6) b = MessageType(mesType=0x27) # 00100111 c = CiphKeySeqNrAndSpareHalfOctets() d = MobileStationClassmark2() e = MobileId() packet = a / b / c / d / e return packet
[ "def", "pagingResponse", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x27", ")", "# 00100111", "c", "=", "CiphKeySeqNrAndSpareHalfOctets", "(", ")", "d", "=", "MobileStationClassmark2", "(", ...
PAGING RESPONSE Section 9.1.25
[ "PAGING", "RESPONSE", "Section", "9", ".", "1", ".", "25" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L902-L910
phaethon/kamene
kamene/contrib/gsm_um.py
partialRelease
def partialRelease(): """PARTIAL RELEASE Section 9.1.26""" a = TpPd(pd=0x6) b = MessageType(mesType=0xa) # 00001010 c = ChannelDescription() packet = a / b / c return packet
python
def partialRelease(): """PARTIAL RELEASE Section 9.1.26""" a = TpPd(pd=0x6) b = MessageType(mesType=0xa) # 00001010 c = ChannelDescription() packet = a / b / c return packet
[ "def", "partialRelease", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0xa", ")", "# 00001010", "c", "=", "ChannelDescription", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return"...
PARTIAL RELEASE Section 9.1.26
[ "PARTIAL", "RELEASE", "Section", "9", ".", "1", ".", "26" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L914-L920
phaethon/kamene
kamene/contrib/gsm_um.py
partialReleaseComplete
def partialReleaseComplete(): """PARTIAL RELEASE COMPLETE Section 9.1.27""" a = TpPd(pd=0x6) b = MessageType(mesType=0xf) # 00001111 packet = a / b return packet
python
def partialReleaseComplete(): """PARTIAL RELEASE COMPLETE Section 9.1.27""" a = TpPd(pd=0x6) b = MessageType(mesType=0xf) # 00001111 packet = a / b return packet
[ "def", "partialReleaseComplete", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0xf", ")", "# 00001111", "packet", "=", "a", "/", "b", "return", "packet" ]
PARTIAL RELEASE COMPLETE Section 9.1.27
[ "PARTIAL", "RELEASE", "COMPLETE", "Section", "9", ".", "1", ".", "27" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L923-L928
phaethon/kamene
kamene/contrib/gsm_um.py
physicalInformation
def physicalInformation(): """PHYSICAL INFORMATION Section 9.1.28""" a = TpPd(pd=0x6) b = MessageType(mesType=0x2d) # 00101101 c = TimingAdvance() packet = a / b / c return packet
python
def physicalInformation(): """PHYSICAL INFORMATION Section 9.1.28""" a = TpPd(pd=0x6) b = MessageType(mesType=0x2d) # 00101101 c = TimingAdvance() packet = a / b / c return packet
[ "def", "physicalInformation", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x2d", ")", "# 00101101", "c", "=", "TimingAdvance", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return...
PHYSICAL INFORMATION Section 9.1.28
[ "PHYSICAL", "INFORMATION", "Section", "9", ".", "1", ".", "28" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L932-L938
phaethon/kamene
kamene/contrib/gsm_um.py
rrInitialisationRequest
def rrInitialisationRequest(): """RR Initialisation Request Section 9.1.28.a""" a = TpPd(pd=0x6) b = MessageType(mesType=0x3c) # 00111100 c = CiphKeySeqNrAndMacModeAndChannelCodingRequest() e = MobileStationClassmark2() f = Tlli() g = ChannelRequestDescription() h = GprsMeasurementResul...
python
def rrInitialisationRequest(): """RR Initialisation Request Section 9.1.28.a""" a = TpPd(pd=0x6) b = MessageType(mesType=0x3c) # 00111100 c = CiphKeySeqNrAndMacModeAndChannelCodingRequest() e = MobileStationClassmark2() f = Tlli() g = ChannelRequestDescription() h = GprsMeasurementResul...
[ "def", "rrInitialisationRequest", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x3c", ")", "# 00111100", "c", "=", "CiphKeySeqNrAndMacModeAndChannelCodingRequest", "(", ")", "e", "=", "MobileStat...
RR Initialisation Request Section 9.1.28.a
[ "RR", "Initialisation", "Request", "Section", "9", ".", "1", ".", "28", ".", "a" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L941-L951
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType1
def systemInformationType1(): """SYSTEM INFORMATION TYPE 1 Section 9.1.31""" a = L2PseudoLength(l2pLength=0x15) b = TpPd(pd=0x6) c = MessageType(mesType=0x19) # 00011001 d = CellChannelDescription() e = RachControlParameters() f = Si1RestOctets() packet = a / b / c / d / e / f retur...
python
def systemInformationType1(): """SYSTEM INFORMATION TYPE 1 Section 9.1.31""" a = L2PseudoLength(l2pLength=0x15) b = TpPd(pd=0x6) c = MessageType(mesType=0x19) # 00011001 d = CellChannelDescription() e = RachControlParameters() f = Si1RestOctets() packet = a / b / c / d / e / f retur...
[ "def", "systemInformationType1", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x15", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x19", ")", "# 00011001", "d", "=", "CellChanne...
SYSTEM INFORMATION TYPE 1 Section 9.1.31
[ "SYSTEM", "INFORMATION", "TYPE", "1", "Section", "9", ".", "1", ".", "31" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L983-L992
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType2
def systemInformationType2(): """SYSTEM INFORMATION TYPE 2 Section 9.1.32""" a = L2PseudoLength(l2pLength=0x16) b = TpPd(pd=0x6) c = MessageType(mesType=0x1a) # 00011010 d = NeighbourCellsDescription() e = NccPermitted() f = RachControlParameters() packet = a / b / c / d / e / f ret...
python
def systemInformationType2(): """SYSTEM INFORMATION TYPE 2 Section 9.1.32""" a = L2PseudoLength(l2pLength=0x16) b = TpPd(pd=0x6) c = MessageType(mesType=0x1a) # 00011010 d = NeighbourCellsDescription() e = NccPermitted() f = RachControlParameters() packet = a / b / c / d / e / f ret...
[ "def", "systemInformationType2", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x16", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x1a", ")", "# 00011010", "d", "=", "NeighbourC...
SYSTEM INFORMATION TYPE 2 Section 9.1.32
[ "SYSTEM", "INFORMATION", "TYPE", "2", "Section", "9", ".", "1", ".", "32" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L997-L1006
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType2bis
def systemInformationType2bis(): """SYSTEM INFORMATION TYPE 2bis Section 9.1.33""" a = L2PseudoLength(l2pLength=0x15) b = TpPd(pd=0x6) c = MessageType(mesType=0x2) # 00000010 d = NeighbourCellsDescription() e = RachControlParameters() f = Si2bisRestOctets() packet = a / b / c / d / e / ...
python
def systemInformationType2bis(): """SYSTEM INFORMATION TYPE 2bis Section 9.1.33""" a = L2PseudoLength(l2pLength=0x15) b = TpPd(pd=0x6) c = MessageType(mesType=0x2) # 00000010 d = NeighbourCellsDescription() e = RachControlParameters() f = Si2bisRestOctets() packet = a / b / c / d / e / ...
[ "def", "systemInformationType2bis", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x15", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x2", ")", "# 00000010", "d", "=", "Neighbou...
SYSTEM INFORMATION TYPE 2bis Section 9.1.33
[ "SYSTEM", "INFORMATION", "TYPE", "2bis", "Section", "9", ".", "1", ".", "33" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1011-L1020
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType2ter
def systemInformationType2ter(): """SYSTEM INFORMATION TYPE 2ter Section 9.1.34""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x3) # 00000011 d = NeighbourCellsDescription2() e = Si2terRestOctets() packet = a / b / c / d / e return packet
python
def systemInformationType2ter(): """SYSTEM INFORMATION TYPE 2ter Section 9.1.34""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x3) # 00000011 d = NeighbourCellsDescription2() e = Si2terRestOctets() packet = a / b / c / d / e return packet
[ "def", "systemInformationType2ter", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x12", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x3", ")", "# 00000011", "d", "=", "Neighbou...
SYSTEM INFORMATION TYPE 2ter Section 9.1.34
[ "SYSTEM", "INFORMATION", "TYPE", "2ter", "Section", "9", ".", "1", ".", "34" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1025-L1033
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType3
def systemInformationType3(): """SYSTEM INFORMATION TYPE 3 Section 9.1.35""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x1b) # 00011011 d = CellIdentity() e = LocalAreaId() f = ControlChannelDescription() g = CellOptionsBCCH() h = CellSelectionParam...
python
def systemInformationType3(): """SYSTEM INFORMATION TYPE 3 Section 9.1.35""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x1b) # 00011011 d = CellIdentity() e = LocalAreaId() f = ControlChannelDescription() g = CellOptionsBCCH() h = CellSelectionParam...
[ "def", "systemInformationType3", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x12", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x1b", ")", "# 00011011", "d", "=", "CellIdenti...
SYSTEM INFORMATION TYPE 3 Section 9.1.35
[ "SYSTEM", "INFORMATION", "TYPE", "3", "Section", "9", ".", "1", ".", "35" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1038-L1051
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType4
def systemInformationType4(ChannelDescription_presence=0, MobileAllocation_presence=0): """SYSTEM INFORMATION TYPE 4 Section 9.1.36""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x1C) # 000111100 d = LocalAreaId() e = CellSelectionParameters() f...
python
def systemInformationType4(ChannelDescription_presence=0, MobileAllocation_presence=0): """SYSTEM INFORMATION TYPE 4 Section 9.1.36""" a = L2PseudoLength() b = TpPd(pd=0x6) c = MessageType(mesType=0x1C) # 000111100 d = LocalAreaId() e = CellSelectionParameters() f...
[ "def", "systemInformationType4", "(", "ChannelDescription_presence", "=", "0", ",", "MobileAllocation_presence", "=", "0", ")", ":", "a", "=", "L2PseudoLength", "(", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", ...
SYSTEM INFORMATION TYPE 4 Section 9.1.36
[ "SYSTEM", "INFORMATION", "TYPE", "4", "Section", "9", ".", "1", ".", "36" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1058-L1076
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType5bis
def systemInformationType5bis(): """SYSTEM INFORMATION TYPE 5bis Section 9.1.38""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x5) # 00000101 d = NeighbourCellsDescription() packet = a / b / c / d return packet
python
def systemInformationType5bis(): """SYSTEM INFORMATION TYPE 5bis Section 9.1.38""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x5) # 00000101 d = NeighbourCellsDescription() packet = a / b / c / d return packet
[ "def", "systemInformationType5bis", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x12", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x5", ")", "# 00000101", "d", "=", "Neighbou...
SYSTEM INFORMATION TYPE 5bis Section 9.1.38
[ "SYSTEM", "INFORMATION", "TYPE", "5bis", "Section", "9", ".", "1", ".", "38" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1093-L1100
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType5ter
def systemInformationType5ter(): """SYSTEM INFORMATION TYPE 5ter Section 9.1.39""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x6) # 00000110 d = NeighbourCellsDescription2() packet = a / b / c / d return packet
python
def systemInformationType5ter(): """SYSTEM INFORMATION TYPE 5ter Section 9.1.39""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x6) # 00000110 d = NeighbourCellsDescription2() packet = a / b / c / d return packet
[ "def", "systemInformationType5ter", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x12", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x6", ")", "# 00000110", "d", "=", "Neighbou...
SYSTEM INFORMATION TYPE 5ter Section 9.1.39
[ "SYSTEM", "INFORMATION", "TYPE", "5ter", "Section", "9", ".", "1", ".", "39" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1105-L1112
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType6
def systemInformationType6(): """SYSTEM INFORMATION TYPE 6 Section 9.1.40""" a = L2PseudoLength(l2pLength=0x0b) b = TpPd(pd=0x6) c = MessageType(mesType=0x1e) # 00011011 d = CellIdentity() e = LocalAreaId() f = CellOptionsBCCH() g = NccPermitted() h = Si6RestOctets() packet = a ...
python
def systemInformationType6(): """SYSTEM INFORMATION TYPE 6 Section 9.1.40""" a = L2PseudoLength(l2pLength=0x0b) b = TpPd(pd=0x6) c = MessageType(mesType=0x1e) # 00011011 d = CellIdentity() e = LocalAreaId() f = CellOptionsBCCH() g = NccPermitted() h = Si6RestOctets() packet = a ...
[ "def", "systemInformationType6", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x0b", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x1e", ")", "# 00011011", "d", "=", "CellIdenti...
SYSTEM INFORMATION TYPE 6 Section 9.1.40
[ "SYSTEM", "INFORMATION", "TYPE", "6", "Section", "9", ".", "1", ".", "40" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1117-L1128
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType7
def systemInformationType7(): """SYSTEM INFORMATION TYPE 7 Section 9.1.41""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x37) # 000110111 d = Si7RestOctets() packet = a / b / c / d return packet
python
def systemInformationType7(): """SYSTEM INFORMATION TYPE 7 Section 9.1.41""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x37) # 000110111 d = Si7RestOctets() packet = a / b / c / d return packet
[ "def", "systemInformationType7", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x01", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x37", ")", "# 000110111", "d", "=", "Si7RestOc...
SYSTEM INFORMATION TYPE 7 Section 9.1.41
[ "SYSTEM", "INFORMATION", "TYPE", "7", "Section", "9", ".", "1", ".", "41" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1133-L1140
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType8
def systemInformationType8(): """SYSTEM INFORMATION TYPE 8 Section 9.1.42""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x18) # 00011000 d = Si8RestOctets() packet = a / b / c / d return packet
python
def systemInformationType8(): """SYSTEM INFORMATION TYPE 8 Section 9.1.42""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x18) # 00011000 d = Si8RestOctets() packet = a / b / c / d return packet
[ "def", "systemInformationType8", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x01", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x18", ")", "# 00011000", "d", "=", "Si8RestOct...
SYSTEM INFORMATION TYPE 8 Section 9.1.42
[ "SYSTEM", "INFORMATION", "TYPE", "8", "Section", "9", ".", "1", ".", "42" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1145-L1152
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType9
def systemInformationType9(): """SYSTEM INFORMATION TYPE 9 Section 9.1.43""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x4) # 00000100 d = Si9RestOctets() packet = a / b / c / d return packet
python
def systemInformationType9(): """SYSTEM INFORMATION TYPE 9 Section 9.1.43""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x4) # 00000100 d = Si9RestOctets() packet = a / b / c / d return packet
[ "def", "systemInformationType9", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x01", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x4", ")", "# 00000100", "d", "=", "Si9RestOcte...
SYSTEM INFORMATION TYPE 9 Section 9.1.43
[ "SYSTEM", "INFORMATION", "TYPE", "9", "Section", "9", ".", "1", ".", "43" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1157-L1164
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType13
def systemInformationType13(): """SYSTEM INFORMATION TYPE 13 Section 9.1.43a""" a = L2PseudoLength(l2pLength=0x00) b = TpPd(pd=0x6) c = MessageType(mesType=0x0) # 00000000 d = Si13RestOctets() packet = a / b / c / d return packet
python
def systemInformationType13(): """SYSTEM INFORMATION TYPE 13 Section 9.1.43a""" a = L2PseudoLength(l2pLength=0x00) b = TpPd(pd=0x6) c = MessageType(mesType=0x0) # 00000000 d = Si13RestOctets() packet = a / b / c / d return packet
[ "def", "systemInformationType13", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x00", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x0", ")", "# 00000000", "d", "=", "Si13RestOc...
SYSTEM INFORMATION TYPE 13 Section 9.1.43a
[ "SYSTEM", "INFORMATION", "TYPE", "13", "Section", "9", ".", "1", ".", "43a" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1169-L1176
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType16
def systemInformationType16(): """SYSTEM INFORMATION TYPE 16 Section 9.1.43d""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x3d) # 00111101 d = Si16RestOctets() packet = a / b / c / d return packet
python
def systemInformationType16(): """SYSTEM INFORMATION TYPE 16 Section 9.1.43d""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x3d) # 00111101 d = Si16RestOctets() packet = a / b / c / d return packet
[ "def", "systemInformationType16", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x01", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x3d", ")", "# 00111101", "d", "=", "Si16RestO...
SYSTEM INFORMATION TYPE 16 Section 9.1.43d
[ "SYSTEM", "INFORMATION", "TYPE", "16", "Section", "9", ".", "1", ".", "43d" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1184-L1191
phaethon/kamene
kamene/contrib/gsm_um.py
systemInformationType17
def systemInformationType17(): """SYSTEM INFORMATION TYPE 17 Section 9.1.43e""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x3e) # 00111110 d = Si17RestOctets() packet = a / b / c / d return packet
python
def systemInformationType17(): """SYSTEM INFORMATION TYPE 17 Section 9.1.43e""" a = L2PseudoLength(l2pLength=0x01) b = TpPd(pd=0x6) c = MessageType(mesType=0x3e) # 00111110 d = Si17RestOctets() packet = a / b / c / d return packet
[ "def", "systemInformationType17", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x01", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x3e", ")", "# 00111110", "d", "=", "Si17RestO...
SYSTEM INFORMATION TYPE 17 Section 9.1.43e
[ "SYSTEM", "INFORMATION", "TYPE", "17", "Section", "9", ".", "1", ".", "43e" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1196-L1203
phaethon/kamene
kamene/contrib/gsm_um.py
talkerIndication
def talkerIndication(): """TALKER INDICATION Section 9.1.44""" a = TpPd(pd=0x6) b = MessageType(mesType=0x11) # 00010001 c = MobileStationClassmark2() d = MobileId() packet = a / b / c / d return packet
python
def talkerIndication(): """TALKER INDICATION Section 9.1.44""" a = TpPd(pd=0x6) b = MessageType(mesType=0x11) # 00010001 c = MobileStationClassmark2() d = MobileId() packet = a / b / c / d return packet
[ "def", "talkerIndication", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x11", ")", "# 00010001", "c", "=", "MobileStationClassmark2", "(", ")", "d", "=", "MobileId", "(", ")", "packet", ...
TALKER INDICATION Section 9.1.44
[ "TALKER", "INDICATION", "Section", "9", ".", "1", ".", "44" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1206-L1213
phaethon/kamene
kamene/contrib/gsm_um.py
uplinkBusy
def uplinkBusy(): """UPLINK BUSY Section 9.1.46""" name = "Uplink Busy" a = TpPd(pd=0x6) b = MessageType(mesType=0x2a) # 00101010 packet = a / b return packet
python
def uplinkBusy(): """UPLINK BUSY Section 9.1.46""" name = "Uplink Busy" a = TpPd(pd=0x6) b = MessageType(mesType=0x2a) # 00101010 packet = a / b return packet
[ "def", "uplinkBusy", "(", ")", ":", "name", "=", "\"Uplink Busy\"", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x2a", ")", "# 00101010", "packet", "=", "a", "/", "b", "return", "packet" ]
UPLINK BUSY Section 9.1.46
[ "UPLINK", "BUSY", "Section", "9", ".", "1", ".", "46" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1225-L1231
phaethon/kamene
kamene/contrib/gsm_um.py
vgcsUplinkGrant
def vgcsUplinkGrant(): """VGCS UPLINK GRANT Section 9.1.49""" a = TpPd(pd=0x6) b = MessageType(mesType=0x9) # 00001001 c = RrCause() d = RequestReference() e = TimingAdvance() packet = a / b / c / d / e return packet
python
def vgcsUplinkGrant(): """VGCS UPLINK GRANT Section 9.1.49""" a = TpPd(pd=0x6) b = MessageType(mesType=0x9) # 00001001 c = RrCause() d = RequestReference() e = TimingAdvance() packet = a / b / c / d / e return packet
[ "def", "vgcsUplinkGrant", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x9", ")", "# 00001001", "c", "=", "RrCause", "(", ")", "d", "=", "RequestReference", "(", ")", "e", "=", "TimingA...
VGCS UPLINK GRANT Section 9.1.49
[ "VGCS", "UPLINK", "GRANT", "Section", "9", ".", "1", ".", "49" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1258-L1266
phaethon/kamene
kamene/contrib/gsm_um.py
extendedMeasurementOrder
def extendedMeasurementOrder(): """EXTENDED MEASUREMENT ORDER Section 9.1.51""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x37) # 00110111 d = ExtendedMeasurementFrequencyList() packet = a / b / c / d return packet
python
def extendedMeasurementOrder(): """EXTENDED MEASUREMENT ORDER Section 9.1.51""" a = L2PseudoLength(l2pLength=0x12) b = TpPd(pd=0x6) c = MessageType(mesType=0x37) # 00110111 d = ExtendedMeasurementFrequencyList() packet = a / b / c / d return packet
[ "def", "extendedMeasurementOrder", "(", ")", ":", "a", "=", "L2PseudoLength", "(", "l2pLength", "=", "0x12", ")", "b", "=", "TpPd", "(", "pd", "=", "0x6", ")", "c", "=", "MessageType", "(", "mesType", "=", "0x37", ")", "# 00110111", "d", "=", "Extended...
EXTENDED MEASUREMENT ORDER Section 9.1.51
[ "EXTENDED", "MEASUREMENT", "ORDER", "Section", "9", ".", "1", ".", "51" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1283-L1290
phaethon/kamene
kamene/contrib/gsm_um.py
extendedMeasurementReport
def extendedMeasurementReport(): """EXTENDED MEASUREMENT REPORT Section 9.1.52""" a = TpPd(pd=0x6) b = MessageType(mesType=0x36) # 00110110 c = ExtendedMeasurementResults() packet = a / b / c return packet
python
def extendedMeasurementReport(): """EXTENDED MEASUREMENT REPORT Section 9.1.52""" a = TpPd(pd=0x6) b = MessageType(mesType=0x36) # 00110110 c = ExtendedMeasurementResults() packet = a / b / c return packet
[ "def", "extendedMeasurementReport", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x36", ")", "# 00110110", "c", "=", "ExtendedMeasurementResults", "(", ")", "packet", "=", "a", "/", "b", "/...
EXTENDED MEASUREMENT REPORT Section 9.1.52
[ "EXTENDED", "MEASUREMENT", "REPORT", "Section", "9", ".", "1", ".", "52" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1293-L1299
phaethon/kamene
kamene/contrib/gsm_um.py
applicationInformation
def applicationInformation(): """APPLICATION INFORMATION Section 9.1.53""" a = TpPd(pd=0x6) b = MessageType(mesType=0x38) # 00111000 c = ApduIDAndApduFlags() e = ApduData() packet = a / b / c / e return packet
python
def applicationInformation(): """APPLICATION INFORMATION Section 9.1.53""" a = TpPd(pd=0x6) b = MessageType(mesType=0x38) # 00111000 c = ApduIDAndApduFlags() e = ApduData() packet = a / b / c / e return packet
[ "def", "applicationInformation", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x6", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x38", ")", "# 00111000", "c", "=", "ApduIDAndApduFlags", "(", ")", "e", "=", "ApduData", "(", ")", "packet", ...
APPLICATION INFORMATION Section 9.1.53
[ "APPLICATION", "INFORMATION", "Section", "9", ".", "1", ".", "53" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1302-L1309
phaethon/kamene
kamene/contrib/gsm_um.py
authenticationReject
def authenticationReject(): """AUTHENTICATION REJECT Section 9.2.1""" a = TpPd(pd=0x5) b = MessageType(mesType=0x11) # 00010001 packet = a / b return packet
python
def authenticationReject(): """AUTHENTICATION REJECT Section 9.2.1""" a = TpPd(pd=0x5) b = MessageType(mesType=0x11) # 00010001 packet = a / b return packet
[ "def", "authenticationReject", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x11", ")", "# 00010001", "packet", "=", "a", "/", "b", "return", "packet" ]
AUTHENTICATION REJECT Section 9.2.1
[ "AUTHENTICATION", "REJECT", "Section", "9", ".", "2", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1316-L1321
phaethon/kamene
kamene/contrib/gsm_um.py
authenticationRequest
def authenticationRequest(): """AUTHENTICATION REQUEST Section 9.2.2""" a = TpPd(pd=0x5) b = MessageType(mesType=0x12) # 00010010 c = CiphKeySeqNrAndSpareHalfOctets() d = AuthenticationParameterRAND() packet = a / b / c / d return packet
python
def authenticationRequest(): """AUTHENTICATION REQUEST Section 9.2.2""" a = TpPd(pd=0x5) b = MessageType(mesType=0x12) # 00010010 c = CiphKeySeqNrAndSpareHalfOctets() d = AuthenticationParameterRAND() packet = a / b / c / d return packet
[ "def", "authenticationRequest", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x12", ")", "# 00010010", "c", "=", "CiphKeySeqNrAndSpareHalfOctets", "(", ")", "d", "=", "AuthenticationParameterRAND...
AUTHENTICATION REQUEST Section 9.2.2
[ "AUTHENTICATION", "REQUEST", "Section", "9", ".", "2", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1325-L1332
phaethon/kamene
kamene/contrib/gsm_um.py
authenticationResponse
def authenticationResponse(): """AUTHENTICATION RESPONSE Section 9.2.3""" a = TpPd(pd=0x5) b = MessageType(mesType=0x14) # 00010100 c = AuthenticationParameterSRES() packet = a / b / c return packet
python
def authenticationResponse(): """AUTHENTICATION RESPONSE Section 9.2.3""" a = TpPd(pd=0x5) b = MessageType(mesType=0x14) # 00010100 c = AuthenticationParameterSRES() packet = a / b / c return packet
[ "def", "authenticationResponse", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x14", ")", "# 00010100", "c", "=", "AuthenticationParameterSRES", "(", ")", "packet", "=", "a", "/", "b", "/",...
AUTHENTICATION RESPONSE Section 9.2.3
[ "AUTHENTICATION", "RESPONSE", "Section", "9", ".", "2", ".", "3" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1335-L1341
phaethon/kamene
kamene/contrib/gsm_um.py
cmReestablishmentRequest
def cmReestablishmentRequest(LocalAreaId_presence=0): """CM RE-ESTABLISHMENT REQUEST Section 9.2.4""" a = TpPd(pd=0x5) b = MessageType(mesType=0x28) # 00101000 c = CiphKeySeqNrAndSpareHalfOctets() e = MobileStationClassmark2() f = MobileId() if LocalAreaId_presence is 1: g = LocalAr...
python
def cmReestablishmentRequest(LocalAreaId_presence=0): """CM RE-ESTABLISHMENT REQUEST Section 9.2.4""" a = TpPd(pd=0x5) b = MessageType(mesType=0x28) # 00101000 c = CiphKeySeqNrAndSpareHalfOctets() e = MobileStationClassmark2() f = MobileId() if LocalAreaId_presence is 1: g = LocalAr...
[ "def", "cmReestablishmentRequest", "(", "LocalAreaId_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x28", ")", "# 00101000", "c", "=", "CiphKeySeqNrAndSpareHalfOctets", "(", ")", ...
CM RE-ESTABLISHMENT REQUEST Section 9.2.4
[ "CM", "RE", "-", "ESTABLISHMENT", "REQUEST", "Section", "9", ".", "2", ".", "4" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1344-L1355
phaethon/kamene
kamene/contrib/gsm_um.py
cmServiceAccept
def cmServiceAccept(): """CM SERVICE ACCEPT Section 9.2.5""" a = TpPd(pd=0x5) b = MessageType(mesType=0x21) # 00100001 packet = a / b return packet
python
def cmServiceAccept(): """CM SERVICE ACCEPT Section 9.2.5""" a = TpPd(pd=0x5) b = MessageType(mesType=0x21) # 00100001 packet = a / b return packet
[ "def", "cmServiceAccept", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x21", ")", "# 00100001", "packet", "=", "a", "/", "b", "return", "packet" ]
CM SERVICE ACCEPT Section 9.2.5
[ "CM", "SERVICE", "ACCEPT", "Section", "9", ".", "2", ".", "5" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1359-L1364
phaethon/kamene
kamene/contrib/gsm_um.py
cmServicePrompt
def cmServicePrompt(): """CM SERVICE PROMPT Section 9.2.5a""" a = TpPd(pd=0x5) b = MessageType(mesType=0x25) # 00100101 c = PdAndSapi() packet = a / b / c return packet
python
def cmServicePrompt(): """CM SERVICE PROMPT Section 9.2.5a""" a = TpPd(pd=0x5) b = MessageType(mesType=0x25) # 00100101 c = PdAndSapi() packet = a / b / c return packet
[ "def", "cmServicePrompt", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x25", ")", "# 00100101", "c", "=", "PdAndSapi", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return", "pa...
CM SERVICE PROMPT Section 9.2.5a
[ "CM", "SERVICE", "PROMPT", "Section", "9", ".", "2", ".", "5a" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1368-L1374
phaethon/kamene
kamene/contrib/gsm_um.py
cmServiceAbort
def cmServiceAbort(): """CM SERVICE ABORT Section 9.2.7""" a = TpPd(pd=0x5) b = MessageType(mesType=0x23) # 00100011 packet = a / b return packet
python
def cmServiceAbort(): """CM SERVICE ABORT Section 9.2.7""" a = TpPd(pd=0x5) b = MessageType(mesType=0x23) # 00100011 packet = a / b return packet
[ "def", "cmServiceAbort", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x23", ")", "# 00100011", "packet", "=", "a", "/", "b", "return", "packet" ]
CM SERVICE ABORT Section 9.2.7
[ "CM", "SERVICE", "ABORT", "Section", "9", ".", "2", ".", "7" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1387-L1392
phaethon/kamene
kamene/contrib/gsm_um.py
abort
def abort(): """ABORT Section 9.2.8""" a = TpPd(pd=0x5) b = MessageType(mesType=0x29) # 00101001 c = RejectCause() packet = a / b / c return packet
python
def abort(): """ABORT Section 9.2.8""" a = TpPd(pd=0x5) b = MessageType(mesType=0x29) # 00101001 c = RejectCause() packet = a / b / c return packet
[ "def", "abort", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x29", ")", "# 00101001", "c", "=", "RejectCause", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return", "packet" ]
ABORT Section 9.2.8
[ "ABORT", "Section", "9", ".", "2", ".", "8" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1396-L1402
phaethon/kamene
kamene/contrib/gsm_um.py
cmServiceRequest
def cmServiceRequest(PriorityLevel_presence=0): """CM SERVICE REQUEST Section 9.2.9""" a = TpPd(pd=0x5) b = MessageType(mesType=0x24) # 00100100 c = CmServiceTypeAndCiphKeySeqNr() e = MobileStationClassmark2() f = MobileId() packet = a / b / c / e / f if PriorityLevel_presence is 1: ...
python
def cmServiceRequest(PriorityLevel_presence=0): """CM SERVICE REQUEST Section 9.2.9""" a = TpPd(pd=0x5) b = MessageType(mesType=0x24) # 00100100 c = CmServiceTypeAndCiphKeySeqNr() e = MobileStationClassmark2() f = MobileId() packet = a / b / c / e / f if PriorityLevel_presence is 1: ...
[ "def", "cmServiceRequest", "(", "PriorityLevel_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x24", ")", "# 00100100", "c", "=", "CmServiceTypeAndCiphKeySeqNr", "(", ")", "e", ...
CM SERVICE REQUEST Section 9.2.9
[ "CM", "SERVICE", "REQUEST", "Section", "9", ".", "2", ".", "9" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1405-L1416
phaethon/kamene
kamene/contrib/gsm_um.py
identityRequest
def identityRequest(): """IDENTITY REQUEST Section 9.2.10""" a = TpPd(pd=0x5) b = MessageType(mesType=0x8) # 00001000 c = IdentityTypeAndSpareHalfOctets() packet = a / b / c return packet
python
def identityRequest(): """IDENTITY REQUEST Section 9.2.10""" a = TpPd(pd=0x5) b = MessageType(mesType=0x8) # 00001000 c = IdentityTypeAndSpareHalfOctets() packet = a / b / c return packet
[ "def", "identityRequest", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x8", ")", "# 00001000", "c", "=", "IdentityTypeAndSpareHalfOctets", "(", ")", "packet", "=", "a", "/", "b", "/", "c...
IDENTITY REQUEST Section 9.2.10
[ "IDENTITY", "REQUEST", "Section", "9", ".", "2", ".", "10" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1420-L1426
phaethon/kamene
kamene/contrib/gsm_um.py
imsiDetachIndication
def imsiDetachIndication(): """IMSI DETACH INDICATION Section 9.2.12""" a = TpPd(pd=0x5) b = MessageType(mesType=0x1) # 00000001 c = MobileStationClassmark1() d = MobileId() packet = a / b / c / d return packet
python
def imsiDetachIndication(): """IMSI DETACH INDICATION Section 9.2.12""" a = TpPd(pd=0x5) b = MessageType(mesType=0x1) # 00000001 c = MobileStationClassmark1() d = MobileId() packet = a / b / c / d return packet
[ "def", "imsiDetachIndication", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x1", ")", "# 00000001", "c", "=", "MobileStationClassmark1", "(", ")", "d", "=", "MobileId", "(", ")", "packet",...
IMSI DETACH INDICATION Section 9.2.12
[ "IMSI", "DETACH", "INDICATION", "Section", "9", ".", "2", ".", "12" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1438-L1445
phaethon/kamene
kamene/contrib/gsm_um.py
locationUpdatingAccept
def locationUpdatingAccept(MobileId_presence=0, FollowOnProceed_presence=0, CtsPermission_presence=0): """LOCATION UPDATING ACCEPT Section 9.2.13""" a = TpPd(pd=0x5) b = MessageType(mesType=0x02) # 00000010 c = LocalAreaId() packet = a / b / c ...
python
def locationUpdatingAccept(MobileId_presence=0, FollowOnProceed_presence=0, CtsPermission_presence=0): """LOCATION UPDATING ACCEPT Section 9.2.13""" a = TpPd(pd=0x5) b = MessageType(mesType=0x02) # 00000010 c = LocalAreaId() packet = a / b / c ...
[ "def", "locationUpdatingAccept", "(", "MobileId_presence", "=", "0", ",", "FollowOnProceed_presence", "=", "0", ",", "CtsPermission_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "...
LOCATION UPDATING ACCEPT Section 9.2.13
[ "LOCATION", "UPDATING", "ACCEPT", "Section", "9", ".", "2", ".", "13" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1449-L1466
phaethon/kamene
kamene/contrib/gsm_um.py
locationUpdatingRequest
def locationUpdatingRequest(): """LOCATION UPDATING REQUEST Section 9.2.15""" a = TpPd(pd=0x5) b = MessageType(mesType=0x8) # 00001000 c = LocationUpdatingTypeAndCiphKeySeqNr() e = LocalAreaId() f = MobileStationClassmark1() g = MobileId() packet = a / b / c / e / f / g return packe...
python
def locationUpdatingRequest(): """LOCATION UPDATING REQUEST Section 9.2.15""" a = TpPd(pd=0x5) b = MessageType(mesType=0x8) # 00001000 c = LocationUpdatingTypeAndCiphKeySeqNr() e = LocalAreaId() f = MobileStationClassmark1() g = MobileId() packet = a / b / c / e / f / g return packe...
[ "def", "locationUpdatingRequest", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x8", ")", "# 00001000", "c", "=", "LocationUpdatingTypeAndCiphKeySeqNr", "(", ")", "e", "=", "LocalAreaId", "(", ...
LOCATION UPDATING REQUEST Section 9.2.15
[ "LOCATION", "UPDATING", "REQUEST", "Section", "9", ".", "2", ".", "15" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1479-L1488
phaethon/kamene
kamene/contrib/gsm_um.py
mmInformation
def mmInformation(NetworkName_presence=0, NetworkName_presence1=0, TimeZone_presence=0, TimeZoneAndTime_presence=0, LsaIdentifier_presence=0): """MM INFORMATION Section 9.2.15a""" a = TpPd(pd=0x5) b = MessageType(mesType=0x32) # 00110010 packet = a / b if Network...
python
def mmInformation(NetworkName_presence=0, NetworkName_presence1=0, TimeZone_presence=0, TimeZoneAndTime_presence=0, LsaIdentifier_presence=0): """MM INFORMATION Section 9.2.15a""" a = TpPd(pd=0x5) b = MessageType(mesType=0x32) # 00110010 packet = a / b if Network...
[ "def", "mmInformation", "(", "NetworkName_presence", "=", "0", ",", "NetworkName_presence1", "=", "0", ",", "TimeZone_presence", "=", "0", ",", "TimeZoneAndTime_presence", "=", "0", ",", "LsaIdentifier_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd"...
MM INFORMATION Section 9.2.15a
[ "MM", "INFORMATION", "Section", "9", ".", "2", ".", "15a" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1492-L1514
phaethon/kamene
kamene/contrib/gsm_um.py
tmsiReallocationCommand
def tmsiReallocationCommand(): """TMSI REALLOCATION COMMAND Section 9.2.17""" a = TpPd(pd=0x5) b = MessageType(mesType=0x1a) # 00011010 c = LocalAreaId() d = MobileId() packet = a / b / c / d return packet
python
def tmsiReallocationCommand(): """TMSI REALLOCATION COMMAND Section 9.2.17""" a = TpPd(pd=0x5) b = MessageType(mesType=0x1a) # 00011010 c = LocalAreaId() d = MobileId() packet = a / b / c / d return packet
[ "def", "tmsiReallocationCommand", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x1a", ")", "# 00011010", "c", "=", "LocalAreaId", "(", ")", "d", "=", "MobileId", "(", ")", "packet", "=", ...
TMSI REALLOCATION COMMAND Section 9.2.17
[ "TMSI", "REALLOCATION", "COMMAND", "Section", "9", ".", "2", ".", "17" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1527-L1534
phaethon/kamene
kamene/contrib/gsm_um.py
tmsiReallocationComplete
def tmsiReallocationComplete(): """TMSI REALLOCATION COMPLETE Section 9.2.18""" a = TpPd(pd=0x5) b = MessageType(mesType=0x1b) # 00011011 packet = a / b return packet
python
def tmsiReallocationComplete(): """TMSI REALLOCATION COMPLETE Section 9.2.18""" a = TpPd(pd=0x5) b = MessageType(mesType=0x1b) # 00011011 packet = a / b return packet
[ "def", "tmsiReallocationComplete", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x1b", ")", "# 00011011", "packet", "=", "a", "/", "b", "return", "packet" ]
TMSI REALLOCATION COMPLETE Section 9.2.18
[ "TMSI", "REALLOCATION", "COMPLETE", "Section", "9", ".", "2", ".", "18" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1537-L1542
phaethon/kamene
kamene/contrib/gsm_um.py
mmNull
def mmNull(): """MM NULL Section 9.2.19""" a = TpPd(pd=0x5) b = MessageType(mesType=0x30) # 00110000 packet = a / b return packet
python
def mmNull(): """MM NULL Section 9.2.19""" a = TpPd(pd=0x5) b = MessageType(mesType=0x30) # 00110000 packet = a / b return packet
[ "def", "mmNull", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x5", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x30", ")", "# 00110000", "packet", "=", "a", "/", "b", "return", "packet" ]
MM NULL Section 9.2.19
[ "MM", "NULL", "Section", "9", ".", "2", ".", "19" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1545-L1550
phaethon/kamene
kamene/contrib/gsm_um.py
alertingNetToMs
def alertingNetToMs(Facility_presence=0, ProgressIndicator_presence=0, UserUser_presence=0): """ALERTING Section 9.3.1.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1) # 00000001 packet = a / b if Facility_presence is 1: c = FacilityHdr(ieiF=0x1C) packet = pack...
python
def alertingNetToMs(Facility_presence=0, ProgressIndicator_presence=0, UserUser_presence=0): """ALERTING Section 9.3.1.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1) # 00000001 packet = a / b if Facility_presence is 1: c = FacilityHdr(ieiF=0x1C) packet = pack...
[ "def", "alertingNetToMs", "(", "Facility_presence", "=", "0", ",", "ProgressIndicator_presence", "=", "0", ",", "UserUser_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x1", ")...
ALERTING Section 9.3.1.1
[ "ALERTING", "Section", "9", ".", "3", ".", "1", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1558-L1573
phaethon/kamene
kamene/contrib/gsm_um.py
callConfirmed
def callConfirmed(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Cause_presence=0, CallControlCapabilities_presence=0): """CALL CONFIRMED Section 9.3.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x8) # 00001000 packet = a / b ...
python
def callConfirmed(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Cause_presence=0, CallControlCapabilities_presence=0): """CALL CONFIRMED Section 9.3.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x8) # 00001000 packet = a / b ...
[ "def", "callConfirmed", "(", "RepeatIndicator_presence", "=", "0", ",", "BearerCapability_presence", "=", "0", ",", "BearerCapability_presence1", "=", "0", ",", "Cause_presence", "=", "0", ",", "CallControlCapabilities_presence", "=", "0", ")", ":", "a", "=", "TpP...
CALL CONFIRMED Section 9.3.2
[ "CALL", "CONFIRMED", "Section", "9", ".", "3", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1594-L1616
phaethon/kamene
kamene/contrib/gsm_um.py
callProceeding
def callProceeding(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Facility_presence=0, ProgressIndicator_presence=0, PriorityLevel_presence=0): """CALL PROCEEDING Section 9.3.3""" a = TpPd(pd=0x3)...
python
def callProceeding(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Facility_presence=0, ProgressIndicator_presence=0, PriorityLevel_presence=0): """CALL PROCEEDING Section 9.3.3""" a = TpPd(pd=0x3)...
[ "def", "callProceeding", "(", "RepeatIndicator_presence", "=", "0", ",", "BearerCapability_presence", "=", "0", ",", "BearerCapability_presence1", "=", "0", ",", "Facility_presence", "=", "0", ",", "ProgressIndicator_presence", "=", "0", ",", "PriorityLevel_presence", ...
CALL PROCEEDING Section 9.3.3
[ "CALL", "PROCEEDING", "Section", "9", ".", "3", ".", "3" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1620-L1647
phaethon/kamene
kamene/contrib/gsm_um.py
congestionControl
def congestionControl(Cause_presence=0): """CONGESTION CONTROL Section 9.3.4""" a = TpPd(pd=0x3) b = MessageType(mesType=0x39) # 00111001 c = CongestionLevelAndSpareHalfOctets() packet = a / b / c if Cause_presence is 1: e = CauseHdr(ieiC=0x08, eightBitC=0x0) packet = packet / e...
python
def congestionControl(Cause_presence=0): """CONGESTION CONTROL Section 9.3.4""" a = TpPd(pd=0x3) b = MessageType(mesType=0x39) # 00111001 c = CongestionLevelAndSpareHalfOctets() packet = a / b / c if Cause_presence is 1: e = CauseHdr(ieiC=0x08, eightBitC=0x0) packet = packet / e...
[ "def", "congestionControl", "(", "Cause_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x39", ")", "# 00111001", "c", "=", "CongestionLevelAndSpareHalfOctets", "(", ")", "packet",...
CONGESTION CONTROL Section 9.3.4
[ "CONGESTION", "CONTROL", "Section", "9", ".", "3", ".", "4" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1651-L1660
phaethon/kamene
kamene/contrib/gsm_um.py
connectNetToMs
def connectNetToMs(Facility_presence=0, ProgressIndicator_presence=0, ConnectedNumber_presence=0, ConnectedSubaddress_presence=0, UserUser_presence=0): """CONNECT Section 9.3.5.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x7) # 00000111 packet = a / b if Faci...
python
def connectNetToMs(Facility_presence=0, ProgressIndicator_presence=0, ConnectedNumber_presence=0, ConnectedSubaddress_presence=0, UserUser_presence=0): """CONNECT Section 9.3.5.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x7) # 00000111 packet = a / b if Faci...
[ "def", "connectNetToMs", "(", "Facility_presence", "=", "0", ",", "ProgressIndicator_presence", "=", "0", ",", "ConnectedNumber_presence", "=", "0", ",", "ConnectedSubaddress_presence", "=", "0", ",", "UserUser_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(...
CONNECT Section 9.3.5.1
[ "CONNECT", "Section", "9", ".", "3", ".", "5", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1664-L1686
phaethon/kamene
kamene/contrib/gsm_um.py
connectMsToNet
def connectMsToNet(Facility_presence=0, ConnectedSubaddress_presence=0, UserUser_presence=0, SsVersionIndicator_presence=0): """CONNECT Section 9.3.5.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x7) # 00000111 packet = a / b if Facility_presence is 1: c = FacilityHdr(ie...
python
def connectMsToNet(Facility_presence=0, ConnectedSubaddress_presence=0, UserUser_presence=0, SsVersionIndicator_presence=0): """CONNECT Section 9.3.5.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x7) # 00000111 packet = a / b if Facility_presence is 1: c = FacilityHdr(ie...
[ "def", "connectMsToNet", "(", "Facility_presence", "=", "0", ",", "ConnectedSubaddress_presence", "=", "0", ",", "UserUser_presence", "=", "0", ",", "SsVersionIndicator_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", ...
CONNECT Section 9.3.5.2
[ "CONNECT", "Section", "9", ".", "3", ".", "5", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1689-L1707
phaethon/kamene
kamene/contrib/gsm_um.py
connectAcknowledge
def connectAcknowledge(): """CONNECT ACKNOWLEDGE Section 9.3.6""" a = TpPd(pd=0x3) b = MessageType(mesType=0xf) # 00001111 packet = a / b return packet
python
def connectAcknowledge(): """CONNECT ACKNOWLEDGE Section 9.3.6""" a = TpPd(pd=0x3) b = MessageType(mesType=0xf) # 00001111 packet = a / b return packet
[ "def", "connectAcknowledge", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0xf", ")", "# 00001111", "packet", "=", "a", "/", "b", "return", "packet" ]
CONNECT ACKNOWLEDGE Section 9.3.6
[ "CONNECT", "ACKNOWLEDGE", "Section", "9", ".", "3", ".", "6" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1710-L1715
phaethon/kamene
kamene/contrib/gsm_um.py
disconnectNetToMs
def disconnectNetToMs(Facility_presence=0, ProgressIndicator_presence=0, UserUser_presence=0, AllowedActions_presence=0): """DISCONNECT Section 9.3.7.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x25) # 00100101 c = Cause() packet = a / b / c if Facility_presence is 1: ...
python
def disconnectNetToMs(Facility_presence=0, ProgressIndicator_presence=0, UserUser_presence=0, AllowedActions_presence=0): """DISCONNECT Section 9.3.7.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x25) # 00100101 c = Cause() packet = a / b / c if Facility_presence is 1: ...
[ "def", "disconnectNetToMs", "(", "Facility_presence", "=", "0", ",", "ProgressIndicator_presence", "=", "0", ",", "UserUser_presence", "=", "0", ",", "AllowedActions_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "Me...
DISCONNECT Section 9.3.7.1
[ "DISCONNECT", "Section", "9", ".", "3", ".", "7", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1719-L1738
phaethon/kamene
kamene/contrib/gsm_um.py
disconnectMsToNet
def disconnectMsToNet(Facility_presence=0, UserUser_presence=0, SsVersionIndicator_presence=0): """Disconnect Section 9.3.7.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x25) # 00100101 c = Cause() packet = a / b / c if Facility_presence is 1: d = FacilityHdr(ieiF...
python
def disconnectMsToNet(Facility_presence=0, UserUser_presence=0, SsVersionIndicator_presence=0): """Disconnect Section 9.3.7.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x25) # 00100101 c = Cause() packet = a / b / c if Facility_presence is 1: d = FacilityHdr(ieiF...
[ "def", "disconnectMsToNet", "(", "Facility_presence", "=", "0", ",", "UserUser_presence", "=", "0", ",", "SsVersionIndicator_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x25", ...
Disconnect Section 9.3.7.2
[ "Disconnect", "Section", "9", ".", "3", ".", "7", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1741-L1757
phaethon/kamene
kamene/contrib/gsm_um.py
emergencySetup
def emergencySetup(BearerCapability_presence=0): """EMERGENCY SETUP Section 9.3.8""" a = TpPd(pd=0x3) b = MessageType(mesType=0xe) # 00001110 packet = a / b if BearerCapability_presence is 1: c = BearerCapabilityHdr(ieiBC=0x04, eightBitBC=0x0) packet = packet / c return packet
python
def emergencySetup(BearerCapability_presence=0): """EMERGENCY SETUP Section 9.3.8""" a = TpPd(pd=0x3) b = MessageType(mesType=0xe) # 00001110 packet = a / b if BearerCapability_presence is 1: c = BearerCapabilityHdr(ieiBC=0x04, eightBitBC=0x0) packet = packet / c return packet
[ "def", "emergencySetup", "(", "BearerCapability_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0xe", ")", "# 00001110", "packet", "=", "a", "/", "b", "if", "BearerCapability_pre...
EMERGENCY SETUP Section 9.3.8
[ "EMERGENCY", "SETUP", "Section", "9", ".", "3", ".", "8" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1760-L1768
phaethon/kamene
kamene/contrib/gsm_um.py
facilityNetToMs
def facilityNetToMs(): """FACILITY Section 9.3.9.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3a) # 00111010 c = Facility() packet = a / b / c return packet
python
def facilityNetToMs(): """FACILITY Section 9.3.9.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3a) # 00111010 c = Facility() packet = a / b / c return packet
[ "def", "facilityNetToMs", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x3a", ")", "# 00111010", "c", "=", "Facility", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return", "pac...
FACILITY Section 9.3.9.1
[ "FACILITY", "Section", "9", ".", "3", ".", "9", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1772-L1778
phaethon/kamene
kamene/contrib/gsm_um.py
facilityMsToNet
def facilityMsToNet(SsVersionIndicator_presence=0): """FACILITY Section 9.3.9.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3a) # 00111010 c = Facility() packet = a / b / c if SsVersionIndicator_presence is 1: d = SsVersionIndicatorHdr(ieiSVI=0x7F, eightBitSVI=0x0) packet = pa...
python
def facilityMsToNet(SsVersionIndicator_presence=0): """FACILITY Section 9.3.9.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3a) # 00111010 c = Facility() packet = a / b / c if SsVersionIndicator_presence is 1: d = SsVersionIndicatorHdr(ieiSVI=0x7F, eightBitSVI=0x0) packet = pa...
[ "def", "facilityMsToNet", "(", "SsVersionIndicator_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x3a", ")", "# 00111010", "c", "=", "Facility", "(", ")", "packet", "=", "a",...
FACILITY Section 9.3.9.2
[ "FACILITY", "Section", "9", ".", "3", ".", "9", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1781-L1790
phaethon/kamene
kamene/contrib/gsm_um.py
hold
def hold(): """HOLD Section 9.3.10""" a = TpPd(pd=0x3) b = MessageType(mesType=0x18) # 00011000 packet = a / b return packet
python
def hold(): """HOLD Section 9.3.10""" a = TpPd(pd=0x3) b = MessageType(mesType=0x18) # 00011000 packet = a / b return packet
[ "def", "hold", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x18", ")", "# 00011000", "packet", "=", "a", "/", "b", "return", "packet" ]
HOLD Section 9.3.10
[ "HOLD", "Section", "9", ".", "3", ".", "10" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1793-L1798
phaethon/kamene
kamene/contrib/gsm_um.py
holdAcknowledge
def holdAcknowledge(): """HOLD ACKNOWLEDGE Section 9.3.11""" a = TpPd(pd=0x3) b = MessageType(mesType=0x19) # 00011001 packet = a / b return packet
python
def holdAcknowledge(): """HOLD ACKNOWLEDGE Section 9.3.11""" a = TpPd(pd=0x3) b = MessageType(mesType=0x19) # 00011001 packet = a / b return packet
[ "def", "holdAcknowledge", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x19", ")", "# 00011001", "packet", "=", "a", "/", "b", "return", "packet" ]
HOLD ACKNOWLEDGE Section 9.3.11
[ "HOLD", "ACKNOWLEDGE", "Section", "9", ".", "3", ".", "11" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1802-L1807
phaethon/kamene
kamene/contrib/gsm_um.py
modify
def modify(LowLayerCompatibility_presence=0, HighLayerCompatibility_presence=0, ReverseCallSetupDirection_presence=0): """MODIFY Section 9.3.13""" a = TpPd(pd=0x3) b = MessageType(mesType=0x17) # 00010111 c = BearerCapability() packet = a / b / c if LowLayerCompatibility_p...
python
def modify(LowLayerCompatibility_presence=0, HighLayerCompatibility_presence=0, ReverseCallSetupDirection_presence=0): """MODIFY Section 9.3.13""" a = TpPd(pd=0x3) b = MessageType(mesType=0x17) # 00010111 c = BearerCapability() packet = a / b / c if LowLayerCompatibility_p...
[ "def", "modify", "(", "LowLayerCompatibility_presence", "=", "0", ",", "HighLayerCompatibility_presence", "=", "0", ",", "ReverseCallSetupDirection_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesT...
MODIFY Section 9.3.13
[ "MODIFY", "Section", "9", ".", "3", ".", "13" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1820-L1837
phaethon/kamene
kamene/contrib/gsm_um.py
modifyReject
def modifyReject(LowLayerCompatibility_presence=0, HighLayerCompatibility_presence=0): """MODIFY REJECT Section 9.3.15""" a = TpPd(pd=0x3) b = MessageType(mesType=0x13) # 00010011 c = BearerCapability() d = Cause() packet = a / b / c / d if LowLayerCompatibility_presence is...
python
def modifyReject(LowLayerCompatibility_presence=0, HighLayerCompatibility_presence=0): """MODIFY REJECT Section 9.3.15""" a = TpPd(pd=0x3) b = MessageType(mesType=0x13) # 00010011 c = BearerCapability() d = Cause() packet = a / b / c / d if LowLayerCompatibility_presence is...
[ "def", "modifyReject", "(", "LowLayerCompatibility_presence", "=", "0", ",", "HighLayerCompatibility_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x13", ")", "# 00010011", "c", ...
MODIFY REJECT Section 9.3.15
[ "MODIFY", "REJECT", "Section", "9", ".", "3", ".", "15" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1860-L1874
phaethon/kamene
kamene/contrib/gsm_um.py
notify
def notify(): """NOTIFY Section 9.3.16""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3e) # 00111110 c = NotificationIndicator() packet = a / b / c return packet
python
def notify(): """NOTIFY Section 9.3.16""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3e) # 00111110 c = NotificationIndicator() packet = a / b / c return packet
[ "def", "notify", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x3e", ")", "# 00111110", "c", "=", "NotificationIndicator", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return", ...
NOTIFY Section 9.3.16
[ "NOTIFY", "Section", "9", ".", "3", ".", "16" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1877-L1883
phaethon/kamene
kamene/contrib/gsm_um.py
progress
def progress(UserUser_presence=0): """PROGRESS Section 9.3.17""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3) # 00000011 c = ProgressIndicator() packet = a / b / c if UserUser_presence is 1: d = UserUserHdr() packet = packet / d return packet
python
def progress(UserUser_presence=0): """PROGRESS Section 9.3.17""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3) # 00000011 c = ProgressIndicator() packet = a / b / c if UserUser_presence is 1: d = UserUserHdr() packet = packet / d return packet
[ "def", "progress", "(", "UserUser_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x3", ")", "# 00000011", "c", "=", "ProgressIndicator", "(", ")", "packet", "=", "a", "/", ...
PROGRESS Section 9.3.17
[ "PROGRESS", "Section", "9", ".", "3", ".", "17" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1887-L1896
phaethon/kamene
kamene/contrib/gsm_um.py
ccEstablishment
def ccEstablishment(): """CC-ESTABLISHMENT Section 9.3.17a""" a = TpPd(pd=0x3) b = MessageType(mesType=0x4) # 00000100 c = SetupContainer() packet = a / b / c return packet
python
def ccEstablishment(): """CC-ESTABLISHMENT Section 9.3.17a""" a = TpPd(pd=0x3) b = MessageType(mesType=0x4) # 00000100 c = SetupContainer() packet = a / b / c return packet
[ "def", "ccEstablishment", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x4", ")", "# 00000100", "c", "=", "SetupContainer", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return", ...
CC-ESTABLISHMENT Section 9.3.17a
[ "CC", "-", "ESTABLISHMENT", "Section", "9", ".", "3", ".", "17a" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1900-L1906
phaethon/kamene
kamene/contrib/gsm_um.py
ccEstablishmentConfirmed
def ccEstablishmentConfirmed(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Cause_presence=0): """CC-ESTABLISHMENT CONFIRMED Section 9.3.17b""" a = TpPd(pd=0x3) b = MessageType(mesT...
python
def ccEstablishmentConfirmed(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Cause_presence=0): """CC-ESTABLISHMENT CONFIRMED Section 9.3.17b""" a = TpPd(pd=0x3) b = MessageType(mesT...
[ "def", "ccEstablishmentConfirmed", "(", "RepeatIndicator_presence", "=", "0", ",", "BearerCapability_presence", "=", "0", ",", "BearerCapability_presence1", "=", "0", ",", "Cause_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b",...
CC-ESTABLISHMENT CONFIRMED Section 9.3.17b
[ "CC", "-", "ESTABLISHMENT", "CONFIRMED", "Section", "9", ".", "3", ".", "17b" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1909-L1929
phaethon/kamene
kamene/contrib/gsm_um.py
releaseNetToMs
def releaseNetToMs(): """RELEASE Section 9.3.18.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2d) # 00101101 c = CauseHdr(ieiC=0x08, eightBitC=0x0) d = CauseHdr(ieiC=0x08, eightBitC=0x0) e = FacilityHdr(ieiF=0x1C, eightBitF=0x0) f = UserUserHdr(ieiUU=0x7E, eightBitUU=0x0) packet = a /...
python
def releaseNetToMs(): """RELEASE Section 9.3.18.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2d) # 00101101 c = CauseHdr(ieiC=0x08, eightBitC=0x0) d = CauseHdr(ieiC=0x08, eightBitC=0x0) e = FacilityHdr(ieiF=0x1C, eightBitF=0x0) f = UserUserHdr(ieiUU=0x7E, eightBitUU=0x0) packet = a /...
[ "def", "releaseNetToMs", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x2d", ")", "# 00101101", "c", "=", "CauseHdr", "(", "ieiC", "=", "0x08", ",", "eightBitC", "=", "0x0", ")", "d", ...
RELEASE Section 9.3.18.1
[ "RELEASE", "Section", "9", ".", "3", ".", "18", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1933-L1942
phaethon/kamene
kamene/contrib/gsm_um.py
recall
def recall(): """RECALL Section 9.3.18a""" a = TpPd(pd=0x3) b = MessageType(mesType=0xb) # 00001011 c = RecallType() d = Facility() packet = a / b / c / d return packet
python
def recall(): """RECALL Section 9.3.18a""" a = TpPd(pd=0x3) b = MessageType(mesType=0xb) # 00001011 c = RecallType() d = Facility() packet = a / b / c / d return packet
[ "def", "recall", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0xb", ")", "# 00001011", "c", "=", "RecallType", "(", ")", "d", "=", "Facility", "(", ")", "packet", "=", "a", "/", "b"...
RECALL Section 9.3.18a
[ "RECALL", "Section", "9", ".", "3", ".", "18a" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1971-L1978
phaethon/kamene
kamene/contrib/gsm_um.py
releaseCompleteNetToMs
def releaseCompleteNetToMs(Cause_presence=0, Facility_presence=0, UserUser_presence=0): """RELEASE COMPLETE Section 9.3.19.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2a) # 00101010 packet = a / b if Cause_presence is 1: c = CauseHdr(ieiC=0x08, eightBitC=0x0) ...
python
def releaseCompleteNetToMs(Cause_presence=0, Facility_presence=0, UserUser_presence=0): """RELEASE COMPLETE Section 9.3.19.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2a) # 00101010 packet = a / b if Cause_presence is 1: c = CauseHdr(ieiC=0x08, eightBitC=0x0) ...
[ "def", "releaseCompleteNetToMs", "(", "Cause_presence", "=", "0", ",", "Facility_presence", "=", "0", ",", "UserUser_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x2a", ")", ...
RELEASE COMPLETE Section 9.3.19.1
[ "RELEASE", "COMPLETE", "Section", "9", ".", "3", ".", "19", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L1982-L1997
phaethon/kamene
kamene/contrib/gsm_um.py
releaseCompleteMsToNet
def releaseCompleteMsToNet(Cause_presence=0, Facility_presence=0, UserUser_presence=0, SsVersionIndicator_presence=0): """RELEASE COMPLETE Section 9.3.19.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2a) # 00101010 packet = a / b if Cause_presence is 1: c = Caus...
python
def releaseCompleteMsToNet(Cause_presence=0, Facility_presence=0, UserUser_presence=0, SsVersionIndicator_presence=0): """RELEASE COMPLETE Section 9.3.19.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2a) # 00101010 packet = a / b if Cause_presence is 1: c = Caus...
[ "def", "releaseCompleteMsToNet", "(", "Cause_presence", "=", "0", ",", "Facility_presence", "=", "0", ",", "UserUser_presence", "=", "0", ",", "SsVersionIndicator_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "Messa...
RELEASE COMPLETE Section 9.3.19.2
[ "RELEASE", "COMPLETE", "Section", "9", ".", "3", ".", "19", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2000-L2018
phaethon/kamene
kamene/contrib/gsm_um.py
retrieve
def retrieve(): """RETRIEVE Section 9.3.20""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1c) # 00011100 packet = a / b return packet
python
def retrieve(): """RETRIEVE Section 9.3.20""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1c) # 00011100 packet = a / b return packet
[ "def", "retrieve", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x1c", ")", "# 00011100", "packet", "=", "a", "/", "b", "return", "packet" ]
RETRIEVE Section 9.3.20
[ "RETRIEVE", "Section", "9", ".", "3", ".", "20" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2021-L2026
phaethon/kamene
kamene/contrib/gsm_um.py
retrieveAcknowledge
def retrieveAcknowledge(): """RETRIEVE ACKNOWLEDGE Section 9.3.21""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1d) # 00011101 packet = a / b return packet
python
def retrieveAcknowledge(): """RETRIEVE ACKNOWLEDGE Section 9.3.21""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1d) # 00011101 packet = a / b return packet
[ "def", "retrieveAcknowledge", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x1d", ")", "# 00011101", "packet", "=", "a", "/", "b", "return", "packet" ]
RETRIEVE ACKNOWLEDGE Section 9.3.21
[ "RETRIEVE", "ACKNOWLEDGE", "Section", "9", ".", "3", ".", "21" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2030-L2035
phaethon/kamene
kamene/contrib/gsm_um.py
setupMobileTerminated
def setupMobileTerminated(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Facility_presence=0, ProgressIndicator_presence=0, Signal_presence=0, Calling...
python
def setupMobileTerminated(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Facility_presence=0, ProgressIndicator_presence=0, Signal_presence=0, Calling...
[ "def", "setupMobileTerminated", "(", "RepeatIndicator_presence", "=", "0", ",", "BearerCapability_presence", "=", "0", ",", "BearerCapability_presence1", "=", "0", ",", "Facility_presence", "=", "0", ",", "ProgressIndicator_presence", "=", "0", ",", "Signal_presence", ...
SETUP Section 9.3.23.1
[ "SETUP", "Section", "9", ".", "3", ".", "23", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2049-L2136
phaethon/kamene
kamene/contrib/gsm_um.py
setupMobileOriginated
def setupMobileOriginated(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Facility_presence=0, CallingPartySubaddress_presence=0, CalledPartyBcdNumber_...
python
def setupMobileOriginated(RepeatIndicator_presence=0, BearerCapability_presence=0, BearerCapability_presence1=0, Facility_presence=0, CallingPartySubaddress_presence=0, CalledPartyBcdNumber_...
[ "def", "setupMobileOriginated", "(", "RepeatIndicator_presence", "=", "0", ",", "BearerCapability_presence", "=", "0", ",", "BearerCapability_presence1", "=", "0", ",", "Facility_presence", "=", "0", ",", "CallingPartySubaddress_presence", "=", "0", ",", "CalledPartyBcd...
SETUP Section 9.3.23.2
[ "SETUP", "Section", "9", ".", "3", ".", "23", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2139-L2222
phaethon/kamene
kamene/contrib/gsm_um.py
startCc
def startCc(CallControlCapabilities_presence=0): """START CC Section 9.3.23a""" a = TpPd(pd=0x3) b = MessageType(mesType=0x9) # 00001001 packet = a / b if CallControlCapabilities_presence is 1: c = CallControlCapabilitiesHdr(ieiCCC=0x15, eightBitCCC=0x0) packet = paclet / c retu...
python
def startCc(CallControlCapabilities_presence=0): """START CC Section 9.3.23a""" a = TpPd(pd=0x3) b = MessageType(mesType=0x9) # 00001001 packet = a / b if CallControlCapabilities_presence is 1: c = CallControlCapabilitiesHdr(ieiCCC=0x15, eightBitCCC=0x0) packet = paclet / c retu...
[ "def", "startCc", "(", "CallControlCapabilities_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x9", ")", "# 00001001", "packet", "=", "a", "/", "b", "if", "CallControlCapabilit...
START CC Section 9.3.23a
[ "START", "CC", "Section", "9", ".", "3", ".", "23a" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2225-L2233
phaethon/kamene
kamene/contrib/gsm_um.py
startDtmf
def startDtmf(): """START DTMF Section 9.3.24""" a = TpPd(pd=0x3) b = MessageType(mesType=0x35) # 00110101 c = KeypadFacilityHdr(ieiKF=0x2C, eightBitKF=0x0) packet = a / b / c return packet
python
def startDtmf(): """START DTMF Section 9.3.24""" a = TpPd(pd=0x3) b = MessageType(mesType=0x35) # 00110101 c = KeypadFacilityHdr(ieiKF=0x2C, eightBitKF=0x0) packet = a / b / c return packet
[ "def", "startDtmf", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x35", ")", "# 00110101", "c", "=", "KeypadFacilityHdr", "(", "ieiKF", "=", "0x2C", ",", "eightBitKF", "=", "0x0", ")", ...
START DTMF Section 9.3.24
[ "START", "DTMF", "Section", "9", ".", "3", ".", "24" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2236-L2242
phaethon/kamene
kamene/contrib/gsm_um.py
startDtmfReject
def startDtmfReject(): """ START DTMF REJECT Section 9.3.26""" a = TpPd(pd=0x3) b = MessageType(mesType=0x37) # 00110111 c = Cause() packet = a / b / c return packet
python
def startDtmfReject(): """ START DTMF REJECT Section 9.3.26""" a = TpPd(pd=0x3) b = MessageType(mesType=0x37) # 00110111 c = Cause() packet = a / b / c return packet
[ "def", "startDtmfReject", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x37", ")", "# 00110111", "c", "=", "Cause", "(", ")", "packet", "=", "a", "/", "b", "/", "c", "return", "packet...
START DTMF REJECT Section 9.3.26
[ "START", "DTMF", "REJECT", "Section", "9", ".", "3", ".", "26" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2256-L2262
phaethon/kamene
kamene/contrib/gsm_um.py
status
def status(AuxiliaryStates_presence=0): """STATUS Section 9.3.27""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3d) # 00111101 c = Cause() d = CallState() packet = a / b / c / d if AuxiliaryStates_presence is 1: e = AuxiliaryStatesHdr(ieiAS=0x24, eightBitAS=0x0) packet = pack...
python
def status(AuxiliaryStates_presence=0): """STATUS Section 9.3.27""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3d) # 00111101 c = Cause() d = CallState() packet = a / b / c / d if AuxiliaryStates_presence is 1: e = AuxiliaryStatesHdr(ieiAS=0x24, eightBitAS=0x0) packet = pack...
[ "def", "status", "(", "AuxiliaryStates_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x3d", ")", "# 00111101", "c", "=", "Cause", "(", ")", "d", "=", "CallState", "(", ")...
STATUS Section 9.3.27
[ "STATUS", "Section", "9", ".", "3", ".", "27" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2265-L2275
phaethon/kamene
kamene/contrib/gsm_um.py
statusEnquiry
def statusEnquiry(): """STATUS ENQUIRY Section 9.3.28""" a = TpPd(pd=0x3) b = MessageType(mesType=0x34) # 00110100 packet = a / b return packet
python
def statusEnquiry(): """STATUS ENQUIRY Section 9.3.28""" a = TpPd(pd=0x3) b = MessageType(mesType=0x34) # 00110100 packet = a / b return packet
[ "def", "statusEnquiry", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x34", ")", "# 00110100", "packet", "=", "a", "/", "b", "return", "packet" ]
STATUS ENQUIRY Section 9.3.28
[ "STATUS", "ENQUIRY", "Section", "9", ".", "3", ".", "28" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2278-L2283
phaethon/kamene
kamene/contrib/gsm_um.py
stopDtmf
def stopDtmf(): """STOP DTMF Section 9.3.29""" a = TpPd(pd=0x3) b = MessageType(mesType=0x31) # 00110001 packet = a / b return packet
python
def stopDtmf(): """STOP DTMF Section 9.3.29""" a = TpPd(pd=0x3) b = MessageType(mesType=0x31) # 00110001 packet = a / b return packet
[ "def", "stopDtmf", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x31", ")", "# 00110001", "packet", "=", "a", "/", "b", "return", "packet" ]
STOP DTMF Section 9.3.29
[ "STOP", "DTMF", "Section", "9", ".", "3", ".", "29" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2286-L2291
phaethon/kamene
kamene/contrib/gsm_um.py
stopDtmfAcknowledge
def stopDtmfAcknowledge(): """STOP DTMF ACKNOWLEDGE Section 9.3.30""" a = TpPd(pd=0x3) b = MessageType(mesType=0x32) # 00110010 packet = a / b return packet
python
def stopDtmfAcknowledge(): """STOP DTMF ACKNOWLEDGE Section 9.3.30""" a = TpPd(pd=0x3) b = MessageType(mesType=0x32) # 00110010 packet = a / b return packet
[ "def", "stopDtmfAcknowledge", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x32", ")", "# 00110010", "packet", "=", "a", "/", "b", "return", "packet" ]
STOP DTMF ACKNOWLEDGE Section 9.3.30
[ "STOP", "DTMF", "ACKNOWLEDGE", "Section", "9", ".", "3", ".", "30" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2295-L2300
phaethon/kamene
kamene/contrib/gsm_um.py
userInformation
def userInformation(MoreData_presence=0): """USER INFORMATION Section 9.3.31""" a = TpPd(pd=0x3) b = MessageType(mesType=0x20) # 000100000 c = UserUser() packet = a / b / c if MoreData_presence is 1: d = MoreDataHdr(ieiMD=0xA0, eightBitMD=0x0) packet = packet / d return pack...
python
def userInformation(MoreData_presence=0): """USER INFORMATION Section 9.3.31""" a = TpPd(pd=0x3) b = MessageType(mesType=0x20) # 000100000 c = UserUser() packet = a / b / c if MoreData_presence is 1: d = MoreDataHdr(ieiMD=0xA0, eightBitMD=0x0) packet = packet / d return pack...
[ "def", "userInformation", "(", "MoreData_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x20", ")", "# 000100000", "c", "=", "UserUser", "(", ")", "packet", "=", "a", "/", ...
USER INFORMATION Section 9.3.31
[ "USER", "INFORMATION", "Section", "9", ".", "3", ".", "31" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2303-L2312
phaethon/kamene
kamene/contrib/gsm_um.py
attachRequest
def attachRequest(PTmsiSignature_presence=0, GprsTimer_presence=0, TmsiStatus_presence=0): """ATTACH REQUEST Section 9.4.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1) # 0000001 c = MsNetworkCapability() d = AttachTypeAndCiphKeySeqNr() f = DrxParameter() g = MobileId()...
python
def attachRequest(PTmsiSignature_presence=0, GprsTimer_presence=0, TmsiStatus_presence=0): """ATTACH REQUEST Section 9.4.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x1) # 0000001 c = MsNetworkCapability() d = AttachTypeAndCiphKeySeqNr() f = DrxParameter() g = MobileId()...
[ "def", "attachRequest", "(", "PTmsiSignature_presence", "=", "0", ",", "GprsTimer_presence", "=", "0", ",", "TmsiStatus_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x1", ")",...
ATTACH REQUEST Section 9.4.1
[ "ATTACH", "REQUEST", "Section", "9", ".", "4", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2319-L2340
phaethon/kamene
kamene/contrib/gsm_um.py
attachAccept
def attachAccept(PTmsiSignature_presence=0, GprsTimer_presence=0, MobileId_presence=0, MobileId_presence1=0, GmmCause_presence=0): """ATTACH ACCEPT Section 9.4.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2) # 00000010 c = AttachResult() d = ForceToStandby() ...
python
def attachAccept(PTmsiSignature_presence=0, GprsTimer_presence=0, MobileId_presence=0, MobileId_presence1=0, GmmCause_presence=0): """ATTACH ACCEPT Section 9.4.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x2) # 00000010 c = AttachResult() d = ForceToStandby() ...
[ "def", "attachAccept", "(", "PTmsiSignature_presence", "=", "0", ",", "GprsTimer_presence", "=", "0", ",", "MobileId_presence", "=", "0", ",", "MobileId_presence1", "=", "0", ",", "GmmCause_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "...
ATTACH ACCEPT Section 9.4.2
[ "ATTACH", "ACCEPT", "Section", "9", ".", "4", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2343-L2370
phaethon/kamene
kamene/contrib/gsm_um.py
attachComplete
def attachComplete(): """ATTACH COMPLETE Section 9.4.3""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3) # 00000011 packet = a / b return packet
python
def attachComplete(): """ATTACH COMPLETE Section 9.4.3""" a = TpPd(pd=0x3) b = MessageType(mesType=0x3) # 00000011 packet = a / b return packet
[ "def", "attachComplete", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x3", ")", "# 00000011", "packet", "=", "a", "/", "b", "return", "packet" ]
ATTACH COMPLETE Section 9.4.3
[ "ATTACH", "COMPLETE", "Section", "9", ".", "4", ".", "3" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2373-L2378
phaethon/kamene
kamene/contrib/gsm_um.py
detachRequest
def detachRequest(GmmCause_presence=0): """DETACH REQUEST Section 9.4.5""" a = TpPd(pd=0x3) b = MessageType(mesType=0x5) # 00000101 c = DetachTypeAndForceToStandby() packet = a / b / c if GmmCause_presence is 1: e = GmmCause(ieiGC=0x25) packet = packet / e return packet
python
def detachRequest(GmmCause_presence=0): """DETACH REQUEST Section 9.4.5""" a = TpPd(pd=0x3) b = MessageType(mesType=0x5) # 00000101 c = DetachTypeAndForceToStandby() packet = a / b / c if GmmCause_presence is 1: e = GmmCause(ieiGC=0x25) packet = packet / e return packet
[ "def", "detachRequest", "(", "GmmCause_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x5", ")", "# 00000101", "c", "=", "DetachTypeAndForceToStandby", "(", ")", "packet", "=", ...
DETACH REQUEST Section 9.4.5
[ "DETACH", "REQUEST", "Section", "9", ".", "4", ".", "5" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2390-L2399
phaethon/kamene
kamene/contrib/gsm_um.py
detachRequestMsOriginating
def detachRequestMsOriginating(): """DETACH REQUEST Section 9.4.5.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x5) # 00000101 c = DetachTypeAndSpareHalfOctets() packet = a / b / c return packet
python
def detachRequestMsOriginating(): """DETACH REQUEST Section 9.4.5.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x5) # 00000101 c = DetachTypeAndSpareHalfOctets() packet = a / b / c return packet
[ "def", "detachRequestMsOriginating", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x5", ")", "# 00000101", "c", "=", "DetachTypeAndSpareHalfOctets", "(", ")", "packet", "=", "a", "/", "b", ...
DETACH REQUEST Section 9.4.5.2
[ "DETACH", "REQUEST", "Section", "9", ".", "4", ".", "5", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2402-L2408
phaethon/kamene
kamene/contrib/gsm_um.py
detachAcceptMsTerminated
def detachAcceptMsTerminated(): """DETACH ACCEPT Section 9.4.6.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x6) # 00000110 packet = a / b return packet
python
def detachAcceptMsTerminated(): """DETACH ACCEPT Section 9.4.6.1""" a = TpPd(pd=0x3) b = MessageType(mesType=0x6) # 00000110 packet = a / b return packet
[ "def", "detachAcceptMsTerminated", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x6", ")", "# 00000110", "packet", "=", "a", "/", "b", "return", "packet" ]
DETACH ACCEPT Section 9.4.6.1
[ "DETACH", "ACCEPT", "Section", "9", ".", "4", ".", "6", ".", "1" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2411-L2416
phaethon/kamene
kamene/contrib/gsm_um.py
detachAcceptMsOriginating
def detachAcceptMsOriginating(): """DETACH ACCEPT Section 9.4.6.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x6) # 00000110 c = ForceToStandbyAndSpareHalfOctets() packet = a / b / c return packet
python
def detachAcceptMsOriginating(): """DETACH ACCEPT Section 9.4.6.2""" a = TpPd(pd=0x3) b = MessageType(mesType=0x6) # 00000110 c = ForceToStandbyAndSpareHalfOctets() packet = a / b / c return packet
[ "def", "detachAcceptMsOriginating", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x6", ")", "# 00000110", "c", "=", "ForceToStandbyAndSpareHalfOctets", "(", ")", "packet", "=", "a", "/", "b",...
DETACH ACCEPT Section 9.4.6.2
[ "DETACH", "ACCEPT", "Section", "9", ".", "4", ".", "6", ".", "2" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2419-L2425
phaethon/kamene
kamene/contrib/gsm_um.py
ptmsiReallocationCommand
def ptmsiReallocationCommand(PTmsiSignature_presence=0): """P-TMSI REALLOCATION COMMAND Section 9.4.7""" a = TpPd(pd=0x3) b = MessageType(mesType=0x10) # 00010000 c = MobileId() d = RoutingAreaIdentification() e = ForceToStandbyAndSpareHalfOctets() packet = a / b / c / d / e if PTmsiSig...
python
def ptmsiReallocationCommand(PTmsiSignature_presence=0): """P-TMSI REALLOCATION COMMAND Section 9.4.7""" a = TpPd(pd=0x3) b = MessageType(mesType=0x10) # 00010000 c = MobileId() d = RoutingAreaIdentification() e = ForceToStandbyAndSpareHalfOctets() packet = a / b / c / d / e if PTmsiSig...
[ "def", "ptmsiReallocationCommand", "(", "PTmsiSignature_presence", "=", "0", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x10", ")", "# 00010000", "c", "=", "MobileId", "(", ")", "d", "=", "Rou...
P-TMSI REALLOCATION COMMAND Section 9.4.7
[ "P", "-", "TMSI", "REALLOCATION", "COMMAND", "Section", "9", ".", "4", ".", "7" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2428-L2439
phaethon/kamene
kamene/contrib/gsm_um.py
ptmsiReallocationComplete
def ptmsiReallocationComplete(): """P-TMSI REALLOCATION COMPLETE Section 9.4.8""" a = TpPd(pd=0x3) b = MessageType(mesType=0x11) # 00010001 packet = a / b return packet
python
def ptmsiReallocationComplete(): """P-TMSI REALLOCATION COMPLETE Section 9.4.8""" a = TpPd(pd=0x3) b = MessageType(mesType=0x11) # 00010001 packet = a / b return packet
[ "def", "ptmsiReallocationComplete", "(", ")", ":", "a", "=", "TpPd", "(", "pd", "=", "0x3", ")", "b", "=", "MessageType", "(", "mesType", "=", "0x11", ")", "# 00010001", "packet", "=", "a", "/", "b", "return", "packet" ]
P-TMSI REALLOCATION COMPLETE Section 9.4.8
[ "P", "-", "TMSI", "REALLOCATION", "COMPLETE", "Section", "9", ".", "4", ".", "8" ]
train
https://github.com/phaethon/kamene/blob/11d4064844f4f68ac5d7546f5633ac7d02082914/kamene/contrib/gsm_um.py#L2442-L2447