]> git.neil.brown.name Git - plato.git/log
plato.git
11 years agogsmd2: always call set_on for all engines.
NeilBrown [Tue, 24 Mar 2015 03:51:15 +0000 (14:51 +1100)]
gsmd2: always call set_on for all engines.

Previously, when calling set_on(False), that setting
was not passed down to all (or any) engines.

Signed-off-by: NeilBrown <neil@brown.name>
11 years agogsmd2: add some more logging
NeilBrown [Tue, 24 Mar 2015 03:48:54 +0000 (14:48 +1100)]
gsmd2: add some more logging

You can never have too much logging...

Signed-off-by: NeilBrown <neil@brown.name>
11 years agosendsms: embed keyboard in send screen.
NeilBrown [Tue, 24 Mar 2015 03:46:49 +0000 (14:46 +1100)]
sendsms: embed keyboard in send screen.

That way it doesn't obscure what I am typing.

Signed-off-by: NeilBrown <neil@brown.name>
11 years agogsm-sms: add proper encoding of messages.
NeilBrown [Tue, 24 Mar 2015 03:45:07 +0000 (14:45 +1100)]
gsm-sms: add proper encoding of messages.

SMS doesn't use ASCII - we need to translate...

Signed-off-by: NeilBrown <neil@brown.name>
11 years agogsm-getsms: fix multipath unicode decoding bug.
NeilBrown [Tue, 24 Mar 2015 03:44:18 +0000 (14:44 +1100)]
gsm-getsms: fix multipath unicode decoding bug.

Missed an offset..

Signed-off-by: NeilBrown <neil@brown.name>
11 years agogsmd: only sync with modem on resume if connected.
NeilBrown [Fri, 5 Dec 2014 02:15:02 +0000 (13:15 +1100)]
gsmd: only sync with modem on resume if connected.

Signed-off-by: NeilBrown <neilb@suse.de>
11 years agogsmd: fix suspend blocking for 'sms_recv'.
NeilBrown [Fri, 5 Dec 2014 00:10:43 +0000 (11:10 +1100)]
gsmd: fix suspend blocking for 'sms_recv'.

We shouldn't block suspend while waiting for a SIM card number.

Only block during an extended "get list of sms messsages" sequence.

Signed-off-by: NeilBrown <neil@brown.name>
11 years agogsmd: extent retry timeout to get SIM card id.
NeilBrown [Fri, 5 Dec 2014 00:03:10 +0000 (11:03 +1100)]
gsmd: extent retry timeout to get SIM card id.

If there  is a no sim card, we don't want to check for it
every 10 seconds.
Instead use an exponential retry, but at least every hour.

Signed-off-by: NeilBrown <neil@brown.name>
11 years agogsmd: fix power on/off for modem.
NeilBrown [Fri, 5 Dec 2014 00:02:25 +0000 (11:02 +1100)]
gsmd: fix power on/off for modem.

I had the sequence all wrong.

Signed-off-by: NeilBrown <neil@brown.name>
12 years agoAdd Makefiles for alarm, cal, ical
NeilBrown [Wed, 1 Jan 2014 02:28:02 +0000 (13:28 +1100)]
Add Makefiles for alarm, cal, ical

12 years agoical/cal/alarm - minor fixes
NeilBrown [Wed, 1 Jan 2014 02:26:02 +0000 (13:26 +1100)]
ical/cal/alarm - minor fixes

12 years agolistsel: minor cleanups
NeilBrown [Wed, 1 Jan 2014 00:45:48 +0000 (11:45 +1100)]
listsel: minor cleanups

12 years agocal / alarm: convert to use ical date info.
NeilBrown [Wed, 1 Jan 2014 00:43:17 +0000 (11:43 +1100)]
cal / alarm: convert to use ical date info.

This is an incompatible change.  alarm files need to be rebuilt

Format now allows for RRULE recurrences.
So this should be DST-proof now.

12 years agoical-date - now in C
NeilBrown [Tue, 31 Dec 2013 03:06:51 +0000 (14:06 +1100)]
ical-date - now in C

This is  a C version of ical.py (which is python).
It can take an ical RRULE and make a useful list of dates.
There is stuff missing, like RDATE/EXDATE handling, but I want to move
on and that stuff can be added when needed.

12 years agoical: allow printing part of an infinite list of dates
NeilBrown [Tue, 31 Dec 2013 00:44:03 +0000 (11:44 +1100)]
ical: allow printing part of an infinite list of dates

