aboutsummaryrefslogtreecommitdiff
path: root/src/mm-errors.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-09-30 15:01:15 +0200
committerAleksander Morgado <aleksander@lanedo.com>2011-10-01 15:23:06 +0200
commitdbc64d83ba74990af73283a4650327b21c861d60 (patch)
tree8eaf89a257ed11541f182f60029960906c7701ca /src/mm-errors.c
parente9743f4b4992321c206bb33059c1f594142d3f92 (diff)
api: let SignalQuality say if the given value was recently taken
Modems which only expose a single port will not be able to update the signal quality value while in connected mode. The signal quality value reported in this case, while the modem is connected, will be the last signal quality value read before the connection. The additional boolean value proposed here in the SignalQuality property will just say if the given signal quality was recently taken (if TRUE) or cached some time ago (if FALSE). The time to assume the value was recently taken or not could depend on different things, for example: * If the modem always has an AT port, even if connected, we could directly query the current signal quality and report the value as being fresh. * If the modem has a single port, we could report the value as not being fresh as soon as the modem gets in connected state. * For modems which report the signal quality updates in unsolicited messages, we could report the value as being fresh if the update was received in the last minute or so.
Diffstat (limited to 'src/mm-errors.c')
0 files changed, 0 insertions, 0 deletions