[PATCH v3 0/3] Clear forbidden operator list via SimManager
Sean Nyekjaer <[email protected]> Fri, 04 Jul 2025 14:23:12 +0200
| Newsgroups | dev.linux.lists.ofono |
|---|---|
| Message-ID | <[email protected]> |
IoT providers allow for enabling and disabling of operators. If the modem have detected an forbiddel operator it will block connections to that network. This will allow controlling software to clear that list. (Our IoT provider recommends to clear the list everytime we power off the modem). Clear: $ busctl call org.ofono /sim76xx_0 org.ofono.SimManager ClearForbiddenNetworkOperators --- Changes in v3: - Add check for the FPLMN list length, and clear the whole list. - Check if write_file_transparent() is implemented. - Remove unused variables. - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Created new method in SimManager called ClearForbiddenNetworkOperators - Scrapped previous Get and SetProperty options. It's to complicated to read the list, so rely on NetworkRegistration GetOperators showing the "forbidden" status. - Link to v1: https://lore.kernel.org/r/[email protected] --- Sean Nyekjaer (3): simutil: Add forbidden operator list fileid sim: Create new dbus method to clear the forbidden network operator list doc: sim-api document ClearForbiddenNetworkOperators doc/sim-api.txt | 8 ++++++ src/sim.c | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/simutil.c | 1 + src/simutil.h | 1 + 4 files changed, 89 insertions(+) --- base-commit: 8d892785e47bde9a0912a05725405bb60c140f87 change-id: 20250626-fplmn-bcb3eaa8baa4 Best regards, -- Sean Nyekjaer <[email protected]>