We limit to 100 for now.

12 years agoical: Remove unused assignment
NeilBrown [Tue, 31 Dec 2013 00:43:43 +0000 (11:43 +1100)]
ical: Remove unused assignment

12 years agoical.py: revise BYWEEKNO behaviour.
NeilBrown [Mon, 30 Dec 2013 22:58:57 +0000 (09:58 +1100)]
ical.py: revise BYWEEKNO behaviour.

BYWEEKNO used to expand to every day in that week.
This doesn't really match the RFC as that say that BYDAY should 'expand'
with BYWEEKNO, but I would need it to 'limit'.

So what should we do?  Choose one day from that week, but which?
 - first day of the week
 - same day of the week as DTSTART
 - same day of the week as the date matching DTSTART in this year?

None are really ideal, and hopefully it would always be used with BYDAY.
As the last is easy I do that.

12 years agoical: ical_date must set_wday even if no time is given.
NeilBrown [Mon, 30 Dec 2013 22:39:04 +0000 (09:39 +1100)]
ical: ical_date must set_wday even if no time is given.

12 years agoical.py: clear up confusion with 'last' and 'next'.
NeilBrown [Mon, 30 Dec 2013 22:14:04 +0000 (09:14 +1100)]
ical.py: clear up confusion with 'last' and 'next'.

The value stored in 'last' was being over-written.
This could lead to the end condition failing sometimes.

'last' is the last value added.  we stop when that exceeds the end point.
'next' is the next value to add.

12 years agoical: avoid returning invalid dates for MONTHLY lists.
NeilBrown [Mon, 30 Dec 2013 03:44:47 +0000 (14:44 +1100)]
ical: avoid returning invalid dates for MONTHLY lists.

If a MONTHLY list starts on the 31st of the month, we mustn't
return e.g. 31st June.

12 years agoical.py: ical RRULE parsing.
NeilBrown [Mon, 30 Dec 2013 02:19:22 +0000 (13:19 +1100)]
ical.py: ical RRULE parsing.

This is still preliminary code, not really usable as a library.

The main purpose is to produce a list of date/times from an ical
recurrence rule.

12 years agoPetrol: minor updates
NeilBrown [Mon, 30 Dec 2013 02:18:43 +0000 (13:18 +1100)]
Petrol: minor updates

remove stray white space
make sure keyboard starts up in numeric mode

12 years agogsmd2: fix bug with incoming
NeilBrown [Tue, 24 Dec 2013 02:46:48 +0000 (13:46 +1100)]
gsmd2: fix bug with incoming

It kept ringing while on a call

12 years agosms: another fix to restore proper view after sending txt
NeilBrown [Fri, 20 Dec 2013 23:14:13 +0000 (10:14 +1100)]
sms: another fix to restore proper view after sending txt

12 years agocontacts: make it easier to discard current search string
NeilBrown [Fri, 20 Dec 2013 23:04:55 +0000 (10:04 +1100)]
contacts: make it easier to discard current search string

ESC or ENTER will do it.

12 years agolock: ignore old alerts at startup.
NeilBrown [Fri, 20 Dec 2013 23:01:48 +0000 (10:01 +1100)]
lock: ignore old alerts at startup.

12 years agoProfile: be sure to strip newline from 'who' in alert file.
NeilBrown [Fri, 20 Dec 2013 23:01:12 +0000 (10:01 +1100)]
Profile: be sure to strip newline from 'who' in alert file.

12 years agolock: allow vib pattern to be set by profile
NeilBrown [Fri, 20 Dec 2013 22:59:14 +0000 (09:59 +1100)]
lock: allow vib pattern to be set by profile

12 years agoprofile: fix multi-cond rule matching.
NeilBrown [Fri, 20 Dec 2013 00:02:38 +0000 (11:02 +1100)]
profile: fix multi-cond rule matching.

12 years agoplato: add 'discrete' setting.
NeilBrown [Thu, 19 Dec 2013 23:47:33 +0000 (10:47 +1100)]
plato: add 'discrete' setting.

This allows the phone to be set to silent for some number of minutes
or hours.

12 years agolock: volume=0 much mean no sound.
NeilBrown [Thu, 19 Dec 2013 23:07:04 +0000 (10:07 +1100)]
lock: volume=0 much mean no sound.

Telling sound server the volume is zero doesn't work.

12 years agoprofile: multiple conditions in a rule.
NeilBrown [Thu, 19 Dec 2013 22:46:33 +0000 (09:46 +1100)]
profile: multiple conditions in a rule.

