maemo-leste / bugtracker

Issue tracking repository
63 stars 3 forks source link

Operator name seems to be cached #387

Closed sicelo closed 1 year ago

sicelo commented 4 years ago

It looks like Leste caches the operator name, and thus does not show new operator name if SIM is replaced without a reboot.

00:50 < sicelo4d> Wizzup: are we caching operator name somewhere? i changed SIMs, but the old operator name is showing
00:53 < sicelo4d> ah, my guess is we are reading it only the first time modem onlines. this may be fine for n900, since we cannot (easily) change sim without rebooting. 
                  this is possible on d4
00:54 < sicelo4d> to reproduce: online the modem with operator A's sim. power off the modem using ofono/mdbus2. change sim to operator B's sim. online modem again
00:56 < tmlind> check what the modem sees with ngsm 10 AT+MSIM?
00:56 < sicelo4d> at this point,  mdbus2 -s org.ofono /motmdm_0 org.ofono.NetworkRegistration.GetProperties shows new operator's name
00:57 < sicelo4d> tmlind: i can check... but ofono sees correct operator name, the new one
00:57 < tmlind> oh ok no need to check then

I did not think to check if restarting ofono make it work, but clearly ofono 'sees' the change.

sicelo commented 1 year ago

seems to no longer be an issue, but not sure when/how it was resolved