Searched refs:cid_string (Results 1 – 1 of 1) sorted by relevance
123 def to_carrier_id(cid_string): argument126 if 'SPN=' in cid_string:127 ind = cid_string.find('SPN=')128 cid.mcc_mnc = cid_string[:ind]129 cid.spn = cid_string[ind + len('SPN='):]130 elif 'IMSI=' in cid_string:131 ind = cid_string.find('IMSI=')132 cid.mcc_mnc = cid_string[:ind]133 cid.imsi = cid_string[ind + len('IMSI='):]134 elif 'GID1=' in cid_string:[all …]