A rule can have multiple conditions.  All must succeed.

12 years agoprofile: add a rule for temporary over-rides.
NeilBrown [Thu, 19 Dec 2013 22:34:46 +0000 (09:34 +1100)]
profile: add a rule for temporary over-rides.

A rule "<10" will succeed for the 10 minutes following the modify
time of the file containing the rule.

12 years agoprofile: read rules from a directory as well as a file.
NeilBrown [Thu, 19 Dec 2013 05:36:36 +0000 (16:36 +1100)]
profile: read rules from a directory as well as a file.

This makes it easier to handle temp over-rides

12 years agoInitial support for profiles and rules.
NeilBrown [Thu, 19 Dec 2013 04:18:23 +0000 (15:18 +1100)]
Initial support for profiles and rules.

Alert can be controlled by rules which can be
affected by time of day and number calling.

12 years agolock: bugfix relating to recent changes to stopping alerts
NeilBrown [Thu, 19 Dec 2013 04:17:45 +0000 (15:17 +1100)]
lock: bugfix relating to recent changes to stopping alerts

12 years agoComplete transition from /var/run to /run
NeilBrown [Wed, 18 Dec 2013 23:28:29 +0000 (10:28 +1100)]
Complete transition from /var/run to /run

no more "/var/run" left now.

12 years agogsmd2: use +CLCC in place of +CPAS
NeilBrown [Mon, 16 Dec 2013 05:41:55 +0000 (16:41 +1100)]
gsmd2: use +CLCC in place of +CPAS

We poll the status while a call is incoming so we can know
when the called hangs up.
CPAS isn't reliable as it reports any connection including data.
So use +CLCC.

12 years agogsmd2: synthesis missed-call message if incoming isn't answered
NeilBrown [Mon, 16 Dec 2013 05:13:33 +0000 (16:13 +1100)]
gsmd2: synthesis missed-call message if incoming isn't answered

12 years agogsmd2: update to the code I am actually running.
NeilBrown [Mon, 16 Dec 2013 04:10:31 +0000 (15:10 +1100)]
gsmd2: update to the code I am actually running.

12 years agostoresms: purge old entries from newmesg and draft
NeilBrown [Mon, 16 Dec 2013 04:03:17 +0000 (15:03 +1100)]
storesms: purge old entries from newmesg and draft

If there is no message, discard the record.
This means the if newmesg is not empty, then there really
are new messages

12 years agostoresms: add new functions needed by gsmd2
NeilBrown [Mon, 16 Dec 2013 03:53:48 +0000 (14:53 +1100)]
storesms: add new functions needed by gsmd2

sms_update adds newly received messages to store if they
are missing.

12 years agostoresms: get shared lock when reading from message file.
NeilBrown [Mon, 16 Dec 2013 03:52:28 +0000 (14:52 +1100)]
storesms: get shared lock when reading from message file.

This might fix some strange behaviour I've seen..

12 years agosms: discard whitespace at eol in code
NeilBrown [Mon, 16 Dec 2013 03:15:33 +0000 (14:15 +1100)]
sms: discard whitespace at eol in code

12 years agolock: don't stop sounds unless key is pressed.
NeilBrown [Mon, 16 Dec 2013 02:26:42 +0000 (13:26 +1100)]
lock: don't stop sounds unless key is pressed.

i.e. ignore just screen tap.

Not sure this is exactly the right solution yet.

12 years agoplato: allow window list to be refreshed.
NeilBrown [Mon, 16 Dec 2013 02:24:49 +0000 (13:24 +1100)]
plato: allow window list to be refreshed.

1/ this shouldn't be needed
2/ it is not yet enough as when windows disappear we don't notice
   that the command is no longer active.

12 years agosms: extend search to look in contexts of text messages
NeilBrown [Mon, 16 Dec 2013 02:24:17 +0000 (13:24 +1100)]
sms: extend search to look in contexts of text messages

12 years agobattery: avoid possible division by zero
NeilBrown [Mon, 16 Dec 2013 02:19:45 +0000 (13:19 +1100)]
battery: avoid possible division by zero

12 years agosound: assorted fixes.
NeilBrown [Fri, 13 Dec 2013 10:27:46 +0000 (21:27 +1100)]
sound: assorted fixes.

Trying to make it play the full sound, or stop promptly when requested.

