From: NeilBrown Date: Sun, 11 Oct 2015 08:14:37 +0000 (+1100) Subject: gsmd2: add more notes about COPS X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;ds=sidebyside;p=plato.git gsmd2: add more notes about COPS Signed-off-by: NeilBrown --- diff --git a/gsm/gsmd2.py b/gsm/gsmd2.py index 281989b..c5197d4 100644 --- a/gsm/gsmd2.py +++ b/gsm/gsmd2.py @@ -593,9 +593,16 @@ add_engine(flight()) # +CFUN=1 - turns on # +COPS=0 - auto select # +COPS=1,2,50502 - select specific (2 == numeric) +# +COPS=2 - deregister # +COPS=3,1 - report format is long (1 == long) # +COPS=4,2,50502 - select specific with auto-fallback # http://www.shapeshifter.se/2008/04/30/list-of-at-commands/ +# response to +COPS? is e.g. 4,1,"xxxxx",2 +# 4 == auto-fllback +# 1 == long text +# xxx = carrier name +# 2 == access technology - utran? + class register(Engine): def __init__(self): Engine.__init__(self)