[SailfishDevel] Looking for IOCTL commands to check phone credit

Slava Monich slava.monich at jolla.com
Thu Jan 25 13:05:13 UTC 2018


Hi Laurent,

It's connman who maintains the data counters - and those are shown on 
Settings -> Data counters page. They are fairly accurate, although not 
100%. Besides, some operators may exclude some traffic from their data 
usage calculation, the device can't possibly know anything about that. 
But still, connman data counters are pretty close to the reality in most 
situations.

We are also planning to introduce extended Sailfish OS specific D-Bus 
interfaces to connman which would provide additional data counter 
functionality such as auto-reset, cut-off, data usage history etc. But I 
don't have any ETA for that, at this point it's beyond the planning 
horizon. It's not going to happen within the next few months though, 
that's for sure.

Cheers,
-Slava

> Dear Juice,
>
>> I am not sure what do you refer to by "remaining phone credit" ?
>> Do you mean something the amount of pre-paid calltime left for example?
>
> Yes indeed, though I would rather be looking for the remaining data quota.
>
>> That is a network feature and you cannot get the data from the device,
>> you need to set up a signalling connection to HLR to retrieve the data.
>
> No way to trigger that request through an Ofono-like primitive?
>
> Best regards,
> LS
> -- 
>
> Laurent SCHUMACHER
> Professeur
> Faculté d'Informatique
>
> T. +32 (0)81 724 980
> F. +32 (0)81 724 967
> laurent.schumacher at ieee.org <mailto:laurent.schumacher at ieee.org>
> http://www.unamur.be/universite/personnes/page_view/01005249/
> http://be.linkedin.com/pub/laurent-schumacher/0/32b/7b7
>
> Université de Namur ASBL
> Rue de Bruxelles 61 - 5000 Namur
>
> Let’s respect the environment together.
> Only print this message if necessary!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20180125/461fae6c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdgpdhgldlglnljn.png
Type: image/png
Size: 9356 bytes
Desc: not available
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20180125/461fae6c/attachment-0001.png>


More information about the Devel mailing list