12 years agoNew gsmd2
NeilBrown [Fri, 13 Dec 2013 09:30:58 +0000 (20:30 +1100)]
New gsmd2

The state machine model is not quite different.
We have a number of state machines which all run in parallel
handling different aspects of the modem state.

12 years agoAssorted gsmd fixes
NeilBrown [Fri, 13 Dec 2013 09:29:53 +0000 (20:29 +1100)]
Assorted gsmd fixes

particularly support for selecting 2G or 3G or some combination.

12 years agoatchan: retry if open fails.
NeilBrown [Fri, 13 Dec 2013 09:28:53 +0000 (20:28 +1100)]
atchan: retry if open fails.

This is useful for USB attached TTY which resets occasionally
for some reason.

12 years agonew command suspend-power-monitor
NeilBrown [Fri, 13 Dec 2013 09:26:03 +0000 (20:26 +1100)]
new command suspend-power-monitor

This logs the average current usage while suspended

12 years agoNew command : realarm
NeilBrown [Fri, 13 Dec 2013 09:24:15 +0000 (20:24 +1100)]
New command : realarm

This can be used to communicate with susman to wake from suspend every
so often.

12 years agoplato: add gsm-mode, offmode, and rotate controls:
NeilBrown [Fri, 13 Dec 2013 08:12:28 +0000 (19:12 +1100)]
plato: add gsm-mode, offmode, and rotate controls:

gsm-mode choose 2G 3G or some combination.
offmode enables or disables off-mode, assuming kernel support
rotate will xrandr rotate screen, assuming kernel support

12 years agoplato/cmd: if we have a window but no job, still allow raise/close
NeilBrown [Fri, 13 Dec 2013 08:09:14 +0000 (19:09 +1100)]
plato/cmd: if we have a window but no job, still allow raise/close

12 years agonetman: scan repeatedly while configuring wifi
NeilBrown [Fri, 13 Dec 2013 08:00:32 +0000 (19:00 +1100)]
netman: scan repeatedly while configuring wifi

instead of just once at the start.

12 years agoDnotify: possible fix for multiple signals.
NeilBrown [Fri, 13 Dec 2013 07:58:17 +0000 (18:58 +1100)]
Dnotify: possible fix for multiple signals.

I seem to lose signals sometimes.
This catches signals while handling signals and serialised them.

12 years agotapboard: make '|' more easily accessible.
NeilBrown [Fri, 13 Dec 2013 07:43:33 +0000 (18:43 +1100)]
tapboard: make '|' more easily accessible.

12 years agodialer.py - minor cosmetic things
NeilBrown [Fri, 13 Dec 2013 07:42:31 +0000 (18:42 +1100)]
dialer.py - minor cosmetic things

remove some white space
'changed' should expect an arg, because it gets one

12 years agolock: remove some white space and dead comments
NeilBrown [Fri, 13 Dec 2013 07:40:42 +0000 (18:40 +1100)]
lock: remove some white space and dead comments

12 years agoBattery: improve time-to-empty and average-period display.
NeilBrown [Fri, 13 Dec 2013 07:36:29 +0000 (18:36 +1100)]
Battery: improve time-to-empty and average-period display.

"average period" is now minutes+seconds (not just seconds)
"tiem to empty" is based on long-term average current and is minutes+seconds.

12 years agoRemove some more white space
NeilBrown [Fri, 13 Dec 2013 06:11:21 +0000 (17:11 +1100)]
Remove some more white space

12 years agosms: fix recent change to show list after a send.
NeilBrown [Fri, 13 Dec 2013 06:03:46 +0000 (17:03 +1100)]
sms: fix recent change to show list after a send.

12 years agoMake sms search function work.
NeilBrown [Thu, 12 Dec 2013 22:15:13 +0000 (09:15 +1100)]
Make sms search function work.

12 years agosms: remove some white space
NeilBrown [Thu, 12 Dec 2013 21:55:53 +0000 (08:55 +1100)]
sms: remove some white space

12 years agoEnable finger scrolling for SMS viewing
NeilBrown [Thu, 12 Dec 2013 21:51:40 +0000 (08:51 +1100)]
Enable finger scrolling for SMS viewing

Also go to list view after sending a message so that
the status is visible

13 years agogsm: differentiate between different styles of reset.
NeilBrown [Sun, 17 Feb 2013 03:51:12 +0000 (14:51 +1100)]
gsm: differentiate between different styles of reset.

A CFUN error only requires a soft reset.  And EOF requires a harder
reset.
In each case, reopen devices just in case.

