UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 256 of 329
#SI
#SI
#SI
#SI ---- Socket Info
Socket Info
Socket Info
Socket Info
We have information only about socket number 1
3.5.7.2.3.
Context Activation
Context Activation
Context Activation
Context Activation ---- #SGACT
#SGACT
#SGACT
#SGACT
#SGACT
#SGACT
#SGACT
#SGACT ---- Context Activation
Context Activation
Context Activation
Context Activation
AT#SGACT=<cid>,
AT#SGACT=<cid>,
AT#SGACT=<cid>,
AT#SGACT=<cid>,
<stat>[,<userId>,
<stat>[,<userId>,
<stat>[,<userId>,
<stat>[,<userId>,
<pwd>]
<pwd>]
<pwd>]
<pwd>]
Execution command is used to activate or deactivate the specified PDP
context.
Parameters:
<cid>
<cid>
<cid>
<cid> - PDP context identifier
1..5 - numeric parameter which specifies a particular PDP context
definition
<stat>
<stat>
<stat>
<stat>
0 - deactivate the context
1 - activate the context
<userId>
<userId>
<userId>
<userId> - string type, used only if the context requires it
<pwd>
<pwd>
<pwd>
<pwd> - string type, used only if the context requires it
Note: context activation/deactivation returns ERROR if there is not any
socket associated to it (see AT#SCFG).
AT#SGACT?
AT#SGACT?
AT#SGACT?
AT#SGACT?
Returns the state of all the five contexts, in the format:
#SGACT: <cid1>,<Stat1><CR><LF>
#SGACT: <cid1>,<Stat1><CR><LF>
#SGACT: <cid1>,<Stat1><CR><LF>
#SGACT: <cid1>,<Stat1><CR><LF>
…
…
…
…
#SGACT: <cid5>,<Stat5>
#SGACT: <cid5>,<Stat5>
#SGACT: <cid5>,<Stat5>
#SGACT: <cid5>,<Stat5>
where:
<cid
<cid
<cid
<cid
n
nn
n
>
>>
> - as <cid>
<cid>
<cid>
<cid> before
<stat
<stat
<stat
<stat
n
nn
n
>
>>
> - context status
0 - context deactivated
1 - context activated
AT#SGACT=?
AT#SGACT=?
AT#SGACT=?
AT#SGACT=?
Reports the range for the parameters <cid>
<cid>
<cid>
<cid> and <stat>
<stat>
<stat>
<stat>
Note
Note
Note
Note
It is strongly recommended to use the same command (e.g. #SGACT) to
activate the context, deactive it and interrogate about its status.
3.5.7.2.4.
Socket Shutdown
Socket Shutdown
Socket Shutdown
Socket Shutdown ---- #SH
#SH
#SH
#SH
#SH
#SH
#SH
#SH ---- Socket Shutdown
Socket Shutdown
Socket Shutdown
Socket Shutdown
AT#SH=<connId>
AT#SH=<connId>
AT#SH=<connId>
AT#SH=<connId>
This command is used to close a socket.