Welcome to pyosmocom¶
Within the Osmocom (Open Source Mobile Communciations) project family, there have been a number of implementations of key protocols or interfaces in the C language, and occasionally also Erlang.
This repository contains python implementation of key Osmocom related library code, like
utilities for common problems found in mobile communications
TLV parsers/encoders
helpers for ‘construct’ based encoders/decoders
Table of Contents¶
- osmocom.utils
- osmocom.construct
Asn1DerInteger
BcdAdapter
BitsRFU()
BytesRFU()
DnsAdapter
GreedyInteger
GsmOrUcs2Adapter
GsmOrUcs2String()
GsmString()
GsmStringAdapter
HexAdapter
InvertAdapter
Ipv4Adapter
Ipv6Adapter
MultiplyAdapter
PaddedBcdAdapter
PlmnAdapter
Rpad
StripTrailerAdapter
Ucs2Adapter
Utf8Adapter
build_construct()
filter_dict()
normalize_construct()
parse_construct()
- osmocom.tlv
BER_TLV_IE
COMPACT_TLV_IE
COMPR_TLV_IE
ComprTlvMeta
DGI_TLV_IE
IE
TLV_IE
TLV_IE_Collection
TlvCollectionMeta
TlvMeta
Transcodable
bertlv_encode_len()
bertlv_encode_tag()
bertlv_parse_len()
bertlv_parse_one()
bertlv_parse_one_rawtag()
bertlv_parse_tag()
bertlv_parse_tag_raw()
bertlv_return_one_rawtlv()
comprehensiontlv_encode_tag()
comprehensiontlv_parse_one()
comprehensiontlv_parse_tag()
comprehensiontlv_parse_tag_raw()
dgi_encode_len()
dgi_parse_len()
flatten_dict_lists()
- osmocom.gsmtap
- osmocom.gsup
GSUP_TLV_IE
GsupMessage
MsgType
tlv
tlv.AnApdu
tlv.AuthTuple
tlv.CancelType
tlv.Cause
tlv.CauseBssap
tlv.CauseRr
tlv.CauseSm
tlv.CnDomain
tlv.CurrentRatType
tlv.DestinationName
tlv.FreezePTMSI
tlv.HlrNumber
tlv.IMEI
tlv.IMSI
tlv.IeCollection
tlv.ImeiCheckResult
tlv.MSISDN
tlv.MessageClass
tlv.NumVectorsReq
tlv.PCO
tlv.PdpInfo
tlv.PdpInfoCompl
tlv.SessionId
tlv.SessionState
tlv.SmAlert
tlv.SmRpCause
tlv.SmRpDa
tlv.SmRpMms
tlv.SmRpMr
tlv.SmRpOa
tlv.SmRpUi
tlv.SourceName
tlv.SupplementaryServiceInfo
tlv.SupportedRatTypes
tlv.auth
tlv.pdp