Also make sure status information is cleared until we are up and
running again.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agogsmd: record status and be more lenient of CFUN errors.
NeilBrown [Sun, 17 Feb 2013 03:28:52 +0000 (14:28 +1100)]
gsmd: record status and  be more lenient of CFUN errors.

Only treat CFUN states as bad if signal level is zero.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agogta04-modem-messages: don't abort on bad CRC
NeilBrown [Fri, 25 Jan 2013 04:46:44 +0000 (15:46 +1100)]
gta04-modem-messages: don't abort on bad CRC

I get lots and lots of these, so aborting on each one is not helpful.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agofingerscroll2 - different approach to finger scrolling.
NeilBrown [Fri, 25 Jan 2013 02:25:01 +0000 (13:25 +1100)]
fingerscroll2 - different approach to finger scrolling.

Hopefully temp hack for term.py

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agoterm: close app when child shell dies.
NeilBrown [Fri, 25 Jan 2013 02:24:33 +0000 (13:24 +1100)]
term: close app when child shell dies.

13 years agoterm: simple terminal with keyboard
NeilBrown [Fri, 25 Jan 2013 02:15:53 +0000 (13:15 +1100)]
term: simple terminal with keyboard

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agotapboard: add support for control chars and arrows etc
NeilBrown [Fri, 25 Jan 2013 01:43:51 +0000 (12:43 +1100)]
tapboard: add support for control chars and arrows etc

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agoupdate susman
NeilBrown [Fri, 25 Jan 2013 00:54:46 +0000 (11:54 +1100)]
update susman

13 years agoAdd gta04-modem-messages from Neil Jerram <neil@ossau.homelinux.net>
NeilBrown [Fri, 25 Jan 2013 00:14:10 +0000 (11:14 +1100)]
Add gta04-modem-messages from Neil Jerram <neil@ossau.homelinux.net>

13 years agogsmd: improve CFUN handling, and split 'init' state.
NeilBrown [Thu, 24 Jan 2013 23:39:52 +0000 (10:39 +1100)]
gsmd: improve CFUN handling, and split 'init' state.

Sometimes it can take a little while for CFUN to be effective.
So if it tells us the state is stil '0', we don't want to immediately
try the rest of the init process.

So split the init state into two - one which sets CFUN, and one
which is entered once CFUN says it is OK.

Also, if CFUN says it isn't OK in some way, trigger a reset, but
not too often.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agogsmd: handle suspend after setting the the timeout.
NeilBrown [Thu, 24 Jan 2013 23:38:03 +0000 (10:38 +1100)]
gsmd: handle suspend after setting the the timeout.

As soon as we acknowledge suspend, we might process an immediate resume.
That will try to abort any timeout.

So it is best to do it *after* we set our timeout, else we get stuck
in that timeout and never abort it.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agogsmd: don't check for SMS just-in-case during a call.
NeilBrown [Thu, 24 Jan 2013 23:36:38 +0000 (10:36 +1100)]
gsmd: don't check for SMS just-in-case during a call.

It seems that it can be confusing.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agogsmd: don't call _OPSYS so often.
NeilBrown [Thu, 24 Jan 2013 23:35:35 +0000 (10:35 +1100)]
gsmd: don't call _OPSYS so often.

It seems to cause more problems than it fixes.
Just call at init time.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agogsmd: allow multiple fields from a reponse to be logged.
NeilBrown [Thu, 24 Jan 2013 23:28:58 +0000 (10:28 +1100)]
gsmd: allow multiple fields from a reponse to be logged.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agoAllow non-default retry count.
NeilBrown [Thu, 24 Jan 2013 23:26:24 +0000 (10:26 +1100)]
Allow non-default retry count.

Somethings should never be retried if they fail - so allow
that to be specified.

Also switch from RESET to POWERDOWN to see if it helps.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agonetman: support configuring wifi networks.
NeilBrown [Thu, 24 Jan 2013 23:22:29 +0000 (10:22 +1100)]
netman: support configuring wifi networks.

We can now add or forget wifi networks, and set the password.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agotapboard - make TAB and ESC more assessible.
NeilBrown [Thu, 24 Jan 2013 23:19:47 +0000 (10:19 +1100)]
tapboard - make TAB and ESC more assessible.

They are just drags on 'space' and 'return'.

Still more work to do here.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agonetman: flag networks that have security enabled.
NeilBrown [Fri, 18 Jan 2013 04:29:39 +0000 (15:29 +1100)]
netman: flag networks that have security enabled.

