This repository has been archived by the owner on May 11, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic multi-sim and no-sim support
Changes include * change format of countries.json & modify other files accordingly * ask user for mcc/mnc if unknown * ask user to select sim-card if he has multiple sim-cars The new format seems more appropriate & flexible, an example being the usage of mccs as keys in the old format (mccs are not guaranteed to be unique per country) The new format is: [{"code": iso, "full": fullname, "prefix": +pre, "carriers": {carrier_name: [{"mcc": mcc, "mnc": mnc}, ..], ...}}, ...] A tool to create this file from a csv-list is added to /tools/create_countries_json.py, and the other files have been changed accordingly. The user is asked for mcc/mnc if 1. He does not have a sim-card inserted or 2. The selected (or only) sim-card is not associated with the selected country
- Loading branch information