]> git.neil.brown.name Git - plato.git/commit
gsmd: improve CFUN handling, and split 'init' state.
authorNeilBrown <neilb@suse.de>
Thu, 24 Jan 2013 23:39:52 +0000 (10:39 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 24 Jan 2013 23:39:52 +0000 (10:39 +1100)
commit8ec754ba530c4455089a7c23ad3a5eb326a196a9
tree56d0ad281b37e811d59252056ec892096a2fc612
parent218f528af3802613d37bc2d4532ef9e92c8a727f
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>
gsm/gsmd.py
gsm/notes