' ' for 'no'
'!' for ad-hoc network
'*' for 'yes'
'?' for 'some security we probably cannot handle

13 years agocmd: improve detection of command-finished.
NeilBrown [Mon, 14 Jan 2013 20:23:30 +0000 (07:23 +1100)]
cmd: improve detection of command-finished.

We sometimes get an error on read, and spin on it forever.

13 years agoplato_gsm: fix bug with message passing.
NeilBrown [Mon, 14 Jan 2013 20:22:22 +0000 (07:22 +1100)]
plato_gsm: fix bug with message passing.

This call is only need in the recipient of a message (so it can
receive another), not the sender.

13 years agonetman: display current usage for GSM connnection.
NeilBrown [Mon, 14 Jan 2013 20:21:30 +0000 (07:21 +1100)]
netman: display current usage for GSM connnection.

This is fairly hacky but does display the data...

13 years agosendsms: provide access to contacts
NeilBrown [Mon, 14 Jan 2013 20:19:37 +0000 (07:19 +1100)]
sendsms: provide access to contacts

When viewing a message, we can now 'call' the correspondent
or go to the contacts app with a search for the correspondent.

13 years agosound: play any pending sounds on restart.
NeilBrown [Mon, 14 Jan 2013 20:18:24 +0000 (07:18 +1100)]
sound: play any pending sounds on restart.

abort a little  more quickly if something goes wrong,
and check for sounds on restart.

13 years agocontacts: improve selection handling.
NeilBrown [Mon, 14 Jan 2013 20:16:06 +0000 (07:16 +1100)]
contacts: improve selection handling.

Allow a selection of '-' to mean 'just raise without
selecting anything.
Also improve selection code a bit

13 years agodialler: allow easy access to contacts.
NeilBrown [Mon, 14 Jan 2013 20:15:06 +0000 (07:15 +1100)]
dialler: allow easy access to contacts.

If you tap the place where  the name of the contact can
be displayed, it takes you to the  'contacts' app.

13 years agobattery: be firmer about shutdown
NeilBrown [Mon, 14 Jan 2013 20:13:29 +0000 (07:13 +1100)]
battery: be firmer about shutdown

'halt' doesn't seem to work, so use 'poweroff -f'

13 years agogsm-getsms: use recorded SIM card id
NeilBrown [Mon, 14 Jan 2013 20:11:40 +0000 (07:11 +1100)]
gsm-getsms: use recorded SIM card id

rather than getting it again

13 years agodialer: allow previously dialed numbers to be easily accessed.
NeilBrown [Mon, 14 Jan 2013 07:41:04 +0000 (18:41 +1100)]
dialer: allow previously dialed numbers to be easily accessed.

Just press 'backspace' when no number present and it goes to previous number.

Signed-off-by: NeilBrown <neilb@suse.de>
13 years agogsmd: log data usage
NeilBrown [Mon, 31 Dec 2012 20:53:26 +0000 (07:53 +1100)]
gsmd: log data usage

13 years agogsmd/netman : various fixes to recent enhancements.
NeilBrown [Mon, 31 Dec 2012 20:10:52 +0000 (07:10 +1100)]
gsmd/netman : various fixes to recent enhancements.

13 years agonetman: use new gsmd interface for WWAN data.
NeilBrown [Mon, 31 Dec 2012 09:59:01 +0000 (20:59 +1100)]
netman: use new gsmd interface for WWAN data.

i.e. write APN to data-APN, and watch 'data' for updates.

For now, APN is hard-coded.

13 years agoGSMD - add management of data connection.
NeilBrown [Mon, 31 Dec 2012 09:41:16 +0000 (20:41 +1100)]
GSMD - add management of data connection.

If /run/gsm-state/data-APN contains an APN, then gsmd
tries to establish and maintain a data connection.
The 'hso' interface is ifconfiged and the IP is written to
/run/gsm-state/data.
DNS servers are written to /run/gsm-state/dns

13 years agogsmd: record 'sim' and 'sid'.
NeilBrown [Mon, 31 Dec 2012 08:10:19 +0000 (19:10 +1100)]
gsmd: record 'sim' and 'sid'.

SIM number and service provider ID are records as
'sim' and 'sid'.

If 'sid' is a prefix of 'sim', then we aren't roaming.

Different SMS histories and APN values can be keyed off
different 'sim' values, for people who swap sims.