![]() Please report any bugs or feature requests to bug-data-meid at rt., or through the web interface at. If we have a MEID that looks bad, then return 0. Return the serial number in Hex form from the MEID. Return the serial number in Decimal form from the MEID. Return the manufacturer code in Hex form from the MEID. Return the manufacturer code in Decimal form from the MEID. Use Data::ESN if Decimal ESN's are needed. meid_to_pesnĬalculate the pESN ( Pseudo ESN ) from Decimal or Hex MEID. If a Decimal MEID is passed, a Decimal check digit is returned. If a Hex MEID is passed, a Hex check digit is returned. For testing purposes, per the spec, AF 01 23 45 0A BC DE has a check digit of 'C'. meid_check_digitĬalculates the MEID check digit value as described in 3GPP2 X.S0008-0 v3.0. Return 1 if MEID looks like valid Decimal MEID. RR = A0 ~ FF, XXXXXX = 000000 ~ FFFFFF, ZZZZZZ = 000000 ~ FFFFFF meid_is_dec Return 1 if MEID looks like valid HEX MEID: RRXXXXXXZZZZZZ. If it doesn't match either it returns 0 meid_is_hex ![]() If it looks like a Hex ESN it returns "hex". If it looks like a Decimal MEID, it returns "dec". meid_is_validĬheck to see if a MEID is valid, either Decimal or Hex. If an invalid Hex MEID is used, it will throw a warning and return 0. ![]() meid_to_decĬonvert a Hex MEID to Decimal. If an invalid Decimal MEID is used, it will throw a warning and return 0. Serial_num_hex SUBROUTINES/METHODS meid_to_hexĬonvert a Decimal MEID to Hex. # calculate the MEID check digit using 3GPP2 X.S0008-0 v3.0 # check to see if a MEID is in proper Decimal form # check to see if a MEID is in proper Hex form # check to see if a MEID is a valid in Hex or Decimal form ![]() Data::MEID - Convert, check, and inspect mobile MEID values. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |