Could you also try running this in terminal:
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.NetworkMonitor.GetServingCellInformation
Could you also try running this in terminal:
dbus-send --system --print-reply --dest=org.ofono /ril_0 org.ofono.NetworkMonitor.GetServingCellInformation
Perfect, so that's the "updated" way to get cell id. That should be easily done even blindly, but how to get update notifications for this cell information is still a bit of a mystery to me.
Contains:
- Lots of small refactoring that hopefully doesn't break anything, but as always something could have slipped in
- New SMS send feature
- Initial attempt at fixing network cells condition
Network cell condition should now at least be able to read current network cell correctly, but whether Situations gets notified for cell changes at all or partially or not at all is the big question. Feedback is welcome
I did not have much time to test but it seems that when you start activating this condition, you get 2 cells. But not clear where they come from ? and no additional cell could be recorded apparently.
edit: it does not seem to work as the condition (with the initial two cells) is always on, even when far from the place where I did record cells
Found a small typo causing the "two cells" issue. But otherwise, to be able to get the cell updates working, I suppose I need to finally get my hands on something newer than Jolla 1 that has the new interface enabled. Might take some time though :/
I just updated the 258 packages with a blind implementation for detecting cell changes. @rob_kouw & @P@t: Could you please test if it works any better?
thanks @hhaveri
I installed the latest version and so far I notice:
- I could not erase registered cells and had to throw the whole situation and start again (not a big deal)
- I have not anymore the two-cells bug but I started with one cell while I thought it should be from zero
- with flight mode on, the situation was still on
- the situation seems to react as expected when moving but I will test more during the day
edit: I can add that:
- enabling/disabling mobile data does not seem to work; it could be related to the fact that there is something special about having 2 sim slots.